cs2-protobuf 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/.dist/generated/base_gcmessages.d.ts +552 -0
  2. package/.dist/generated/base_gcmessages.js +4751 -0
  3. package/.dist/generated/base_gcmessages.wrapper.d.ts +326 -0
  4. package/.dist/generated/base_gcmessages.wrapper.js +655 -0
  5. package/.dist/generated/c_peer2peer_netmessages.d.ts +63 -0
  6. package/.dist/generated/c_peer2peer_netmessages.js +405 -0
  7. package/.dist/generated/c_peer2peer_netmessages.wrapper.d.ts +30 -0
  8. package/.dist/generated/c_peer2peer_netmessages.wrapper.js +63 -0
  9. package/.dist/generated/clientmessages.d.ts +60 -0
  10. package/.dist/generated/clientmessages.js +347 -0
  11. package/.dist/generated/clientmessages.wrapper.d.ts +26 -0
  12. package/.dist/generated/clientmessages.wrapper.js +55 -0
  13. package/.dist/generated/connectionless_netmessages.d.ts +30 -0
  14. package/.dist/generated/connectionless_netmessages.js +238 -0
  15. package/.dist/generated/connectionless_netmessages.wrapper.d.ts +14 -0
  16. package/.dist/generated/connectionless_netmessages.wrapper.js +31 -0
  17. package/.dist/generated/cs_gameevents.d.ts +68 -0
  18. package/.dist/generated/cs_gameevents.js +559 -0
  19. package/.dist/generated/cs_gameevents.wrapper.d.ts +22 -0
  20. package/.dist/generated/cs_gameevents.wrapper.js +47 -0
  21. package/.dist/generated/cs_prediction_events.d.ts +16 -0
  22. package/.dist/generated/cs_prediction_events.js +65 -0
  23. package/.dist/generated/cs_prediction_events.wrapper.d.ts +6 -0
  24. package/.dist/generated/cs_prediction_events.wrapper.js +15 -0
  25. package/.dist/generated/cs_usercmd.d.ts +47 -0
  26. package/.dist/generated/cs_usercmd.js +396 -0
  27. package/.dist/generated/cs_usercmd.wrapper.d.ts +18 -0
  28. package/.dist/generated/cs_usercmd.wrapper.js +39 -0
  29. package/.dist/generated/cstrike15_gcmessages.d.ts +1553 -0
  30. package/.dist/generated/cstrike15_gcmessages.js +13932 -0
  31. package/.dist/generated/cstrike15_gcmessages.wrapper.d.ts +626 -0
  32. package/.dist/generated/cstrike15_gcmessages.wrapper.js +1255 -0
  33. package/.dist/generated/cstrike15_usermessages.d.ts +634 -0
  34. package/.dist/generated/cstrike15_usermessages.js +4939 -0
  35. package/.dist/generated/cstrike15_usermessages.wrapper.d.ts +354 -0
  36. package/.dist/generated/cstrike15_usermessages.wrapper.js +711 -0
  37. package/.dist/generated/demo.d.ts +194 -0
  38. package/.dist/generated/demo.js +1521 -0
  39. package/.dist/generated/demo.wrapper.d.ts +114 -0
  40. package/.dist/generated/demo.wrapper.js +231 -0
  41. package/.dist/generated/econ_gcmessages.d.ts +240 -0
  42. package/.dist/generated/econ_gcmessages.js +511 -0
  43. package/.dist/generated/econ_gcmessages.wrapper.d.ts +22 -0
  44. package/.dist/generated/econ_gcmessages.wrapper.js +47 -0
  45. package/.dist/generated/engine_gcmessages.d.ts +19 -0
  46. package/.dist/generated/engine_gcmessages.js +151 -0
  47. package/.dist/generated/engine_gcmessages.wrapper.d.ts +6 -0
  48. package/.dist/generated/engine_gcmessages.wrapper.js +15 -0
  49. package/.dist/generated/fatdemo.d.ts +131 -0
  50. package/.dist/generated/fatdemo.js +919 -0
  51. package/.dist/generated/fatdemo.wrapper.d.ts +42 -0
  52. package/.dist/generated/fatdemo.wrapper.js +87 -0
  53. package/.dist/generated/gameevents.d.ts +125 -0
  54. package/.dist/generated/gameevents.js +972 -0
  55. package/.dist/generated/gameevents.wrapper.d.ts +66 -0
  56. package/.dist/generated/gameevents.wrapper.js +135 -0
  57. package/.dist/generated/gcsdk_gcmessages.d.ts +327 -0
  58. package/.dist/generated/gcsdk_gcmessages.js +2833 -0
  59. package/.dist/generated/gcsdk_gcmessages.wrapper.d.ts +166 -0
  60. package/.dist/generated/gcsdk_gcmessages.wrapper.js +335 -0
  61. package/.dist/generated/gcsystemmsgs.d.ts +250 -0
  62. package/.dist/generated/gcsystemmsgs.js +943 -0
  63. package/.dist/generated/gcsystemmsgs.wrapper.d.ts +30 -0
  64. package/.dist/generated/gcsystemmsgs.wrapper.js +63 -0
  65. package/.dist/generated/index.d.ts +35 -0
  66. package/.dist/generated/index.js +40 -0
  67. package/.dist/generated/index.wrapper.d.ts +36 -0
  68. package/.dist/generated/index.wrapper.js +40 -0
  69. package/.dist/generated/netmessages.d.ts +641 -0
  70. package/.dist/generated/netmessages.js +5048 -0
  71. package/.dist/generated/netmessages.wrapper.d.ts +294 -0
  72. package/.dist/generated/netmessages.wrapper.js +591 -0
  73. package/.dist/generated/network_connection.d.ts +124 -0
  74. package/.dist/generated/network_connection.js +131 -0
  75. package/.dist/generated/network_connection.wrapper.d.ts +1 -0
  76. package/.dist/generated/network_connection.wrapper.js +6 -0
  77. package/.dist/generated/networkbasetypes.d.ts +246 -0
  78. package/.dist/generated/networkbasetypes.js +1969 -0
  79. package/.dist/generated/networkbasetypes.wrapper.d.ts +110 -0
  80. package/.dist/generated/networkbasetypes.wrapper.js +223 -0
  81. package/.dist/generated/networksystem_protomessages.d.ts +26 -0
  82. package/.dist/generated/networksystem_protomessages.js +172 -0
  83. package/.dist/generated/networksystem_protomessages.wrapper.d.ts +22 -0
  84. package/.dist/generated/networksystem_protomessages.wrapper.js +47 -0
  85. package/.dist/generated/prediction_events.d.ts +30 -0
  86. package/.dist/generated/prediction_events.js +171 -0
  87. package/.dist/generated/prediction_events.wrapper.d.ts +14 -0
  88. package/.dist/generated/prediction_events.wrapper.js +31 -0
  89. package/.dist/generated/source2_steam_stats.d.ts +217 -0
  90. package/.dist/generated/source2_steam_stats.js +2070 -0
  91. package/.dist/generated/source2_steam_stats.wrapper.d.ts +58 -0
  92. package/.dist/generated/source2_steam_stats.wrapper.js +119 -0
  93. package/.dist/generated/steammessages.d.ts +38 -0
  94. package/.dist/generated/steammessages.js +257 -0
  95. package/.dist/generated/steammessages.wrapper.d.ts +6 -0
  96. package/.dist/generated/steammessages.wrapper.js +15 -0
  97. package/.dist/generated/steammessages_cloud.steamworkssdk.d.ts +59 -0
  98. package/.dist/generated/steammessages_cloud.steamworkssdk.js +424 -0
  99. package/.dist/generated/steammessages_cloud.steamworkssdk.wrapper.d.ts +38 -0
  100. package/.dist/generated/steammessages_cloud.steamworkssdk.wrapper.js +79 -0
  101. package/.dist/generated/steammessages_gc.d.ts +576 -0
  102. package/.dist/generated/steammessages_gc.js +5089 -0
  103. package/.dist/generated/steammessages_gc.wrapper.d.ts +322 -0
  104. package/.dist/generated/steammessages_gc.wrapper.js +647 -0
  105. package/.dist/generated/steammessages_helprequest.steamworkssdk.d.ts +20 -0
  106. package/.dist/generated/steammessages_helprequest.steamworkssdk.js +113 -0
  107. package/.dist/generated/steammessages_helprequest.steamworkssdk.wrapper.d.ts +1 -0
  108. package/.dist/generated/steammessages_helprequest.steamworkssdk.wrapper.js +6 -0
  109. package/.dist/generated/steammessages_oauth.steamworkssdk.d.ts +18 -0
  110. package/.dist/generated/steammessages_oauth.steamworkssdk.js +83 -0
  111. package/.dist/generated/steammessages_oauth.steamworkssdk.wrapper.d.ts +10 -0
  112. package/.dist/generated/steammessages_oauth.steamworkssdk.wrapper.js +23 -0
  113. package/.dist/generated/steammessages_player.steamworkssdk.d.ts +210 -0
  114. package/.dist/generated/steammessages_player.steamworkssdk.js +1590 -0
  115. package/.dist/generated/steammessages_player.steamworkssdk.wrapper.d.ts +134 -0
  116. package/.dist/generated/steammessages_player.steamworkssdk.wrapper.js +271 -0
  117. package/.dist/generated/steammessages_publishedfile.steamworkssdk.d.ts +215 -0
  118. package/.dist/generated/steammessages_publishedfile.steamworkssdk.js +1978 -0
  119. package/.dist/generated/steammessages_publishedfile.steamworkssdk.wrapper.d.ts +86 -0
  120. package/.dist/generated/steammessages_publishedfile.steamworkssdk.wrapper.js +175 -0
  121. package/.dist/generated/steammessages_unified_base.steamworkssdk.d.ts +5 -0
  122. package/.dist/generated/steammessages_unified_base.steamworkssdk.js +12 -0
  123. package/.dist/generated/steammessages_unified_base.steamworkssdk.wrapper.d.ts +1 -0
  124. package/.dist/generated/steammessages_unified_base.steamworkssdk.wrapper.js +6 -0
  125. package/.dist/generated/te.d.ts +242 -0
  126. package/.dist/generated/te.js +2031 -0
  127. package/.dist/generated/te.wrapper.d.ts +102 -0
  128. package/.dist/generated/te.wrapper.js +207 -0
  129. package/.dist/generated/uifontfile_format.d.ts +20 -0
  130. package/.dist/generated/uifontfile_format.js +126 -0
  131. package/.dist/generated/uifontfile_format.wrapper.d.ts +14 -0
  132. package/.dist/generated/uifontfile_format.wrapper.js +31 -0
  133. package/.dist/generated/usercmd.d.ts +53 -0
  134. package/.dist/generated/usercmd.js +463 -0
  135. package/.dist/generated/usercmd.wrapper.d.ts +22 -0
  136. package/.dist/generated/usercmd.wrapper.js +47 -0
  137. package/.dist/generated/usermessages.d.ts +875 -0
  138. package/.dist/generated/usermessages.js +7135 -0
  139. package/.dist/generated/usermessages.wrapper.d.ts +338 -0
  140. package/.dist/generated/usermessages.wrapper.js +679 -0
  141. package/.dist/generated/valveextensions.d.ts +8 -0
  142. package/.dist/generated/valveextensions.js +15 -0
  143. package/.dist/generated/valveextensions.wrapper.d.ts +1 -0
  144. package/.dist/generated/valveextensions.wrapper.js +6 -0
  145. package/.dist/index.d.ts +1 -0
  146. package/.dist/index.js +1 -0
  147. package/LICENSE +21 -0
  148. package/README.md +49 -0
  149. package/package.json +59 -0
@@ -0,0 +1,511 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc v4.25.9
5
+ // source: econ_gcmessages.proto
6
+ /* eslint-disable */
7
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
+ export var EGCItemMsg;
9
+ (function (EGCItemMsg) {
10
+ EGCItemMsg[EGCItemMsg["k_EMsgGCBase"] = 1000] = "k_EMsgGCBase";
11
+ EGCItemMsg[EGCItemMsg["k_EMsgGCSetItemPosition"] = 1001] = "k_EMsgGCSetItemPosition";
12
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCraft"] = 1002] = "k_EMsgGCCraft";
13
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCraftResponse"] = 1003] = "k_EMsgGCCraftResponse";
14
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDelete"] = 1004] = "k_EMsgGCDelete";
15
+ EGCItemMsg[EGCItemMsg["k_EMsgGCVerifyCacheSubscription"] = 1005] = "k_EMsgGCVerifyCacheSubscription";
16
+ EGCItemMsg[EGCItemMsg["k_EMsgGCNameItem"] = 1006] = "k_EMsgGCNameItem";
17
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnlockCrate_DEPRECATED"] = 1007] = "k_EMsgGCUnlockCrate_DEPRECATED";
18
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnlockCrateResponse"] = 1008] = "k_EMsgGCUnlockCrateResponse";
19
+ EGCItemMsg[EGCItemMsg["k_EMsgGCPaintItem"] = 1009] = "k_EMsgGCPaintItem";
20
+ EGCItemMsg[EGCItemMsg["k_EMsgGCPaintItemResponse"] = 1010] = "k_EMsgGCPaintItemResponse";
21
+ EGCItemMsg[EGCItemMsg["k_EMsgGCGoldenWrenchBroadcast"] = 1011] = "k_EMsgGCGoldenWrenchBroadcast";
22
+ EGCItemMsg[EGCItemMsg["k_EMsgGCMOTDRequest"] = 1012] = "k_EMsgGCMOTDRequest";
23
+ EGCItemMsg[EGCItemMsg["k_EMsgGCMOTDRequestResponse"] = 1013] = "k_EMsgGCMOTDRequestResponse";
24
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAddItemToSocket_DEPRECATED"] = 1014] = "k_EMsgGCAddItemToSocket_DEPRECATED";
25
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAddItemToSocketResponse_DEPRECATED"] = 1015] = "k_EMsgGCAddItemToSocketResponse_DEPRECATED";
26
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAddSocketToBaseItem_DEPRECATED"] = 1016] = "k_EMsgGCAddSocketToBaseItem_DEPRECATED";
27
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAddSocketToItem_DEPRECATED"] = 1017] = "k_EMsgGCAddSocketToItem_DEPRECATED";
28
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAddSocketToItemResponse_DEPRECATED"] = 1018] = "k_EMsgGCAddSocketToItemResponse_DEPRECATED";
29
+ EGCItemMsg[EGCItemMsg["k_EMsgGCNameBaseItem"] = 1019] = "k_EMsgGCNameBaseItem";
30
+ EGCItemMsg[EGCItemMsg["k_EMsgGCNameBaseItemResponse"] = 1020] = "k_EMsgGCNameBaseItemResponse";
31
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveSocketItem_DEPRECATED"] = 1021] = "k_EMsgGCRemoveSocketItem_DEPRECATED";
32
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveSocketItemResponse_DEPRECATED"] = 1022] = "k_EMsgGCRemoveSocketItemResponse_DEPRECATED";
33
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCustomizeItemTexture"] = 1023] = "k_EMsgGCCustomizeItemTexture";
34
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCustomizeItemTextureResponse"] = 1024] = "k_EMsgGCCustomizeItemTextureResponse";
35
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUseItemRequest"] = 1025] = "k_EMsgGCUseItemRequest";
36
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUseItemResponse"] = 1026] = "k_EMsgGCUseItemResponse";
37
+ EGCItemMsg[EGCItemMsg["k_EMsgGCGiftedItems_DEPRECATED"] = 1027] = "k_EMsgGCGiftedItems_DEPRECATED";
38
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveItemName"] = 1030] = "k_EMsgGCRemoveItemName";
39
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveItemPaint"] = 1031] = "k_EMsgGCRemoveItemPaint";
40
+ EGCItemMsg[EGCItemMsg["k_EMsgGCGiftWrapItem"] = 1032] = "k_EMsgGCGiftWrapItem";
41
+ EGCItemMsg[EGCItemMsg["k_EMsgGCGiftWrapItemResponse"] = 1033] = "k_EMsgGCGiftWrapItemResponse";
42
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDeliverGift"] = 1034] = "k_EMsgGCDeliverGift";
43
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDeliverGiftResponseGiver"] = 1035] = "k_EMsgGCDeliverGiftResponseGiver";
44
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDeliverGiftResponseReceiver"] = 1036] = "k_EMsgGCDeliverGiftResponseReceiver";
45
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnwrapGiftRequest"] = 1037] = "k_EMsgGCUnwrapGiftRequest";
46
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnwrapGiftResponse"] = 1038] = "k_EMsgGCUnwrapGiftResponse";
47
+ EGCItemMsg[EGCItemMsg["k_EMsgGCSetItemStyle"] = 1039] = "k_EMsgGCSetItemStyle";
48
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUsedClaimCodeItem"] = 1040] = "k_EMsgGCUsedClaimCodeItem";
49
+ EGCItemMsg[EGCItemMsg["k_EMsgGCSortItems"] = 1041] = "k_EMsgGCSortItems";
50
+ EGCItemMsg[EGCItemMsg["k_EMsgGC_RevolvingLootList_DEPRECATED"] = 1042] = "k_EMsgGC_RevolvingLootList_DEPRECATED";
51
+ EGCItemMsg[EGCItemMsg["k_EMsgGCLookupAccount"] = 1043] = "k_EMsgGCLookupAccount";
52
+ EGCItemMsg[EGCItemMsg["k_EMsgGCLookupAccountResponse"] = 1044] = "k_EMsgGCLookupAccountResponse";
53
+ EGCItemMsg[EGCItemMsg["k_EMsgGCLookupAccountName"] = 1045] = "k_EMsgGCLookupAccountName";
54
+ EGCItemMsg[EGCItemMsg["k_EMsgGCLookupAccountNameResponse"] = 1046] = "k_EMsgGCLookupAccountNameResponse";
55
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUpdateItemSchema"] = 1049] = "k_EMsgGCUpdateItemSchema";
56
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveCustomTexture"] = 1051] = "k_EMsgGCRemoveCustomTexture";
57
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveCustomTextureResponse"] = 1052] = "k_EMsgGCRemoveCustomTextureResponse";
58
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveMakersMark"] = 1053] = "k_EMsgGCRemoveMakersMark";
59
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveMakersMarkResponse"] = 1054] = "k_EMsgGCRemoveMakersMarkResponse";
60
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveUniqueCraftIndex"] = 1055] = "k_EMsgGCRemoveUniqueCraftIndex";
61
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRemoveUniqueCraftIndexResponse"] = 1056] = "k_EMsgGCRemoveUniqueCraftIndexResponse";
62
+ EGCItemMsg[EGCItemMsg["k_EMsgGCSaxxyBroadcast"] = 1057] = "k_EMsgGCSaxxyBroadcast";
63
+ EGCItemMsg[EGCItemMsg["k_EMsgGCBackpackSortFinished"] = 1058] = "k_EMsgGCBackpackSortFinished";
64
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCollectItem"] = 1061] = "k_EMsgGCCollectItem";
65
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemAcknowledged__DEPRECATED"] = 1062] = "k_EMsgGCItemAcknowledged__DEPRECATED";
66
+ EGCItemMsg[EGCItemMsg["k_EMsgGC_ReportAbuse"] = 1065] = "k_EMsgGC_ReportAbuse";
67
+ EGCItemMsg[EGCItemMsg["k_EMsgGC_ReportAbuseResponse"] = 1066] = "k_EMsgGC_ReportAbuseResponse";
68
+ EGCItemMsg[EGCItemMsg["k_EMsgGCNameItemNotification"] = 1068] = "k_EMsgGCNameItemNotification";
69
+ EGCItemMsg[EGCItemMsg["k_EMsgGCApplyConsumableEffects"] = 1069] = "k_EMsgGCApplyConsumableEffects";
70
+ EGCItemMsg[EGCItemMsg["k_EMsgGCConsumableExhausted"] = 1070] = "k_EMsgGCConsumableExhausted";
71
+ EGCItemMsg[EGCItemMsg["k_EMsgGCShowItemsPickedUp"] = 1071] = "k_EMsgGCShowItemsPickedUp";
72
+ EGCItemMsg[EGCItemMsg["k_EMsgGCClientDisplayNotification"] = 1072] = "k_EMsgGCClientDisplayNotification";
73
+ EGCItemMsg[EGCItemMsg["k_EMsgGCApplyStrangePart"] = 1073] = "k_EMsgGCApplyStrangePart";
74
+ EGCItemMsg[EGCItemMsg["k_EMsgGC_IncrementKillCountAttribute"] = 1074] = "k_EMsgGC_IncrementKillCountAttribute";
75
+ EGCItemMsg[EGCItemMsg["k_EMsgGC_IncrementKillCountResponse"] = 1075] = "k_EMsgGC_IncrementKillCountResponse";
76
+ EGCItemMsg[EGCItemMsg["k_EMsgGCApplyPennantUpgrade"] = 1076] = "k_EMsgGCApplyPennantUpgrade";
77
+ EGCItemMsg[EGCItemMsg["k_EMsgGCSetItemPositions"] = 1077] = "k_EMsgGCSetItemPositions";
78
+ EGCItemMsg[EGCItemMsg["k_EMsgGCApplyEggEssence"] = 1078] = "k_EMsgGCApplyEggEssence";
79
+ EGCItemMsg[EGCItemMsg["k_EMsgGCNameEggEssenceResponse"] = 1079] = "k_EMsgGCNameEggEssenceResponse";
80
+ EGCItemMsg[EGCItemMsg["k_EMsgGCPaintKitItem"] = 1080] = "k_EMsgGCPaintKitItem";
81
+ EGCItemMsg[EGCItemMsg["k_EMsgGCPaintKitBaseItem"] = 1081] = "k_EMsgGCPaintKitBaseItem";
82
+ EGCItemMsg[EGCItemMsg["k_EMsgGCPaintKitItemResponse"] = 1082] = "k_EMsgGCPaintKitItemResponse";
83
+ EGCItemMsg[EGCItemMsg["k_EMsgGCGiftedItems"] = 1083] = "k_EMsgGCGiftedItems";
84
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnlockItemStyle"] = 1084] = "k_EMsgGCUnlockItemStyle";
85
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUnlockItemStyleResponse"] = 1085] = "k_EMsgGCUnlockItemStyleResponse";
86
+ EGCItemMsg[EGCItemMsg["k_EMsgGCApplySticker"] = 1086] = "k_EMsgGCApplySticker";
87
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemAcknowledged"] = 1087] = "k_EMsgGCItemAcknowledged";
88
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStatTrakSwap"] = 1088] = "k_EMsgGCStatTrakSwap";
89
+ EGCItemMsg[EGCItemMsg["k_EMsgGCUserTrackTimePlayedConsecutively"] = 1089] = "k_EMsgGCUserTrackTimePlayedConsecutively";
90
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemCustomizationNotification"] = 1090] = "k_EMsgGCItemCustomizationNotification";
91
+ EGCItemMsg[EGCItemMsg["k_EMsgGCModifyItemAttribute"] = 1091] = "k_EMsgGCModifyItemAttribute";
92
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCasketItemAdd"] = 1092] = "k_EMsgGCCasketItemAdd";
93
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCasketItemExtract"] = 1093] = "k_EMsgGCCasketItemExtract";
94
+ EGCItemMsg[EGCItemMsg["k_EMsgGCCasketItemLoadContents"] = 1094] = "k_EMsgGCCasketItemLoadContents";
95
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTradingBase"] = 1500] = "k_EMsgGCTradingBase";
96
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_InitiateTradeRequest"] = 1501] = "k_EMsgGCTrading_InitiateTradeRequest";
97
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_InitiateTradeResponse"] = 1502] = "k_EMsgGCTrading_InitiateTradeResponse";
98
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_StartSession"] = 1503] = "k_EMsgGCTrading_StartSession";
99
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_SetItem"] = 1504] = "k_EMsgGCTrading_SetItem";
100
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_RemoveItem"] = 1505] = "k_EMsgGCTrading_RemoveItem";
101
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_UpdateTradeInfo"] = 1506] = "k_EMsgGCTrading_UpdateTradeInfo";
102
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_SetReadiness"] = 1507] = "k_EMsgGCTrading_SetReadiness";
103
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_ReadinessResponse"] = 1508] = "k_EMsgGCTrading_ReadinessResponse";
104
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_SessionClosed"] = 1509] = "k_EMsgGCTrading_SessionClosed";
105
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_CancelSession"] = 1510] = "k_EMsgGCTrading_CancelSession";
106
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_TradeChatMsg"] = 1511] = "k_EMsgGCTrading_TradeChatMsg";
107
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_ConfirmOffer"] = 1512] = "k_EMsgGCTrading_ConfirmOffer";
108
+ EGCItemMsg[EGCItemMsg["k_EMsgGCTrading_TradeTypingChatMsg"] = 1513] = "k_EMsgGCTrading_TradeTypingChatMsg";
109
+ EGCItemMsg[EGCItemMsg["k_EMsgGCServerBrowser_FavoriteServer"] = 1601] = "k_EMsgGCServerBrowser_FavoriteServer";
110
+ EGCItemMsg[EGCItemMsg["k_EMsgGCServerBrowser_BlacklistServer"] = 1602] = "k_EMsgGCServerBrowser_BlacklistServer";
111
+ EGCItemMsg[EGCItemMsg["k_EMsgGCServerRentalsBase"] = 1700] = "k_EMsgGCServerRentalsBase";
112
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewCheckStatus"] = 1701] = "k_EMsgGCItemPreviewCheckStatus";
113
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewStatusResponse"] = 1702] = "k_EMsgGCItemPreviewStatusResponse";
114
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewRequest"] = 1703] = "k_EMsgGCItemPreviewRequest";
115
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewRequestResponse"] = 1704] = "k_EMsgGCItemPreviewRequestResponse";
116
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewExpire"] = 1705] = "k_EMsgGCItemPreviewExpire";
117
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewExpireNotification"] = 1706] = "k_EMsgGCItemPreviewExpireNotification";
118
+ EGCItemMsg[EGCItemMsg["k_EMsgGCItemPreviewItemBoughtNotification"] = 1707] = "k_EMsgGCItemPreviewItemBoughtNotification";
119
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDev_NewItemRequest"] = 2001] = "k_EMsgGCDev_NewItemRequest";
120
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDev_NewItemRequestResponse"] = 2002] = "k_EMsgGCDev_NewItemRequestResponse";
121
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDev_PaintKitDropItem"] = 2003] = "k_EMsgGCDev_PaintKitDropItem";
122
+ EGCItemMsg[EGCItemMsg["k_EMsgGCDev_SchemaReservationRequest"] = 2004] = "k_EMsgGCDev_SchemaReservationRequest";
123
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStoreGetUserData"] = 2500] = "k_EMsgGCStoreGetUserData";
124
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStoreGetUserDataResponse"] = 2501] = "k_EMsgGCStoreGetUserDataResponse";
125
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseInit_DEPRECATED"] = 2502] = "k_EMsgGCStorePurchaseInit_DEPRECATED";
126
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseInitResponse_DEPRECATED"] = 2503] = "k_EMsgGCStorePurchaseInitResponse_DEPRECATED";
127
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseFinalize"] = 2504] = "k_EMsgGCStorePurchaseFinalize";
128
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseFinalizeResponse"] = 2505] = "k_EMsgGCStorePurchaseFinalizeResponse";
129
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseCancel"] = 2506] = "k_EMsgGCStorePurchaseCancel";
130
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseCancelResponse"] = 2507] = "k_EMsgGCStorePurchaseCancelResponse";
131
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseQueryTxn"] = 2508] = "k_EMsgGCStorePurchaseQueryTxn";
132
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseQueryTxnResponse"] = 2509] = "k_EMsgGCStorePurchaseQueryTxnResponse";
133
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseInit"] = 2510] = "k_EMsgGCStorePurchaseInit";
134
+ EGCItemMsg[EGCItemMsg["k_EMsgGCStorePurchaseInitResponse"] = 2511] = "k_EMsgGCStorePurchaseInitResponse";
135
+ EGCItemMsg[EGCItemMsg["k_EMsgGCBannedWordListRequest"] = 2512] = "k_EMsgGCBannedWordListRequest";
136
+ EGCItemMsg[EGCItemMsg["k_EMsgGCBannedWordListResponse"] = 2513] = "k_EMsgGCBannedWordListResponse";
137
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCBannedWordListBroadcast"] = 2514] = "k_EMsgGCToGCBannedWordListBroadcast";
138
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCBannedWordListUpdated"] = 2515] = "k_EMsgGCToGCBannedWordListUpdated";
139
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCDirtySDOCache"] = 2516] = "k_EMsgGCToGCDirtySDOCache";
140
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCDirtyMultipleSDOCache"] = 2517] = "k_EMsgGCToGCDirtyMultipleSDOCache";
141
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCUpdateSQLKeyValue"] = 2518] = "k_EMsgGCToGCUpdateSQLKeyValue";
142
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCIsTrustedServer"] = 2519] = "k_EMsgGCToGCIsTrustedServer";
143
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCIsTrustedServerResponse"] = 2520] = "k_EMsgGCToGCIsTrustedServerResponse";
144
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCBroadcastConsoleCommand"] = 2521] = "k_EMsgGCToGCBroadcastConsoleCommand";
145
+ EGCItemMsg[EGCItemMsg["k_EMsgGCServerVersionUpdated"] = 2522] = "k_EMsgGCServerVersionUpdated";
146
+ EGCItemMsg[EGCItemMsg["k_EMsgGCToGCWebAPIAccountChanged"] = 2524] = "k_EMsgGCToGCWebAPIAccountChanged";
147
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRequestAnnouncements"] = 2525] = "k_EMsgGCRequestAnnouncements";
148
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRequestAnnouncementsResponse"] = 2526] = "k_EMsgGCRequestAnnouncementsResponse";
149
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRequestPassportItemGrant"] = 2527] = "k_EMsgGCRequestPassportItemGrant";
150
+ EGCItemMsg[EGCItemMsg["k_EMsgGCClientVersionUpdated"] = 2528] = "k_EMsgGCClientVersionUpdated";
151
+ EGCItemMsg[EGCItemMsg["k_EMsgGCRecurringSubscriptionStatus"] = 2530] = "k_EMsgGCRecurringSubscriptionStatus";
152
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAdjustEquipSlotsManual"] = 2531] = "k_EMsgGCAdjustEquipSlotsManual";
153
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAdjustEquipSlotsShuffle"] = 2532] = "k_EMsgGCAdjustEquipSlotsShuffle";
154
+ EGCItemMsg[EGCItemMsg["k_EMsgGCOpenCrate"] = 2534] = "k_EMsgGCOpenCrate";
155
+ EGCItemMsg[EGCItemMsg["k_EMsgGCAcknowledgeRentalExpiration"] = 2535] = "k_EMsgGCAcknowledgeRentalExpiration";
156
+ EGCItemMsg[EGCItemMsg["k_EMsgGCVolatileItemLoadContents"] = 2536] = "k_EMsgGCVolatileItemLoadContents";
157
+ EGCItemMsg[EGCItemMsg["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
158
+ })(EGCItemMsg || (EGCItemMsg = {}));
159
+ export var EGCMsgResponse;
160
+ (function (EGCMsgResponse) {
161
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseOK"] = 0] = "k_EGCMsgResponseOK";
162
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseDenied"] = 1] = "k_EGCMsgResponseDenied";
163
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseServerError"] = 2] = "k_EGCMsgResponseServerError";
164
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseTimeout"] = 3] = "k_EGCMsgResponseTimeout";
165
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseInvalid"] = 4] = "k_EGCMsgResponseInvalid";
166
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseNoMatch"] = 5] = "k_EGCMsgResponseNoMatch";
167
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseUnknownError"] = 6] = "k_EGCMsgResponseUnknownError";
168
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgResponseNotLoggedOn"] = 7] = "k_EGCMsgResponseNotLoggedOn";
169
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgFailedToCreate"] = 8] = "k_EGCMsgFailedToCreate";
170
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgLimitExceeded"] = 9] = "k_EGCMsgLimitExceeded";
171
+ EGCMsgResponse[EGCMsgResponse["k_EGCMsgCommitUnfinalized"] = 10] = "k_EGCMsgCommitUnfinalized";
172
+ EGCMsgResponse[EGCMsgResponse["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
173
+ })(EGCMsgResponse || (EGCMsgResponse = {}));
174
+ export var EUnlockStyle;
175
+ (function (EUnlockStyle) {
176
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Succeeded"] = 0] = "k_UnlockStyle_Succeeded";
177
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Failed_PreReq"] = 1] = "k_UnlockStyle_Failed_PreReq";
178
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Failed_CantAfford"] = 2] = "k_UnlockStyle_Failed_CantAfford";
179
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Failed_CantCommit"] = 3] = "k_UnlockStyle_Failed_CantCommit";
180
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Failed_CantLockCache"] = 4] = "k_UnlockStyle_Failed_CantLockCache";
181
+ EUnlockStyle[EUnlockStyle["k_UnlockStyle_Failed_CantAffordAttrib"] = 5] = "k_UnlockStyle_Failed_CantAffordAttrib";
182
+ EUnlockStyle[EUnlockStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
183
+ })(EUnlockStyle || (EUnlockStyle = {}));
184
+ export var EGCItemCustomizationNotification;
185
+ (function (EGCItemCustomizationNotification) {
186
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_NameItem"] = 1006] = "k_EGCItemCustomizationNotification_NameItem";
187
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_UnlockCrate"] = 1007] = "k_EGCItemCustomizationNotification_UnlockCrate";
188
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_XRayItemReveal"] = 1008] = "k_EGCItemCustomizationNotification_XRayItemReveal";
189
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_XRayItemClaim"] = 1009] = "k_EGCItemCustomizationNotification_XRayItemClaim";
190
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_CasketTooFull"] = 1011] = "k_EGCItemCustomizationNotification_CasketTooFull";
191
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_CasketContents"] = 1012] = "k_EGCItemCustomizationNotification_CasketContents";
192
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_CasketAdded"] = 1013] = "k_EGCItemCustomizationNotification_CasketAdded";
193
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_CasketRemoved"] = 1014] = "k_EGCItemCustomizationNotification_CasketRemoved";
194
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_CasketInvFull"] = 1015] = "k_EGCItemCustomizationNotification_CasketInvFull";
195
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_NameBaseItem"] = 1019] = "k_EGCItemCustomizationNotification_NameBaseItem";
196
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_RemoveItemName"] = 1030] = "k_EGCItemCustomizationNotification_RemoveItemName";
197
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_RemoveSticker"] = 1053] = "k_EGCItemCustomizationNotification_RemoveSticker";
198
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ExtractSticker"] = 1054] = "k_EGCItemCustomizationNotification_ExtractSticker";
199
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_EncapsulateSticker"] = 1055] = "k_EGCItemCustomizationNotification_EncapsulateSticker";
200
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ApplySticker"] = 1086] = "k_EGCItemCustomizationNotification_ApplySticker";
201
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_StatTrakSwap"] = 1088] = "k_EGCItemCustomizationNotification_StatTrakSwap";
202
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_RemovePatch"] = 1089] = "k_EGCItemCustomizationNotification_RemovePatch";
203
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ApplyPatch"] = 1090] = "k_EGCItemCustomizationNotification_ApplyPatch";
204
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ApplyKeychain"] = 1091] = "k_EGCItemCustomizationNotification_ApplyKeychain";
205
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_RemoveKeychain"] = 1092] = "k_EGCItemCustomizationNotification_RemoveKeychain";
206
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ActivateFanToken"] = 9178] = "k_EGCItemCustomizationNotification_ActivateFanToken";
207
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ActivateOperationCoin"] = 9179] = "k_EGCItemCustomizationNotification_ActivateOperationCoin";
208
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_GraffitiUnseal"] = 9185] = "k_EGCItemCustomizationNotification_GraffitiUnseal";
209
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_GenerateSouvenir"] = 9204] = "k_EGCItemCustomizationNotification_GenerateSouvenir";
210
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ClientRedeemMissionReward"] = 9209] = "k_EGCItemCustomizationNotification_ClientRedeemMissionReward";
211
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_ClientRedeemFreeReward"] = 9219] = "k_EGCItemCustomizationNotification_ClientRedeemFreeReward";
212
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_XpShopUseTicket"] = 9221] = "k_EGCItemCustomizationNotification_XpShopUseTicket";
213
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["k_EGCItemCustomizationNotification_XpShopAckTracks"] = 9222] = "k_EGCItemCustomizationNotification_XpShopAckTracks";
214
+ EGCItemCustomizationNotification[EGCItemCustomizationNotification["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
215
+ })(EGCItemCustomizationNotification || (EGCItemCustomizationNotification = {}));
216
+ function createBaseCMsgGCGiftedItems() {
217
+ return { accountid: 0, giftdefindex: 0, maxGiftsPossible: 0, numEligibleRecipients: 0, recipientsAccountids: [] };
218
+ }
219
+ export const CMsgGCGiftedItems = {
220
+ encode(message, writer = new BinaryWriter()) {
221
+ if (message.accountid !== undefined && message.accountid !== 0) {
222
+ writer.uint32(8).uint32(message.accountid);
223
+ }
224
+ if (message.giftdefindex !== undefined && message.giftdefindex !== 0) {
225
+ writer.uint32(16).uint32(message.giftdefindex);
226
+ }
227
+ if (message.maxGiftsPossible !== undefined && message.maxGiftsPossible !== 0) {
228
+ writer.uint32(24).uint32(message.maxGiftsPossible);
229
+ }
230
+ if (message.numEligibleRecipients !== undefined && message.numEligibleRecipients !== 0) {
231
+ writer.uint32(32).uint32(message.numEligibleRecipients);
232
+ }
233
+ for (const v of message.recipientsAccountids) {
234
+ writer.uint32(40).uint32(v);
235
+ }
236
+ return writer;
237
+ },
238
+ decode(input, length) {
239
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
240
+ const end = length === undefined ? reader.len : reader.pos + length;
241
+ const message = createBaseCMsgGCGiftedItems();
242
+ while (reader.pos < end) {
243
+ const tag = reader.uint32();
244
+ switch (tag >>> 3) {
245
+ case 1: {
246
+ if (tag !== 8) {
247
+ break;
248
+ }
249
+ message.accountid = reader.uint32();
250
+ continue;
251
+ }
252
+ case 2: {
253
+ if (tag !== 16) {
254
+ break;
255
+ }
256
+ message.giftdefindex = reader.uint32();
257
+ continue;
258
+ }
259
+ case 3: {
260
+ if (tag !== 24) {
261
+ break;
262
+ }
263
+ message.maxGiftsPossible = reader.uint32();
264
+ continue;
265
+ }
266
+ case 4: {
267
+ if (tag !== 32) {
268
+ break;
269
+ }
270
+ message.numEligibleRecipients = reader.uint32();
271
+ continue;
272
+ }
273
+ case 5: {
274
+ if (tag === 40) {
275
+ message.recipientsAccountids.push(reader.uint32());
276
+ continue;
277
+ }
278
+ if (tag === 42) {
279
+ const end2 = reader.uint32() + reader.pos;
280
+ while (reader.pos < end2) {
281
+ message.recipientsAccountids.push(reader.uint32());
282
+ }
283
+ continue;
284
+ }
285
+ break;
286
+ }
287
+ }
288
+ if ((tag & 7) === 4 || tag === 0) {
289
+ break;
290
+ }
291
+ reader.skip(tag & 7);
292
+ }
293
+ return message;
294
+ },
295
+ };
296
+ function createBaseCMsgGCDevSchemaReservationRequest() {
297
+ return { schemaTypename: "", instanceName: "", context: 0, id: 0 };
298
+ }
299
+ export const CMsgGCDevSchemaReservationRequest = {
300
+ encode(message, writer = new BinaryWriter()) {
301
+ if (message.schemaTypename !== undefined && message.schemaTypename !== "") {
302
+ writer.uint32(10).string(message.schemaTypename);
303
+ }
304
+ if (message.instanceName !== undefined && message.instanceName !== "") {
305
+ writer.uint32(18).string(message.instanceName);
306
+ }
307
+ if (message.context !== undefined && message.context !== 0) {
308
+ writer.uint32(24).uint64(message.context);
309
+ }
310
+ if (message.id !== undefined && message.id !== 0) {
311
+ writer.uint32(32).uint64(message.id);
312
+ }
313
+ return writer;
314
+ },
315
+ decode(input, length) {
316
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
317
+ const end = length === undefined ? reader.len : reader.pos + length;
318
+ const message = createBaseCMsgGCDevSchemaReservationRequest();
319
+ while (reader.pos < end) {
320
+ const tag = reader.uint32();
321
+ switch (tag >>> 3) {
322
+ case 1: {
323
+ if (tag !== 10) {
324
+ break;
325
+ }
326
+ message.schemaTypename = reader.string();
327
+ continue;
328
+ }
329
+ case 2: {
330
+ if (tag !== 18) {
331
+ break;
332
+ }
333
+ message.instanceName = reader.string();
334
+ continue;
335
+ }
336
+ case 3: {
337
+ if (tag !== 24) {
338
+ break;
339
+ }
340
+ message.context = longToNumber(reader.uint64());
341
+ continue;
342
+ }
343
+ case 4: {
344
+ if (tag !== 32) {
345
+ break;
346
+ }
347
+ message.id = longToNumber(reader.uint64());
348
+ continue;
349
+ }
350
+ }
351
+ if ((tag & 7) === 4 || tag === 0) {
352
+ break;
353
+ }
354
+ reader.skip(tag & 7);
355
+ }
356
+ return message;
357
+ },
358
+ };
359
+ function createBaseCMsgCasketItem() {
360
+ return { casketItemId: 0, itemItemId: 0 };
361
+ }
362
+ export const CMsgCasketItem = {
363
+ encode(message, writer = new BinaryWriter()) {
364
+ if (message.casketItemId !== undefined && message.casketItemId !== 0) {
365
+ writer.uint32(8).uint64(message.casketItemId);
366
+ }
367
+ if (message.itemItemId !== undefined && message.itemItemId !== 0) {
368
+ writer.uint32(16).uint64(message.itemItemId);
369
+ }
370
+ return writer;
371
+ },
372
+ decode(input, length) {
373
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
374
+ const end = length === undefined ? reader.len : reader.pos + length;
375
+ const message = createBaseCMsgCasketItem();
376
+ while (reader.pos < end) {
377
+ const tag = reader.uint32();
378
+ switch (tag >>> 3) {
379
+ case 1: {
380
+ if (tag !== 8) {
381
+ break;
382
+ }
383
+ message.casketItemId = longToNumber(reader.uint64());
384
+ continue;
385
+ }
386
+ case 2: {
387
+ if (tag !== 16) {
388
+ break;
389
+ }
390
+ message.itemItemId = longToNumber(reader.uint64());
391
+ continue;
392
+ }
393
+ }
394
+ if ((tag & 7) === 4 || tag === 0) {
395
+ break;
396
+ }
397
+ reader.skip(tag & 7);
398
+ }
399
+ return message;
400
+ },
401
+ };
402
+ function createBaseCMsgGCUserTrackTimePlayedConsecutively() {
403
+ return { state: 0 };
404
+ }
405
+ export const CMsgGCUserTrackTimePlayedConsecutively = {
406
+ encode(message, writer = new BinaryWriter()) {
407
+ if (message.state !== undefined && message.state !== 0) {
408
+ writer.uint32(8).uint32(message.state);
409
+ }
410
+ return writer;
411
+ },
412
+ decode(input, length) {
413
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
414
+ const end = length === undefined ? reader.len : reader.pos + length;
415
+ const message = createBaseCMsgGCUserTrackTimePlayedConsecutively();
416
+ while (reader.pos < end) {
417
+ const tag = reader.uint32();
418
+ switch (tag >>> 3) {
419
+ case 1: {
420
+ if (tag !== 8) {
421
+ break;
422
+ }
423
+ message.state = reader.uint32();
424
+ continue;
425
+ }
426
+ }
427
+ if ((tag & 7) === 4 || tag === 0) {
428
+ break;
429
+ }
430
+ reader.skip(tag & 7);
431
+ }
432
+ return message;
433
+ },
434
+ };
435
+ function createBaseCMsgGCItemCustomizationNotification() {
436
+ return { itemId: [], request: 0, extraData: [] };
437
+ }
438
+ export const CMsgGCItemCustomizationNotification = {
439
+ encode(message, writer = new BinaryWriter()) {
440
+ for (const v of message.itemId) {
441
+ writer.uint32(8).uint64(v);
442
+ }
443
+ if (message.request !== undefined && message.request !== 0) {
444
+ writer.uint32(16).uint32(message.request);
445
+ }
446
+ for (const v of message.extraData) {
447
+ writer.uint32(24).uint64(v);
448
+ }
449
+ return writer;
450
+ },
451
+ decode(input, length) {
452
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
453
+ const end = length === undefined ? reader.len : reader.pos + length;
454
+ const message = createBaseCMsgGCItemCustomizationNotification();
455
+ while (reader.pos < end) {
456
+ const tag = reader.uint32();
457
+ switch (tag >>> 3) {
458
+ case 1: {
459
+ if (tag === 8) {
460
+ message.itemId.push(longToNumber(reader.uint64()));
461
+ continue;
462
+ }
463
+ if (tag === 10) {
464
+ const end2 = reader.uint32() + reader.pos;
465
+ while (reader.pos < end2) {
466
+ message.itemId.push(longToNumber(reader.uint64()));
467
+ }
468
+ continue;
469
+ }
470
+ break;
471
+ }
472
+ case 2: {
473
+ if (tag !== 16) {
474
+ break;
475
+ }
476
+ message.request = reader.uint32();
477
+ continue;
478
+ }
479
+ case 3: {
480
+ if (tag === 24) {
481
+ message.extraData.push(longToNumber(reader.uint64()));
482
+ continue;
483
+ }
484
+ if (tag === 26) {
485
+ const end2 = reader.uint32() + reader.pos;
486
+ while (reader.pos < end2) {
487
+ message.extraData.push(longToNumber(reader.uint64()));
488
+ }
489
+ continue;
490
+ }
491
+ break;
492
+ }
493
+ }
494
+ if ((tag & 7) === 4 || tag === 0) {
495
+ break;
496
+ }
497
+ reader.skip(tag & 7);
498
+ }
499
+ return message;
500
+ },
501
+ };
502
+ function longToNumber(int64) {
503
+ const num = globalThis.Number(int64.toString());
504
+ if (num > globalThis.Number.MAX_SAFE_INTEGER) {
505
+ throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
506
+ }
507
+ if (num < globalThis.Number.MIN_SAFE_INTEGER) {
508
+ throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
509
+ }
510
+ return num;
511
+ }
@@ -0,0 +1,22 @@
1
+ export * from "./econ_gcmessages.js";
2
+ import * as GeneratedTypescript from "./econ_gcmessages.js";
3
+ export declare const CMsgGCGiftedItems: {
4
+ encode(message: GeneratedTypescript.CMsgGCGiftedItems): Uint8Array<ArrayBuffer>;
5
+ decode(input: Uint8Array): GeneratedTypescript.CMsgGCGiftedItems;
6
+ };
7
+ export declare const CMsgGCDevSchemaReservationRequest: {
8
+ encode(message: GeneratedTypescript.CMsgGCDevSchemaReservationRequest): Uint8Array<ArrayBuffer>;
9
+ decode(input: Uint8Array): GeneratedTypescript.CMsgGCDevSchemaReservationRequest;
10
+ };
11
+ export declare const CMsgCasketItem: {
12
+ encode(message: GeneratedTypescript.CMsgCasketItem): Uint8Array<ArrayBuffer>;
13
+ decode(input: Uint8Array): GeneratedTypescript.CMsgCasketItem;
14
+ };
15
+ export declare const CMsgGCUserTrackTimePlayedConsecutively: {
16
+ encode(message: GeneratedTypescript.CMsgGCUserTrackTimePlayedConsecutively): Uint8Array<ArrayBuffer>;
17
+ decode(input: Uint8Array): GeneratedTypescript.CMsgGCUserTrackTimePlayedConsecutively;
18
+ };
19
+ export declare const CMsgGCItemCustomizationNotification: {
20
+ encode(message: GeneratedTypescript.CMsgGCItemCustomizationNotification): Uint8Array<ArrayBuffer>;
21
+ decode(input: Uint8Array): GeneratedTypescript.CMsgGCItemCustomizationNotification;
22
+ };
@@ -0,0 +1,47 @@
1
+ // Code generated by cs2-protobuf. DO NOT EDIT.
2
+ // versions:
3
+ // cs2-protobuf 1.0.1
4
+ // source: econ_gcmessages.ts
5
+ /* eslint-disable */
6
+ export * from "./econ_gcmessages.js";
7
+ import * as GeneratedTypescript from "./econ_gcmessages.js";
8
+ export const CMsgGCGiftedItems = {
9
+ encode(message) {
10
+ return GeneratedTypescript.CMsgGCGiftedItems.encode(message).finish();
11
+ },
12
+ decode(input) {
13
+ return GeneratedTypescript.CMsgGCGiftedItems.decode(input);
14
+ },
15
+ };
16
+ export const CMsgGCDevSchemaReservationRequest = {
17
+ encode(message) {
18
+ return GeneratedTypescript.CMsgGCDevSchemaReservationRequest.encode(message).finish();
19
+ },
20
+ decode(input) {
21
+ return GeneratedTypescript.CMsgGCDevSchemaReservationRequest.decode(input);
22
+ },
23
+ };
24
+ export const CMsgCasketItem = {
25
+ encode(message) {
26
+ return GeneratedTypescript.CMsgCasketItem.encode(message).finish();
27
+ },
28
+ decode(input) {
29
+ return GeneratedTypescript.CMsgCasketItem.decode(input);
30
+ },
31
+ };
32
+ export const CMsgGCUserTrackTimePlayedConsecutively = {
33
+ encode(message) {
34
+ return GeneratedTypescript.CMsgGCUserTrackTimePlayedConsecutively.encode(message).finish();
35
+ },
36
+ decode(input) {
37
+ return GeneratedTypescript.CMsgGCUserTrackTimePlayedConsecutively.decode(input);
38
+ },
39
+ };
40
+ export const CMsgGCItemCustomizationNotification = {
41
+ encode(message) {
42
+ return GeneratedTypescript.CMsgGCItemCustomizationNotification.encode(message).finish();
43
+ },
44
+ decode(input) {
45
+ return GeneratedTypescript.CMsgGCItemCustomizationNotification.decode(input);
46
+ },
47
+ };
@@ -0,0 +1,19 @@
1
+ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
+ export interface CEngineGotvSyncPacket {
3
+ matchId?: number | undefined;
4
+ instanceId?: number | undefined;
5
+ signupfragment?: number | undefined;
6
+ currentfragment?: number | undefined;
7
+ tickrate?: number | undefined;
8
+ tick?: number | undefined;
9
+ rtdelay?: number | undefined;
10
+ rcvage?: number | undefined;
11
+ keyframeInterval?: number | undefined;
12
+ cdndelay?: number | undefined;
13
+ }
14
+ export declare const CEngineGotvSyncPacket: MessageFns<CEngineGotvSyncPacket>;
15
+ interface MessageFns<T> {
16
+ encode(message: T, writer?: BinaryWriter): BinaryWriter;
17
+ decode(input: BinaryReader | Uint8Array, length?: number): T;
18
+ }
19
+ export {};