65 lines
1.2 KiB
C#
65 lines
1.2 KiB
C#
using ET;
|
|
using ProtoBuf;
|
|
using System.Collections.Generic;
|
|
namespace ET
|
|
{
|
|
[Message(InnerOpcode.M2U_WriteComponent)]
|
|
[ProtoContract]
|
|
public partial class M2U_WriteComponent:IActorMessage
|
|
{
|
|
[ProtoMember(90)]
|
|
public int RpcId { get; set; }
|
|
|
|
[ProtoMember(93)]
|
|
public long ActorId { get; set; }
|
|
|
|
[ProtoMember(1)]
|
|
public long Id { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public string type { get; set; }
|
|
|
|
[ProtoMember(3)]
|
|
public Entity component { get; set; }
|
|
|
|
}
|
|
|
|
[ResponseType(typeof(U2M_GetComponent))]
|
|
[Message(InnerOpcode.M2U_GetComponent)]
|
|
[ProtoContract]
|
|
public partial class M2U_GetComponent:IActorRequest
|
|
{
|
|
[ProtoMember(90)]
|
|
public int RpcId { get; set; }
|
|
|
|
[ProtoMember(93)]
|
|
public long ActorId { get; set; }
|
|
|
|
[ProtoMember(1)]
|
|
public long UserId { get; set; }
|
|
|
|
[ProtoMember(2)]
|
|
public string type { get; set; }
|
|
|
|
}
|
|
|
|
[Message(InnerOpcode.U2M_GetComponent)]
|
|
[ProtoContract]
|
|
public partial class U2M_GetComponent:IActorResponse
|
|
{
|
|
[ProtoMember(90)]
|
|
public int RpcId { get; set; }
|
|
|
|
[ProtoMember(91)]
|
|
public int Error { get; set; }
|
|
|
|
[ProtoMember(92)]
|
|
public string Message { get; set; }
|
|
|
|
[ProtoMember(1)]
|
|
public Entity component { get; set; }
|
|
|
|
}
|
|
|
|
}
|