Opcode.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. namespace Model
  2. {
  3. public static class Opcode
  4. {
  5. public const ushort G2G_LockRequest = 10;
  6. public const ushort G2G_LockResponse = 11;
  7. public const ushort G2G_LockReleaseRequest = 12;
  8. public const ushort G2G_LockReleaseResponse = 13;
  9. public const ushort M2A_Reload = 20;
  10. public const ushort A2M_Reload = 21;
  11. public const ushort DBSaveRequest = 26;
  12. public const ushort DBSaveResponse = 27;
  13. public const ushort DBQueryRequest = 28;
  14. public const ushort DBQueryResponse = 29;
  15. public const ushort DBSaveBatchResponse = 37;
  16. public const ushort DBSaveBatchRequest = 38;
  17. public const ushort DBQueryBatchRequest = 61;
  18. public const ushort DBQueryBatchResponse = 62;
  19. public const ushort DBQueryJsonRequest = 65;
  20. public const ushort DBQueryJsonResponse = 66;
  21. public const ushort ObjectAddRequest = 70;
  22. public const ushort ObjectAddResponse = 71;
  23. public const ushort ObjectRemoveRequest = 72;
  24. public const ushort ObjectRemoveResponse = 73;
  25. public const ushort ObjectLockRequest = 74;
  26. public const ushort ObjectLockResponse = 75;
  27. public const ushort ObjectUnLockRequest = 76;
  28. public const ushort ObjectUnLockResponse = 77;
  29. public const ushort ObjectGetRequest = 78;
  30. public const ushort ObjectGetResponse = 79;
  31. public const ushort C2R_Login = 1000;
  32. public const ushort R2C_Login = 1002;
  33. public const ushort R2C_ServerLog = 1003;
  34. public const ushort C2G_LoginGate = 1004;
  35. public const ushort G2C_LoginGate = 1005;
  36. public const ushort C2G_GetPlayerInfo = 1006;
  37. public const ushort G2C_GetPlayerInfo = 1007;
  38. public const ushort C2M_Reload = 1008;
  39. public const ushort R2G_GetLoginKey = 10001;
  40. public const ushort G2R_GetLoginKey = 10002;
  41. }
  42. }