Browse Source

include source proto in the repo

pull/18/merge
Rossen Georgiev 9 years ago
parent
commit
57dc787734
  1. 8
      Makefile
  2. 11
      protobufs/encrypted_app_ticket.proto
  3. 20
      protobufs/gc.proto
  4. 84
      protobufs/steammessages_base.proto
  5. 1404
      protobufs/steammessages_clientserver.proto
  6. 1227
      protobufs/steammessages_clientserver_2.proto

8
Makefile

@ -53,14 +53,14 @@ upload: dist register
twine upload -r pypi dist/* twine upload -r pypi dist/*
pb_fetch: pb_fetch:
wget -nv --show-progress -N -P ./steam/protobufs/ -i protobuf_list.txt wget -nv --show-progress -N -P ./protobufs/ -i protobuf_list.txt
pb_compile: pb_compile:
for filepath in `ls ./steam/protobufs/*.proto`; do \ for filepath in `ls ./protobufs/*.proto`; do \
protoc --python_out ./steam/protobufs/ --proto_path=/usr/include --proto_path=./steam/protobufs "$$filepath"; \ protoc --python_out ./steam/protobufs/ --proto_path=/usr/include --proto_path=./protobufs "$$filepath"; \
done; done;
pb_clear: pb_clear:
rm -f ./stema/protobufs/*.proto rm -f ./protobufs/*.proto
pb_update: pb_fetch pb_compile pb_update: pb_fetch pb_compile

11
protobufs/encrypted_app_ticket.proto

@ -0,0 +1,11 @@
option optimize_for = SPEED;
option cc_generic_services = false;
message EncryptedAppTicket {
optional uint32 ticket_version_no = 1;
optional uint32 crc_encryptedticket = 2;
optional uint32 cb_encrypteduserdata = 3;
optional uint32 cb_encrypted_appownershipticket = 4;
optional bytes encrypted_ticket = 5;
}

20
protobufs/gc.proto

@ -0,0 +1,20 @@
enum GCProtoBufMsgSrc {
GCProtoBufMsgSrc_Unspecified = 0;
GCProtoBufMsgSrc_FromSystem = 1;
GCProtoBufMsgSrc_FromSteamID = 2;
GCProtoBufMsgSrc_FromGC = 3;
GCProtoBufMsgSrc_ReplySystem = 4;
}
message CMsgProtoBufHeader {
optional fixed64 client_steam_id = 1;
optional int32 client_session_id = 2;
optional uint32 source_app_id = 3;
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
optional uint32 gc_dir_index_source = 201;
}

84
protobufs/steammessages_base.proto

@ -0,0 +1,84 @@
import "google/protobuf/descriptor.proto";
option optimize_for = SPEED;
option cc_generic_services = false;
extend .google.protobuf.MessageOptions {
optional int32 msgpool_soft_limit = 50000 [default = 32];
optional int32 msgpool_hard_limit = 50001 [default = 384];
}
message CMsgProtoBufHeader {
optional fixed64 steamid = 1;
optional int32 client_sessionid = 2;
optional uint32 routing_appid = 3;
optional fixed64 jobid_source = 10 [default = 18446744073709551615];
optional fixed64 jobid_target = 11 [default = 18446744073709551615];
optional string target_job_name = 12;
optional int32 seq_num = 24;
optional int32 eresult = 13 [default = 2];
optional string error_message = 14;
optional uint32 ip = 15;
optional uint32 auth_account_flags = 16;
optional uint32 token_source = 22;
optional bool admin_spoofing_user = 23;
optional int32 transport_error = 17 [default = 1];
optional uint64 messageid = 18 [default = 18446744073709551615];
optional uint32 publisher_group_id = 19;
optional uint32 sysid = 20;
optional uint64 trace_tag = 21;
optional uint32 webapi_key_id = 25;
}
message CMsgMulti {
optional uint32 size_unzipped = 1;
optional bytes message_body = 2;
}
message CMsgProtobufWrapped {
optional bytes message_body = 1;
}
message CMsgAuthTicket {
optional uint32 estate = 1;
optional uint32 eresult = 2 [default = 2];
optional fixed64 steamid = 3;
optional fixed64 gameid = 4;
optional uint32 h_steam_pipe = 5;
optional uint32 ticket_crc = 6;
optional bytes ticket = 7;
}
message CCDDBAppDetailCommon {
optional uint32 appid = 1;
optional string name = 2;
optional string icon = 3;
optional string logo = 4;
optional string logo_small = 5;
optional bool tool = 6;
optional bool demo = 7;
optional bool media = 8;
optional bool community_visible_stats = 9;
optional string friendly_name = 10;
optional string propagation = 11;
optional bool has_adult_content = 12;
}
message CMsgAppRights {
optional bool edit_info = 1;
optional bool publish = 2;
optional bool view_error_data = 3;
optional bool download = 4;
optional bool upload_cdkeys = 5;
optional bool generate_cdkeys = 6;
optional bool view_financials = 7;
optional bool manage_ceg = 8;
optional bool manage_signing = 9;
optional bool manage_cdkeys = 10;
optional bool edit_marketing = 11;
optional bool economy_support = 12;
optional bool economy_support_supervisor = 13;
optional bool manage_pricing = 14;
optional bool broadcast_live = 15;
}

1404
protobufs/steammessages_clientserver.proto

File diff suppressed because it is too large

1227
protobufs/steammessages_clientserver_2.proto

File diff suppressed because it is too large
Loading…
Cancel
Save