| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // 服务器与客户端之间的消息 Opcode从1-9999
- namespace Model
- {
- [Message(Opcode.C2R_Login)]
- public class C2R_Login: ARequest
- {
- public string Account;
-
- public string Password;
- }
- [Message(Opcode.R2C_Login)]
- public class R2C_Login: AResponse
- {
- public string Address { get; set; }
-
- public long Key { get; set; }
- }
- [Message(Opcode.C2G_LoginGate)]
- public class C2G_LoginGate: ARequest
- {
- public long Key;
- public C2G_LoginGate(long key)
- {
- this.Key = key;
- }
- }
- [Message(Opcode.G2C_LoginGate)]
- public class G2C_LoginGate: AResponse
- {
- }
- [Message(Opcode.C2M_Reload)]
- public class C2M_Reload: ARequest
- {
- public AppType AppType;
- }
- [Message(11)]
- public class M2C_Reload: AResponse
- {
- }
- [Message(14)]
- public class C2R_Ping: ARequest
- {
- }
- [Message(15)]
- public class R2C_Ping: AResponse
- {
- }
- }
|