| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511 |
- using ProtoBuf;
- using ETModel;
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- namespace ETModel
- {
- /// <summary>
- /// 传送unit
- /// </summary>
- [Message(InnerOpcode.M2M_TrasferUnitRequest)]
- [ProtoContract]
- public partial class M2M_TrasferUnitRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public Unit Unit;
- }
- [Message(InnerOpcode.M2M_TrasferUnitResponse)]
- [ProtoContract]
- public partial class M2M_TrasferUnitResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.M2A_Reload)]
- [ProtoContract]
- public partial class M2A_Reload: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- }
- [Message(InnerOpcode.A2M_Reload)]
- [ProtoContract]
- public partial class A2M_Reload: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.G2G_LockRequest)]
- [ProtoContract]
- public partial class G2G_LockRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Id;
- [ProtoMember(2, IsRequired = true)]
- public string Address;
- }
- [Message(InnerOpcode.G2G_LockResponse)]
- [ProtoContract]
- public partial class G2G_LockResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.G2G_LockReleaseRequest)]
- [ProtoContract]
- public partial class G2G_LockReleaseRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Id;
- [ProtoMember(2, IsRequired = true)]
- public string Address;
- }
- [Message(InnerOpcode.G2G_LockReleaseResponse)]
- [ProtoContract]
- public partial class G2G_LockReleaseResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.DBSaveRequest)]
- [ProtoContract]
- public partial class DBSaveRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public bool NeedCache;
- [ProtoMember(2, IsRequired = true)]
- public string CollectionName;
- [ProtoMember(3, IsRequired = true)]
- public ComponentWithId Component;
- }
- [Message(InnerOpcode.DBSaveBatchResponse)]
- [ProtoContract]
- public partial class DBSaveBatchResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.DBSaveBatchRequest)]
- [ProtoContract]
- public partial class DBSaveBatchRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public bool NeedCache;
- [ProtoMember(2, IsRequired = true)]
- public string CollectionName;
- [ProtoMember(3)]
- public List<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [Message(InnerOpcode.DBSaveResponse)]
- [ProtoContract]
- public partial class DBSaveResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.DBQueryRequest)]
- [ProtoContract]
- public partial class DBQueryRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Id;
- [ProtoMember(2, IsRequired = true)]
- public string CollectionName;
- [ProtoMember(3, IsRequired = true)]
- public bool NeedCache;
- }
- [Message(InnerOpcode.DBQueryResponse)]
- [ProtoContract]
- public partial class DBQueryResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public ComponentWithId Component;
- }
- [Message(InnerOpcode.DBQueryBatchRequest)]
- [ProtoContract]
- public partial class DBQueryBatchRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string CollectionName;
- [ProtoMember(2)]
- public List<long> IdList = new List<long>();
- [ProtoMember(3, IsRequired = true)]
- public bool NeedCache;
- }
- [Message(InnerOpcode.DBQueryBatchResponse)]
- [ProtoContract]
- public partial class DBQueryBatchResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1)]
- public List<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [Message(InnerOpcode.DBQueryJsonRequest)]
- [ProtoContract]
- public partial class DBQueryJsonRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string CollectionName;
- [ProtoMember(2, IsRequired = true)]
- public string Json;
- }
- [Message(InnerOpcode.DBQueryJsonResponse)]
- [ProtoContract]
- public partial class DBQueryJsonResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1)]
- public List<ComponentWithId> Components = new List<ComponentWithId>();
- }
- [Message(InnerOpcode.ObjectAddRequest)]
- [ProtoContract]
- public partial class ObjectAddRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- [ProtoMember(2, IsRequired = true)]
- public int AppId;
- }
- [Message(InnerOpcode.ObjectAddResponse)]
- [ProtoContract]
- public partial class ObjectAddResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.ObjectRemoveRequest)]
- [ProtoContract]
- public partial class ObjectRemoveRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- }
- [Message(InnerOpcode.ObjectRemoveResponse)]
- [ProtoContract]
- public partial class ObjectRemoveResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.ObjectLockRequest)]
- [ProtoContract]
- public partial class ObjectLockRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- [ProtoMember(2, IsRequired = true)]
- public int LockAppId;
- [ProtoMember(3, IsRequired = true)]
- public int Time;
- }
- [Message(InnerOpcode.ObjectLockResponse)]
- [ProtoContract]
- public partial class ObjectLockResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.ObjectUnLockRequest)]
- [ProtoContract]
- public partial class ObjectUnLockRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- [ProtoMember(2, IsRequired = true)]
- public int UnLockAppId;
- [ProtoMember(3, IsRequired = true)]
- public int AppId;
- }
- [Message(InnerOpcode.ObjectUnLockResponse)]
- [ProtoContract]
- public partial class ObjectUnLockResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- }
- [Message(InnerOpcode.ObjectGetRequest)]
- [ProtoContract]
- public partial class ObjectGetRequest: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- }
- [Message(InnerOpcode.ObjectGetResponse)]
- [ProtoContract]
- public partial class ObjectGetResponse: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public int AppId;
- }
- [Message(InnerOpcode.R2G_GetLoginKey)]
- [ProtoContract]
- public partial class R2G_GetLoginKey: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string Account;
- }
- [Message(InnerOpcode.G2R_GetLoginKey)]
- [ProtoContract]
- public partial class G2R_GetLoginKey: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- }
- [Message(InnerOpcode.G2M_CreateUnit)]
- [ProtoContract]
- public partial class G2M_CreateUnit: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long PlayerId;
- [ProtoMember(2, IsRequired = true)]
- public long GateSessionId;
- }
- [Message(InnerOpcode.M2G_CreateUnit)]
- [ProtoContract]
- public partial class M2G_CreateUnit: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long UnitId;
- [ProtoMember(2, IsRequired = true)]
- public int Count;
- }
- }
|