| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- using ETModel;
- using System.Collections.Generic;
- namespace ETModel
- {
- /// <summary>
- /// 传送unit
- /// </summary>
- [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<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [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<long> IdList = new List<long>();
- 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<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [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<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [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; }
- // 自己的unit id
- // 自己的unit id
- public long UnitId { get; set; }
- // 所有的unit
- // 所有的unit
- public List<UnitInfo> Units = new List<UnitInfo>();
- }
- [Message(InnerOpcode.G2M_SessionDisconnect)]
- public partial class G2M_SessionDisconnect: IActorLocationMessage
- {
- public int RpcId { get; set; }
- public long ActorId { get; set; }
- }
- }
|