steam-proto 0.1.0
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.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rspec +2 -0
- data/.rubocop.yml +4 -0
- data/.travis.yml +5 -0
- data/Gemfile +6 -0
- data/LICENSE +21 -0
- data/README.md +1 -0
- data/Rakefile +11 -0
- data/bin/console +6 -0
- data/bin/setup +8 -0
- data/lib/steam/proto.rb +24 -0
- data/lib/steam/proto/csgo.rb +4 -0
- data/lib/steam/proto/csgo/cstrike15_gcmessages.pb.rb +1458 -0
- data/lib/steam/proto/csgo/cstrike15_usermessages.pb.rb +711 -0
- data/lib/steam/proto/csgo/descriptor.pb.rb +265 -0
- data/lib/steam/proto/csgo/engine_gcmessages.pb.rb +21 -0
- data/lib/steam/proto/csgo/gcsdk_gcmessages.pb.rb +371 -0
- data/lib/steam/proto/csgo/gcsystemmsgs.pb.rb +139 -0
- data/lib/steam/proto/csgo/netmessages.pb.rb +736 -0
- data/lib/steam/proto/csgo/steammessages.pb.rb +809 -0
- data/lib/steam/proto/gc.rb +2 -0
- data/lib/steam/proto/gc/gc.pb.rb +30 -0
- data/lib/steam/proto/steamclient.rb +4 -0
- data/lib/steam/proto/steamclient/descriptor.pb.rb +265 -0
- data/lib/steam/proto/steamclient/encrypted_app_ticket.pb.rb +17 -0
- data/lib/steam/proto/steamclient/steammessages_base.pb.rb +104 -0
- data/lib/steam/proto/steamclient/steammessages_clientserver.pb.rb +2206 -0
- data/lib/steam/proto/steamclient/steammessages_clientserver_2.pb.rb +2007 -0
- data/lib/steam/proto/version.rb +5 -0
- data/lib/tasks/proto.rake +61 -0
- data/lib/tasks/spec.rake +12 -0
- data/steam-proto.gemspec +33 -0
- metadata +148 -0
@@ -0,0 +1,265 @@
|
|
1
|
+
## Generated from google/protobuf/descriptor.proto for google.protobuf
|
2
|
+
require "beefcake"
|
3
|
+
|
4
|
+
module Csgo
|
5
|
+
|
6
|
+
class FileDescriptorSet
|
7
|
+
include Beefcake::Message
|
8
|
+
end
|
9
|
+
|
10
|
+
class FileDescriptorProto
|
11
|
+
include Beefcake::Message
|
12
|
+
end
|
13
|
+
|
14
|
+
class DescriptorProto
|
15
|
+
include Beefcake::Message
|
16
|
+
|
17
|
+
class ExtensionRange
|
18
|
+
include Beefcake::Message
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
class FieldDescriptorProto
|
23
|
+
include Beefcake::Message
|
24
|
+
|
25
|
+
module Type
|
26
|
+
TYPE_DOUBLE = 1
|
27
|
+
TYPE_FLOAT = 2
|
28
|
+
TYPE_INT64 = 3
|
29
|
+
TYPE_UINT64 = 4
|
30
|
+
TYPE_INT32 = 5
|
31
|
+
TYPE_FIXED64 = 6
|
32
|
+
TYPE_FIXED32 = 7
|
33
|
+
TYPE_BOOL = 8
|
34
|
+
TYPE_STRING = 9
|
35
|
+
TYPE_GROUP = 10
|
36
|
+
TYPE_MESSAGE = 11
|
37
|
+
TYPE_BYTES = 12
|
38
|
+
TYPE_UINT32 = 13
|
39
|
+
TYPE_ENUM = 14
|
40
|
+
TYPE_SFIXED32 = 15
|
41
|
+
TYPE_SFIXED64 = 16
|
42
|
+
TYPE_SINT32 = 17
|
43
|
+
TYPE_SINT64 = 18
|
44
|
+
end
|
45
|
+
|
46
|
+
module Label
|
47
|
+
LABEL_OPTIONAL = 1
|
48
|
+
LABEL_REQUIRED = 2
|
49
|
+
LABEL_REPEATED = 3
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
class EnumDescriptorProto
|
54
|
+
include Beefcake::Message
|
55
|
+
end
|
56
|
+
|
57
|
+
class EnumValueDescriptorProto
|
58
|
+
include Beefcake::Message
|
59
|
+
end
|
60
|
+
|
61
|
+
class ServiceDescriptorProto
|
62
|
+
include Beefcake::Message
|
63
|
+
end
|
64
|
+
|
65
|
+
class MethodDescriptorProto
|
66
|
+
include Beefcake::Message
|
67
|
+
end
|
68
|
+
|
69
|
+
class FileOptions
|
70
|
+
include Beefcake::Message
|
71
|
+
|
72
|
+
module OptimizeMode
|
73
|
+
SPEED = 1
|
74
|
+
CODE_SIZE = 2
|
75
|
+
LITE_RUNTIME = 3
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
class MessageOptions
|
80
|
+
include Beefcake::Message
|
81
|
+
end
|
82
|
+
|
83
|
+
class FieldOptions
|
84
|
+
include Beefcake::Message
|
85
|
+
|
86
|
+
module CType
|
87
|
+
STRING = 0
|
88
|
+
CORD = 1
|
89
|
+
STRING_PIECE = 2
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
class EnumOptions
|
94
|
+
include Beefcake::Message
|
95
|
+
end
|
96
|
+
|
97
|
+
class EnumValueOptions
|
98
|
+
include Beefcake::Message
|
99
|
+
end
|
100
|
+
|
101
|
+
class ServiceOptions
|
102
|
+
include Beefcake::Message
|
103
|
+
end
|
104
|
+
|
105
|
+
class MethodOptions
|
106
|
+
include Beefcake::Message
|
107
|
+
end
|
108
|
+
|
109
|
+
class UninterpretedOption
|
110
|
+
include Beefcake::Message
|
111
|
+
|
112
|
+
class NamePart
|
113
|
+
include Beefcake::Message
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
class SourceCodeInfo
|
118
|
+
include Beefcake::Message
|
119
|
+
|
120
|
+
class Location
|
121
|
+
include Beefcake::Message
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
class FileDescriptorSet
|
126
|
+
repeated :file, FileDescriptorProto, 1
|
127
|
+
end
|
128
|
+
|
129
|
+
class FileDescriptorProto
|
130
|
+
optional :name, :string, 1
|
131
|
+
optional :package, :string, 2
|
132
|
+
repeated :dependency, :string, 3
|
133
|
+
repeated :public_dependency, :int32, 10
|
134
|
+
repeated :weak_dependency, :int32, 11
|
135
|
+
repeated :message_type, DescriptorProto, 4
|
136
|
+
repeated :enum_type, EnumDescriptorProto, 5
|
137
|
+
repeated :service, ServiceDescriptorProto, 6
|
138
|
+
repeated :extension, FieldDescriptorProto, 7
|
139
|
+
optional :options, FileOptions, 8
|
140
|
+
optional :source_code_info, SourceCodeInfo, 9
|
141
|
+
end
|
142
|
+
|
143
|
+
class DescriptorProto
|
144
|
+
|
145
|
+
class ExtensionRange
|
146
|
+
optional :start, :int32, 1
|
147
|
+
optional :end, :int32, 2
|
148
|
+
end
|
149
|
+
optional :name, :string, 1
|
150
|
+
repeated :field, FieldDescriptorProto, 2
|
151
|
+
repeated :extension, FieldDescriptorProto, 6
|
152
|
+
repeated :nested_type, DescriptorProto, 3
|
153
|
+
repeated :enum_type, EnumDescriptorProto, 4
|
154
|
+
repeated :extension_range, DescriptorProto::ExtensionRange, 5
|
155
|
+
optional :options, MessageOptions, 7
|
156
|
+
end
|
157
|
+
|
158
|
+
class FieldDescriptorProto
|
159
|
+
optional :name, :string, 1
|
160
|
+
optional :number, :int32, 3
|
161
|
+
optional :label, FieldDescriptorProto::Label, 4
|
162
|
+
optional :type, FieldDescriptorProto::Type, 5
|
163
|
+
optional :type_name, :string, 6
|
164
|
+
optional :extendee, :string, 2
|
165
|
+
optional :default_value, :string, 7
|
166
|
+
optional :options, FieldOptions, 8
|
167
|
+
end
|
168
|
+
|
169
|
+
class EnumDescriptorProto
|
170
|
+
optional :name, :string, 1
|
171
|
+
repeated :value, EnumValueDescriptorProto, 2
|
172
|
+
optional :options, EnumOptions, 3
|
173
|
+
end
|
174
|
+
|
175
|
+
class EnumValueDescriptorProto
|
176
|
+
optional :name, :string, 1
|
177
|
+
optional :number, :int32, 2
|
178
|
+
optional :options, EnumValueOptions, 3
|
179
|
+
end
|
180
|
+
|
181
|
+
class ServiceDescriptorProto
|
182
|
+
optional :name, :string, 1
|
183
|
+
repeated :method, MethodDescriptorProto, 2
|
184
|
+
optional :options, ServiceOptions, 3
|
185
|
+
end
|
186
|
+
|
187
|
+
class MethodDescriptorProto
|
188
|
+
optional :name, :string, 1
|
189
|
+
optional :input_type, :string, 2
|
190
|
+
optional :output_type, :string, 3
|
191
|
+
optional :options, MethodOptions, 4
|
192
|
+
end
|
193
|
+
|
194
|
+
class FileOptions
|
195
|
+
optional :java_package, :string, 1
|
196
|
+
optional :java_outer_classname, :string, 8
|
197
|
+
optional :java_multiple_files, :bool, 10, :default => false
|
198
|
+
optional :java_generate_equals_and_hash, :bool, 20, :default => false
|
199
|
+
optional :optimize_for, FileOptions::OptimizeMode, 9, :default => FileOptions::OptimizeMode::SPEED
|
200
|
+
optional :go_package, :string, 11
|
201
|
+
optional :cc_generic_services, :bool, 16, :default => false
|
202
|
+
optional :java_generic_services, :bool, 17, :default => false
|
203
|
+
optional :py_generic_services, :bool, 18, :default => false
|
204
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
205
|
+
end
|
206
|
+
|
207
|
+
class MessageOptions
|
208
|
+
optional :message_set_wire_format, :bool, 1, :default => false
|
209
|
+
optional :no_standard_descriptor_accessor, :bool, 2, :default => false
|
210
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
211
|
+
end
|
212
|
+
|
213
|
+
class FieldOptions
|
214
|
+
optional :ctype, FieldOptions::CType, 1, :default => FieldOptions::CType::STRING
|
215
|
+
optional :packed, :bool, 2
|
216
|
+
optional :lazy, :bool, 5, :default => false
|
217
|
+
optional :deprecated, :bool, 3, :default => false
|
218
|
+
optional :experimental_map_key, :string, 9
|
219
|
+
optional :weak, :bool, 10, :default => false
|
220
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
221
|
+
end
|
222
|
+
|
223
|
+
class EnumOptions
|
224
|
+
optional :allow_alias, :bool, 2, :default => true
|
225
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
226
|
+
end
|
227
|
+
|
228
|
+
class EnumValueOptions
|
229
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
230
|
+
end
|
231
|
+
|
232
|
+
class ServiceOptions
|
233
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
234
|
+
end
|
235
|
+
|
236
|
+
class MethodOptions
|
237
|
+
repeated :uninterpreted_option, UninterpretedOption, 999
|
238
|
+
end
|
239
|
+
|
240
|
+
class UninterpretedOption
|
241
|
+
|
242
|
+
class NamePart
|
243
|
+
required :name_part, :string, 1
|
244
|
+
required :is_extension, :bool, 2
|
245
|
+
end
|
246
|
+
repeated :name, UninterpretedOption::NamePart, 2
|
247
|
+
optional :identifier_value, :string, 3
|
248
|
+
optional :positive_int_value, :uint64, 4
|
249
|
+
optional :negative_int_value, :int64, 5
|
250
|
+
optional :double_value, :double, 6
|
251
|
+
optional :string_value, :bytes, 7
|
252
|
+
optional :aggregate_value, :string, 8
|
253
|
+
end
|
254
|
+
|
255
|
+
class SourceCodeInfo
|
256
|
+
|
257
|
+
class Location
|
258
|
+
repeated :path, :int32, 1
|
259
|
+
repeated :span, :int32, 2
|
260
|
+
optional :leading_comments, :string, 3
|
261
|
+
optional :trailing_comments, :string, 4
|
262
|
+
end
|
263
|
+
repeated :location, SourceCodeInfo::Location, 1
|
264
|
+
end
|
265
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
## Generated from engine_gcmessages.proto
|
2
|
+
require "beefcake"
|
3
|
+
|
4
|
+
module Csgo
|
5
|
+
|
6
|
+
class CEngineGotvSyncPacket
|
7
|
+
include Beefcake::Message
|
8
|
+
end
|
9
|
+
|
10
|
+
class CEngineGotvSyncPacket
|
11
|
+
optional :match_id, :uint64, 1
|
12
|
+
optional :instance_id, :uint32, 2
|
13
|
+
optional :signupfragment, :uint32, 3
|
14
|
+
optional :currentfragment, :uint32, 4
|
15
|
+
optional :tickrate, :float, 5
|
16
|
+
optional :tick, :uint32, 6
|
17
|
+
optional :rtdelay, :float, 8
|
18
|
+
optional :rcvage, :float, 9
|
19
|
+
optional :keyframe_interval, :float, 10
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,371 @@
|
|
1
|
+
## Generated from gcsdk_gcmessages.proto
|
2
|
+
require "beefcake"
|
3
|
+
|
4
|
+
module Csgo
|
5
|
+
|
6
|
+
module GCConnectionStatus
|
7
|
+
GCConnectionStatus_HAVE_SESSION = 0
|
8
|
+
GCConnectionStatus_GC_GOING_DOWN = 1
|
9
|
+
GCConnectionStatus_NO_SESSION = 2
|
10
|
+
GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3
|
11
|
+
GCConnectionStatus_NO_STEAM = 4
|
12
|
+
end
|
13
|
+
|
14
|
+
class CMsgSOIDOwner
|
15
|
+
include Beefcake::Message
|
16
|
+
end
|
17
|
+
|
18
|
+
class CMsgSOSingleObject
|
19
|
+
include Beefcake::Message
|
20
|
+
end
|
21
|
+
|
22
|
+
class CMsgSOMultipleObjects
|
23
|
+
include Beefcake::Message
|
24
|
+
|
25
|
+
class SingleObject
|
26
|
+
include Beefcake::Message
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
class CMsgSOCacheSubscribed
|
31
|
+
include Beefcake::Message
|
32
|
+
|
33
|
+
class SubscribedType
|
34
|
+
include Beefcake::Message
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class CMsgSOCacheUnsubscribed
|
39
|
+
include Beefcake::Message
|
40
|
+
end
|
41
|
+
|
42
|
+
class CMsgSOCacheSubscriptionCheck
|
43
|
+
include Beefcake::Message
|
44
|
+
end
|
45
|
+
|
46
|
+
class CMsgSOCacheSubscriptionRefresh
|
47
|
+
include Beefcake::Message
|
48
|
+
end
|
49
|
+
|
50
|
+
class CMsgSOCacheVersion
|
51
|
+
include Beefcake::Message
|
52
|
+
end
|
53
|
+
|
54
|
+
class CMsgAccountDetails
|
55
|
+
include Beefcake::Message
|
56
|
+
end
|
57
|
+
|
58
|
+
class CMsgGCMultiplexMessage
|
59
|
+
include Beefcake::Message
|
60
|
+
end
|
61
|
+
|
62
|
+
class CMsgGCMultiplexMessage_Response
|
63
|
+
include Beefcake::Message
|
64
|
+
end
|
65
|
+
|
66
|
+
class CGCToGCMsgMasterAck
|
67
|
+
include Beefcake::Message
|
68
|
+
end
|
69
|
+
|
70
|
+
class CGCToGCMsgMasterAck_Response
|
71
|
+
include Beefcake::Message
|
72
|
+
end
|
73
|
+
|
74
|
+
class CGCToGCMsgMasterStartupComplete
|
75
|
+
include Beefcake::Message
|
76
|
+
end
|
77
|
+
|
78
|
+
class CGCToGCMsgRouted
|
79
|
+
include Beefcake::Message
|
80
|
+
end
|
81
|
+
|
82
|
+
class CGCToGCMsgRoutedReply
|
83
|
+
include Beefcake::Message
|
84
|
+
end
|
85
|
+
|
86
|
+
class CMsgGCUpdateSessionIP
|
87
|
+
include Beefcake::Message
|
88
|
+
end
|
89
|
+
|
90
|
+
class CMsgGCRequestSessionIP
|
91
|
+
include Beefcake::Message
|
92
|
+
end
|
93
|
+
|
94
|
+
class CMsgGCRequestSessionIPResponse
|
95
|
+
include Beefcake::Message
|
96
|
+
end
|
97
|
+
|
98
|
+
class CMsgSOCacheHaveVersion
|
99
|
+
include Beefcake::Message
|
100
|
+
end
|
101
|
+
|
102
|
+
class CMsgClientHello
|
103
|
+
include Beefcake::Message
|
104
|
+
end
|
105
|
+
|
106
|
+
class CMsgServerHello
|
107
|
+
include Beefcake::Message
|
108
|
+
end
|
109
|
+
|
110
|
+
class CMsgClientWelcome
|
111
|
+
include Beefcake::Message
|
112
|
+
|
113
|
+
class Location
|
114
|
+
include Beefcake::Message
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
class CMsgConnectionStatus
|
119
|
+
include Beefcake::Message
|
120
|
+
end
|
121
|
+
|
122
|
+
class CWorkshop_PopulateItemDescriptions_Request
|
123
|
+
include Beefcake::Message
|
124
|
+
|
125
|
+
class SingleItemDescription
|
126
|
+
include Beefcake::Message
|
127
|
+
end
|
128
|
+
|
129
|
+
class ItemDescriptionsLanguageBlock
|
130
|
+
include Beefcake::Message
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
class CWorkshop_GetContributors_Request
|
135
|
+
include Beefcake::Message
|
136
|
+
end
|
137
|
+
|
138
|
+
class CWorkshop_GetContributors_Response
|
139
|
+
include Beefcake::Message
|
140
|
+
end
|
141
|
+
|
142
|
+
class CWorkshop_SetItemPaymentRules_Request
|
143
|
+
include Beefcake::Message
|
144
|
+
|
145
|
+
class WorkshopItemPaymentRule
|
146
|
+
include Beefcake::Message
|
147
|
+
end
|
148
|
+
|
149
|
+
class PartnerItemPaymentRule
|
150
|
+
include Beefcake::Message
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class CWorkshop_SetItemPaymentRules_Response
|
155
|
+
include Beefcake::Message
|
156
|
+
end
|
157
|
+
|
158
|
+
class CMsgSOIDOwner
|
159
|
+
optional :type, :uint32, 1
|
160
|
+
optional :id, :uint64, 2
|
161
|
+
end
|
162
|
+
|
163
|
+
class CMsgSOSingleObject
|
164
|
+
optional :type_id, :int32, 2
|
165
|
+
optional :object_data, :bytes, 3
|
166
|
+
optional :version, :fixed64, 4
|
167
|
+
optional :owner_soid, CMsgSOIDOwner, 5
|
168
|
+
end
|
169
|
+
|
170
|
+
class CMsgSOMultipleObjects
|
171
|
+
|
172
|
+
class SingleObject
|
173
|
+
optional :type_id, :int32, 1
|
174
|
+
optional :object_data, :bytes, 2
|
175
|
+
end
|
176
|
+
repeated :objects_modified, CMsgSOMultipleObjects::SingleObject, 2
|
177
|
+
optional :version, :fixed64, 3
|
178
|
+
repeated :objects_added, CMsgSOMultipleObjects::SingleObject, 4
|
179
|
+
repeated :objects_removed, CMsgSOMultipleObjects::SingleObject, 5
|
180
|
+
optional :owner_soid, CMsgSOIDOwner, 6
|
181
|
+
end
|
182
|
+
|
183
|
+
class CMsgSOCacheSubscribed
|
184
|
+
|
185
|
+
class SubscribedType
|
186
|
+
optional :type_id, :int32, 1
|
187
|
+
repeated :object_data, :bytes, 2
|
188
|
+
end
|
189
|
+
repeated :objects, CMsgSOCacheSubscribed::SubscribedType, 2
|
190
|
+
optional :version, :fixed64, 3
|
191
|
+
optional :owner_soid, CMsgSOIDOwner, 4
|
192
|
+
end
|
193
|
+
|
194
|
+
class CMsgSOCacheUnsubscribed
|
195
|
+
optional :owner_soid, CMsgSOIDOwner, 2
|
196
|
+
end
|
197
|
+
|
198
|
+
class CMsgSOCacheSubscriptionCheck
|
199
|
+
optional :version, :fixed64, 2
|
200
|
+
optional :owner_soid, CMsgSOIDOwner, 3
|
201
|
+
end
|
202
|
+
|
203
|
+
class CMsgSOCacheSubscriptionRefresh
|
204
|
+
optional :owner_soid, CMsgSOIDOwner, 2
|
205
|
+
end
|
206
|
+
|
207
|
+
class CMsgSOCacheVersion
|
208
|
+
optional :version, :fixed64, 1
|
209
|
+
end
|
210
|
+
|
211
|
+
class CMsgAccountDetails
|
212
|
+
optional :valid, :bool, 1
|
213
|
+
optional :account_name, :string, 2
|
214
|
+
optional :public_profile, :bool, 4
|
215
|
+
optional :public_inventory, :bool, 5
|
216
|
+
optional :vac_banned, :bool, 6
|
217
|
+
optional :cyber_cafe, :bool, 7
|
218
|
+
optional :school_account, :bool, 8
|
219
|
+
optional :free_trial_account, :bool, 9
|
220
|
+
optional :subscribed, :bool, 10
|
221
|
+
optional :low_violence, :bool, 11
|
222
|
+
optional :limited, :bool, 12
|
223
|
+
optional :trusted, :bool, 13
|
224
|
+
optional :package, :uint32, 14
|
225
|
+
optional :time_cached, :fixed32, 15
|
226
|
+
optional :account_locked, :bool, 16
|
227
|
+
optional :community_banned, :bool, 17
|
228
|
+
optional :trade_banned, :bool, 18
|
229
|
+
optional :eligible_for_community_market, :bool, 19
|
230
|
+
end
|
231
|
+
|
232
|
+
class CMsgGCMultiplexMessage
|
233
|
+
optional :msgtype, :uint32, 1
|
234
|
+
optional :payload, :bytes, 2
|
235
|
+
repeated :steamids, :fixed64, 3
|
236
|
+
optional :replytogc, :bool, 4
|
237
|
+
end
|
238
|
+
|
239
|
+
class CMsgGCMultiplexMessage_Response
|
240
|
+
optional :msgtype, :uint32, 1
|
241
|
+
end
|
242
|
+
|
243
|
+
class CGCToGCMsgMasterAck
|
244
|
+
optional :dir_index, :uint32, 1
|
245
|
+
optional :gc_type, :uint32, 2
|
246
|
+
end
|
247
|
+
|
248
|
+
class CGCToGCMsgMasterAck_Response
|
249
|
+
optional :eresult, :int32, 1, :default => 2
|
250
|
+
end
|
251
|
+
|
252
|
+
class CGCToGCMsgMasterStartupComplete
|
253
|
+
end
|
254
|
+
|
255
|
+
class CGCToGCMsgRouted
|
256
|
+
optional :msg_type, :uint32, 1
|
257
|
+
optional :sender_id, :fixed64, 2
|
258
|
+
optional :net_message, :bytes, 3
|
259
|
+
end
|
260
|
+
|
261
|
+
class CGCToGCMsgRoutedReply
|
262
|
+
optional :msg_type, :uint32, 1
|
263
|
+
optional :net_message, :bytes, 2
|
264
|
+
end
|
265
|
+
|
266
|
+
class CMsgGCUpdateSessionIP
|
267
|
+
optional :steamid, :fixed64, 1
|
268
|
+
optional :ip, :fixed32, 2
|
269
|
+
end
|
270
|
+
|
271
|
+
class CMsgGCRequestSessionIP
|
272
|
+
optional :steamid, :fixed64, 1
|
273
|
+
end
|
274
|
+
|
275
|
+
class CMsgGCRequestSessionIPResponse
|
276
|
+
optional :ip, :fixed32, 1
|
277
|
+
end
|
278
|
+
|
279
|
+
class CMsgSOCacheHaveVersion
|
280
|
+
optional :soid, CMsgSOIDOwner, 1
|
281
|
+
optional :version, :fixed64, 2
|
282
|
+
end
|
283
|
+
|
284
|
+
class CMsgClientHello
|
285
|
+
optional :version, :uint32, 1
|
286
|
+
repeated :socache_have_versions, CMsgSOCacheHaveVersion, 2
|
287
|
+
optional :client_session_need, :uint32, 3
|
288
|
+
optional :client_launcher, :uint32, 4
|
289
|
+
end
|
290
|
+
|
291
|
+
class CMsgServerHello
|
292
|
+
optional :version, :uint32, 1
|
293
|
+
repeated :socache_have_versions, CMsgSOCacheHaveVersion, 2
|
294
|
+
optional :legacy_client_session_need, :uint32, 3
|
295
|
+
optional :legacy_client_launcher, :uint32, 4
|
296
|
+
optional :steamdatagram_port, :uint32, 5
|
297
|
+
end
|
298
|
+
|
299
|
+
class CMsgClientWelcome
|
300
|
+
|
301
|
+
class Location
|
302
|
+
optional :latitude, :float, 1
|
303
|
+
optional :longitude, :float, 2
|
304
|
+
optional :country, :string, 3
|
305
|
+
end
|
306
|
+
optional :version, :uint32, 1
|
307
|
+
optional :game_data, :bytes, 2
|
308
|
+
repeated :outofdate_subscribed_caches, CMsgSOCacheSubscribed, 3
|
309
|
+
repeated :uptodate_subscribed_caches, CMsgSOCacheSubscriptionCheck, 4
|
310
|
+
optional :location, CMsgClientWelcome::Location, 5
|
311
|
+
optional :game_data2, :bytes, 6
|
312
|
+
optional :rtime32_gc_welcome_timestamp, :uint32, 7
|
313
|
+
optional :currency, :uint32, 8
|
314
|
+
end
|
315
|
+
|
316
|
+
class CMsgConnectionStatus
|
317
|
+
optional :status, GCConnectionStatus, 1, :default => GCConnectionStatus::GCConnectionStatus_HAVE_SESSION
|
318
|
+
optional :client_session_need, :uint32, 2
|
319
|
+
optional :queue_position, :int32, 3
|
320
|
+
optional :queue_size, :int32, 4
|
321
|
+
optional :wait_seconds, :int32, 5
|
322
|
+
optional :estimated_wait_seconds_remaining, :int32, 6
|
323
|
+
end
|
324
|
+
|
325
|
+
class CWorkshop_PopulateItemDescriptions_Request
|
326
|
+
|
327
|
+
class SingleItemDescription
|
328
|
+
optional :gameitemid, :uint32, 1
|
329
|
+
optional :item_description, :string, 2
|
330
|
+
optional :one_per_account, :bool, 3
|
331
|
+
end
|
332
|
+
|
333
|
+
class ItemDescriptionsLanguageBlock
|
334
|
+
optional :language, :string, 1
|
335
|
+
repeated :descriptions, CWorkshop_PopulateItemDescriptions_Request::SingleItemDescription, 2
|
336
|
+
end
|
337
|
+
optional :appid, :uint32, 1
|
338
|
+
repeated :languages, CWorkshop_PopulateItemDescriptions_Request::ItemDescriptionsLanguageBlock, 2
|
339
|
+
end
|
340
|
+
|
341
|
+
class CWorkshop_GetContributors_Request
|
342
|
+
optional :appid, :uint32, 1
|
343
|
+
optional :gameitemid, :uint32, 2
|
344
|
+
end
|
345
|
+
|
346
|
+
class CWorkshop_GetContributors_Response
|
347
|
+
repeated :contributors, :fixed64, 1
|
348
|
+
end
|
349
|
+
|
350
|
+
class CWorkshop_SetItemPaymentRules_Request
|
351
|
+
|
352
|
+
class WorkshopItemPaymentRule
|
353
|
+
optional :workshop_file_id, :uint64, 1
|
354
|
+
optional :revenue_percentage, :float, 2
|
355
|
+
optional :rule_description, :string, 3
|
356
|
+
end
|
357
|
+
|
358
|
+
class PartnerItemPaymentRule
|
359
|
+
optional :account_id, :uint32, 1
|
360
|
+
optional :revenue_percentage, :float, 2
|
361
|
+
optional :rule_description, :string, 3
|
362
|
+
end
|
363
|
+
optional :appid, :uint32, 1
|
364
|
+
optional :gameitemid, :uint32, 2
|
365
|
+
repeated :associated_workshop_files, CWorkshop_SetItemPaymentRules_Request::WorkshopItemPaymentRule, 3
|
366
|
+
repeated :partner_accounts, CWorkshop_SetItemPaymentRules_Request::PartnerItemPaymentRule, 4
|
367
|
+
end
|
368
|
+
|
369
|
+
class CWorkshop_SetItemPaymentRules_Response
|
370
|
+
end
|
371
|
+
end
|