using ETModel; using System.Collections.Generic; namespace ETModel { /// /// 传送unit /// [Message(InnerOpcode.M2M_TrasferUnitRequest)] public partial class M2M_TrasferUnitRequest: IRequest { public int RpcId { get; set; } public Unit Unit { get; set; } } [Message(InnerOpcode.M2M_TrasferUnitResponse)] public partial class M2M_TrasferUnitResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public long InstanceId { get; set; } } [Message(InnerOpcode.M2A_Reload)] public partial class M2A_Reload: IRequest { public int RpcId { get; set; } } [Message(InnerOpcode.A2M_Reload)] public partial class A2M_Reload: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.G2G_LockRequest)] public partial class G2G_LockRequest: IRequest { public int RpcId { get; set; } public long Id { get; set; } public string Address { get; set; } } [Message(InnerOpcode.G2G_LockResponse)] public partial class G2G_LockResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.G2G_LockReleaseRequest)] public partial class G2G_LockReleaseRequest: IRequest { public int RpcId { get; set; } public long Id { get; set; } public string Address { get; set; } } [Message(InnerOpcode.G2G_LockReleaseResponse)] public partial class G2G_LockReleaseResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.DBSaveRequest)] public partial class DBSaveRequest: IRequest { public int RpcId { get; set; } public bool NeedCache { get; set; } public string CollectionName { get; set; } public ComponentWithId Component { get; set; } } [Message(InnerOpcode.DBSaveBatchResponse)] public partial class DBSaveBatchResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.DBSaveBatchRequest)] public partial class DBSaveBatchRequest: IRequest { public int RpcId { get; set; } public bool NeedCache { get; set; } public string CollectionName { get; set; } public List Components = new List(); } [Message(InnerOpcode.DBSaveResponse)] public partial class DBSaveResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.DBQueryRequest)] public partial class DBQueryRequest: IRequest { public int RpcId { get; set; } public long Id { get; set; } public string CollectionName { get; set; } public bool NeedCache { get; set; } } [Message(InnerOpcode.DBQueryResponse)] public partial class DBQueryResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public ComponentWithId Component { get; set; } } [Message(InnerOpcode.DBQueryBatchRequest)] public partial class DBQueryBatchRequest: IRequest { public int RpcId { get; set; } public string CollectionName { get; set; } public List IdList = new List(); public bool NeedCache { get; set; } } [Message(InnerOpcode.DBQueryBatchResponse)] public partial class DBQueryBatchResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public List Components = new List(); } [Message(InnerOpcode.DBQueryJsonRequest)] public partial class DBQueryJsonRequest: IRequest { public int RpcId { get; set; } public string CollectionName { get; set; } public string Json { get; set; } } [Message(InnerOpcode.DBQueryJsonResponse)] public partial class DBQueryJsonResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public List Components = new List(); } [Message(InnerOpcode.ObjectAddRequest)] public partial class ObjectAddRequest: IRequest { public int RpcId { get; set; } public long Key { get; set; } public long InstanceId { get; set; } } [Message(InnerOpcode.ObjectAddResponse)] public partial class ObjectAddResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.ObjectRemoveRequest)] public partial class ObjectRemoveRequest: IRequest { public int RpcId { get; set; } public long Key { get; set; } } [Message(InnerOpcode.ObjectRemoveResponse)] public partial class ObjectRemoveResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.ObjectLockRequest)] public partial class ObjectLockRequest: IRequest { public int RpcId { get; set; } public long Key { get; set; } public long InstanceId { get; set; } public int Time { get; set; } } [Message(InnerOpcode.ObjectLockResponse)] public partial class ObjectLockResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.ObjectUnLockRequest)] public partial class ObjectUnLockRequest: IRequest { public int RpcId { get; set; } public long Key { get; set; } public long OldInstanceId { get; set; } public long InstanceId { get; set; } } [Message(InnerOpcode.ObjectUnLockResponse)] public partial class ObjectUnLockResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } } [Message(InnerOpcode.ObjectGetRequest)] public partial class ObjectGetRequest: IRequest { public int RpcId { get; set; } public long Key { get; set; } } [Message(InnerOpcode.ObjectGetResponse)] public partial class ObjectGetResponse: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public long InstanceId { get; set; } } [Message(InnerOpcode.R2G_GetLoginKey)] public partial class R2G_GetLoginKey: IRequest { public int RpcId { get; set; } public string Account { get; set; } } [Message(InnerOpcode.G2R_GetLoginKey)] public partial class G2R_GetLoginKey: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public long Key { get; set; } } [Message(InnerOpcode.G2M_CreateUnit)] public partial class G2M_CreateUnit: IRequest { public int RpcId { get; set; } public long PlayerId { get; set; } public long GateSessionId { get; set; } } [Message(InnerOpcode.M2G_CreateUnit)] public partial class M2G_CreateUnit: IResponse { public int RpcId { get; set; } public int Error { get; set; } public string Message { get; set; } public long UnitId { get; set; } public int Count { get; set; } } [Message(InnerOpcode.G2M_SessionDisconnect)] public partial class G2M_SessionDisconnect: IActorLocationMessage { public int RpcId { get; set; } public long ActorId { get; set; } } }