InnerOpcode.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. namespace Model
  2. {
  3. // 1-999
  4. public static partial class Opcode
  5. {
  6. public const ushort ActorRequest = 1;
  7. public const ushort ActorResponse = 2;
  8. public const ushort ActorRpcRequest = 3;
  9. public const ushort ActorRpcResponse = 4;
  10. public const ushort G2G_LockRequest = 10;
  11. public const ushort G2G_LockResponse = 11;
  12. public const ushort G2G_LockReleaseRequest = 12;
  13. public const ushort G2G_LockReleaseResponse = 13;
  14. public const ushort M2A_Reload = 20;
  15. public const ushort A2M_Reload = 21;
  16. public const ushort DBSaveRequest = 26;
  17. public const ushort DBSaveResponse = 27;
  18. public const ushort DBQueryRequest = 28;
  19. public const ushort DBQueryResponse = 29;
  20. public const ushort DBSaveBatchResponse = 37;
  21. public const ushort DBSaveBatchRequest = 38;
  22. public const ushort DBQueryBatchRequest = 61;
  23. public const ushort DBQueryBatchResponse = 62;
  24. public const ushort DBQueryJsonRequest = 65;
  25. public const ushort DBQueryJsonResponse = 66;
  26. public const ushort ObjectAddRequest = 70;
  27. public const ushort ObjectAddResponse = 71;
  28. public const ushort ObjectRemoveRequest = 72;
  29. public const ushort ObjectRemoveResponse = 73;
  30. public const ushort ObjectLockRequest = 74;
  31. public const ushort ObjectLockResponse = 75;
  32. public const ushort ObjectUnLockRequest = 76;
  33. public const ushort ObjectUnLockResponse = 77;
  34. public const ushort ObjectGetRequest = 78;
  35. public const ushort ObjectGetResponse = 79;
  36. public const ushort R2G_GetLoginKey = 101;
  37. public const ushort G2R_GetLoginKey = 102;
  38. public const ushort G2M_CreateUnit = 103;
  39. public const ushort M2G_CreateUnit = 104;
  40. public const ushort M2M_TrasferUnitRequest = 105;
  41. public const ushort M2M_TrasferUnitResponse = 106;
  42. }
  43. }