OuterOpcode.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. namespace ETModel
  2. {
  3. [Message(OuterOpcode.Actor_Test)]
  4. public partial class Actor_Test : IActorMessage {}
  5. [Message(OuterOpcode.C2M_TestRequest)]
  6. public partial class C2M_TestRequest : IActorLocationRequest {}
  7. [Message(OuterOpcode.M2C_TestResponse)]
  8. public partial class M2C_TestResponse : IActorLocationResponse {}
  9. [Message(OuterOpcode.Actor_TransferRequest)]
  10. public partial class Actor_TransferRequest : IActorLocationRequest {}
  11. [Message(OuterOpcode.Actor_TransferResponse)]
  12. public partial class Actor_TransferResponse : IActorLocationResponse {}
  13. [Message(OuterOpcode.C2G_EnterMap)]
  14. public partial class C2G_EnterMap : IRequest {}
  15. [Message(OuterOpcode.G2C_EnterMap)]
  16. public partial class G2C_EnterMap : IResponse {}
  17. // 自己的unit id
  18. // 所有的unit
  19. [Message(OuterOpcode.UnitInfo)]
  20. public partial class UnitInfo {}
  21. [Message(OuterOpcode.M2C_CreateUnits)]
  22. public partial class M2C_CreateUnits : IActorMessage {}
  23. [Message(OuterOpcode.Frame_ClickMap)]
  24. public partial class Frame_ClickMap : IActorLocationMessage {}
  25. [Message(OuterOpcode.M2C_PathfindingResult)]
  26. public partial class M2C_PathfindingResult : IActorMessage {}
  27. [Message(OuterOpcode.C2R_Ping)]
  28. public partial class C2R_Ping : IRequest {}
  29. [Message(OuterOpcode.R2C_Ping)]
  30. public partial class R2C_Ping : IResponse {}
  31. [Message(OuterOpcode.G2C_Test)]
  32. public partial class G2C_Test : IMessage {}
  33. [Message(OuterOpcode.C2M_Reload)]
  34. public partial class C2M_Reload : IRequest {}
  35. [Message(OuterOpcode.M2C_Reload)]
  36. public partial class M2C_Reload : IResponse {}
  37. }
  38. namespace ETModel
  39. {
  40. public static partial class OuterOpcode
  41. {
  42. public const ushort Actor_Test = 101;
  43. public const ushort C2M_TestRequest = 102;
  44. public const ushort M2C_TestResponse = 103;
  45. public const ushort Actor_TransferRequest = 104;
  46. public const ushort Actor_TransferResponse = 105;
  47. public const ushort C2G_EnterMap = 106;
  48. public const ushort G2C_EnterMap = 107;
  49. public const ushort UnitInfo = 108;
  50. public const ushort M2C_CreateUnits = 109;
  51. public const ushort Frame_ClickMap = 110;
  52. public const ushort M2C_PathfindingResult = 111;
  53. public const ushort C2R_Ping = 112;
  54. public const ushort R2C_Ping = 113;
  55. public const ushort G2C_Test = 114;
  56. public const ushort C2M_Reload = 115;
  57. public const ushort M2C_Reload = 116;
  58. }
  59. }