| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- using ProtoBuf;
- using ETModel;
- using System.Collections.Generic;
- using MongoDB.Bson.Serialization.Attributes;
- namespace ETHotfix
- {
- [Message(HotfixOpcode.C2R_Login)]
- [ProtoContract]
- public partial class C2R_Login: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string Account;
- [ProtoMember(2, IsRequired = true)]
- public string Password;
- }
- [Message(HotfixOpcode.R2C_Login)]
- [ProtoContract]
- public partial class R2C_Login: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string Address;
- [ProtoMember(2, IsRequired = true)]
- public long Key;
- }
- [Message(HotfixOpcode.C2G_LoginGate)]
- [ProtoContract]
- public partial class C2G_LoginGate: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long Key;
- }
- [Message(HotfixOpcode.G2C_LoginGate)]
- [ProtoContract]
- public partial class G2C_LoginGate: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public long PlayerId;
- }
- [Message(HotfixOpcode.G2C_TestHotfixMessage)]
- [ProtoContract]
- public partial class G2C_TestHotfixMessage: IMessage
- {
- [ProtoMember(1, IsRequired = true)]
- public string Info;
- }
- [Message(HotfixOpcode.C2M_TestActorRequest)]
- [ProtoContract]
- public partial class C2M_TestActorRequest: MessageObject, IActorRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string Info;
- }
- [Message(HotfixOpcode.M2C_TestActorResponse)]
- [ProtoContract]
- public partial class M2C_TestActorResponse: MessageObject, IActorResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, IsRequired = true)]
- public string Info;
- }
- [Message(HotfixOpcode.PlayerInfo)]
- [ProtoContract]
- public partial class PlayerInfo: IMessage
- {
- }
- [Message(HotfixOpcode.C2G_PlayerInfo)]
- [ProtoContract]
- public partial class C2G_PlayerInfo: IRequest
- {
- [ProtoMember(90, IsRequired = true)]
- public int RpcId { get; set; }
- }
- [Message(HotfixOpcode.G2C_PlayerInfo)]
- [ProtoContract]
- public partial class G2C_PlayerInfo: IResponse
- {
- [ProtoMember(90, IsRequired = true)]
- public int Error { get; set; }
- [ProtoMember(91, IsRequired = true)]
- public string Message { get; set; }
- [ProtoMember(92, IsRequired = true)]
- public int RpcId { get; set; }
- [ProtoMember(1, TypeName = "ETHotfix.PlayerInfo")]
- public List<PlayerInfo> PlayerInfos = new List<PlayerInfo>();
- }
- }
- namespace ETHotfix
- {
- [ProtoInclude(HotfixOpcode.C2M_TestActorRequest, typeof(C2M_TestActorRequest))]
- [ProtoInclude(HotfixOpcode.M2C_TestActorResponse, typeof(M2C_TestActorResponse))]
- public partial class MessageObject {}
- }
|