2023-11-15 18:58:12 -05:00
|
|
|
import "steammessages.proto";
|
|
|
|
|
|
|
|
enum GCClientLauncherType {
|
|
|
|
GCClientLauncherType_DEFAULT = 0;
|
|
|
|
GCClientLauncherType_PERFECTWORLD = 1;
|
|
|
|
GCClientLauncherType_STEAMCHINA = 2;
|
2024-02-07 08:26:21 -05:00
|
|
|
GCClientLauncherType_SOURCE2 = 3;
|
2023-11-15 18:58:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
enum GCConnectionStatus {
|
|
|
|
GCConnectionStatus_HAVE_SESSION = 0;
|
|
|
|
GCConnectionStatus_GC_GOING_DOWN = 1;
|
|
|
|
GCConnectionStatus_NO_SESSION = 2;
|
|
|
|
GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3;
|
|
|
|
GCConnectionStatus_NO_STEAM = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOIDOwner {
|
|
|
|
optional uint32 type = 1;
|
|
|
|
optional uint64 id = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOSingleObject {
|
|
|
|
optional int32 type_id = 2;
|
|
|
|
optional bytes object_data = 3;
|
|
|
|
optional fixed64 version = 4;
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOMultipleObjects {
|
|
|
|
message SingleObject {
|
|
|
|
option (msgpool_soft_limit) = 256;
|
|
|
|
option (msgpool_hard_limit) = 1024;
|
|
|
|
|
|
|
|
optional int32 type_id = 1;
|
|
|
|
optional bytes object_data = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2;
|
|
|
|
optional fixed64 version = 3;
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheSubscribed {
|
|
|
|
message SubscribedType {
|
|
|
|
optional int32 type_id = 1;
|
|
|
|
repeated bytes object_data = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2;
|
|
|
|
optional fixed64 version = 3;
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheUnsubscribed {
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheSubscriptionCheck {
|
|
|
|
optional fixed64 version = 2;
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheSubscriptionRefresh {
|
|
|
|
optional .CMsgSOIDOwner owner_soid = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheVersion {
|
|
|
|
optional fixed64 version = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgAccountDetails {
|
|
|
|
optional bool valid = 1;
|
|
|
|
optional string account_name = 2;
|
|
|
|
optional bool public_profile = 4;
|
|
|
|
optional bool public_inventory = 5;
|
|
|
|
optional bool vac_banned = 6;
|
|
|
|
optional bool cyber_cafe = 7;
|
|
|
|
optional bool school_account = 8;
|
|
|
|
optional bool free_trial_account = 9;
|
|
|
|
optional bool subscribed = 10;
|
|
|
|
optional bool low_violence = 11;
|
|
|
|
optional bool limited = 12;
|
|
|
|
optional bool trusted = 13;
|
|
|
|
optional uint32 package = 14;
|
|
|
|
optional fixed32 time_cached = 15;
|
|
|
|
optional bool account_locked = 16;
|
|
|
|
optional bool community_banned = 17;
|
|
|
|
optional bool trade_banned = 18;
|
|
|
|
optional bool eligible_for_community_market = 19;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgGCMultiplexMessage {
|
|
|
|
optional uint32 msgtype = 1;
|
|
|
|
optional bytes payload = 2;
|
|
|
|
repeated fixed64 steamids = 3;
|
|
|
|
optional bool replytogc = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgGCMultiplexMessage_Response {
|
|
|
|
optional uint32 msgtype = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGCToGCMsgMasterAck {
|
|
|
|
optional uint32 dir_index = 1;
|
|
|
|
optional uint32 gc_type = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGCToGCMsgMasterAck_Response {
|
|
|
|
optional int32 eresult = 1 [default = 2];
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGCToGCMsgMasterStartupComplete {
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGCToGCMsgRouted {
|
|
|
|
optional uint32 msg_type = 1;
|
|
|
|
optional fixed64 sender_id = 2;
|
|
|
|
optional bytes net_message = 3;
|
|
|
|
optional uint32 ip = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGCToGCMsgRoutedReply {
|
|
|
|
optional uint32 msg_type = 1;
|
|
|
|
optional bytes net_message = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgGCUpdateSessionIP {
|
|
|
|
optional fixed64 steamid = 1;
|
|
|
|
optional fixed32 ip = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgGCRequestSessionIP {
|
|
|
|
optional fixed64 steamid = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgGCRequestSessionIPResponse {
|
|
|
|
optional fixed32 ip = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSOCacheHaveVersion {
|
|
|
|
optional .CMsgSOIDOwner soid = 1;
|
|
|
|
optional fixed64 version = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgClientHello {
|
|
|
|
optional uint32 version = 1;
|
|
|
|
repeated .CMsgSOCacheHaveVersion socache_have_versions = 2;
|
|
|
|
optional uint32 client_session_need = 3;
|
|
|
|
optional uint32 client_launcher = 4;
|
|
|
|
optional uint32 partner_srcid = 5;
|
|
|
|
optional uint32 partner_accountid = 6;
|
|
|
|
optional uint32 partner_accountflags = 7;
|
|
|
|
optional uint32 partner_accountbalance = 8;
|
|
|
|
optional uint32 steam_launcher = 9;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgServerHello {
|
|
|
|
optional uint32 version = 1;
|
|
|
|
repeated .CMsgSOCacheHaveVersion socache_have_versions = 2;
|
|
|
|
optional uint32 legacy_client_session_need = 3;
|
|
|
|
optional uint32 client_launcher = 4;
|
|
|
|
optional bytes legacy_steamdatagram_routing = 6;
|
|
|
|
optional uint32 required_internal_addr = 7;
|
|
|
|
optional bytes steamdatagram_login = 8;
|
2024-02-07 08:26:21 -05:00
|
|
|
optional uint32 socache_control = 9;
|
2023-11-15 18:58:12 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgClientWelcome {
|
|
|
|
message Location {
|
|
|
|
optional float latitude = 1;
|
|
|
|
optional float longitude = 2;
|
|
|
|
optional string country = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 version = 1;
|
|
|
|
optional bytes game_data = 2;
|
|
|
|
repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3;
|
|
|
|
repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4;
|
|
|
|
optional .CMsgClientWelcome.Location location = 5;
|
|
|
|
optional bytes game_data2 = 6;
|
|
|
|
optional uint32 rtime32_gc_welcome_timestamp = 7;
|
|
|
|
optional uint32 currency = 8;
|
|
|
|
optional uint32 balance = 9;
|
|
|
|
optional string balance_url = 10;
|
|
|
|
optional string txn_country_code = 11;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgConnectionStatus {
|
|
|
|
optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION];
|
|
|
|
optional uint32 client_session_need = 2;
|
|
|
|
optional int32 queue_position = 3;
|
|
|
|
optional int32 queue_size = 4;
|
|
|
|
optional int32 wait_seconds = 5;
|
|
|
|
optional int32 estimated_wait_seconds_remaining = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_PopulateItemDescriptions_Request {
|
|
|
|
message SingleItemDescription {
|
|
|
|
optional uint32 gameitemid = 1;
|
|
|
|
optional string item_description = 2;
|
|
|
|
optional bool one_per_account = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ItemDescriptionsLanguageBlock {
|
|
|
|
optional string language = 1;
|
|
|
|
repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 appid = 1;
|
|
|
|
repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_GetContributors_Request {
|
|
|
|
optional uint32 appid = 1;
|
|
|
|
optional uint32 gameitemid = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_GetContributors_Response {
|
|
|
|
repeated fixed64 contributors = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_SetItemPaymentRules_Request {
|
|
|
|
message WorkshopItemPaymentRule {
|
|
|
|
optional uint64 workshop_file_id = 1;
|
|
|
|
optional float revenue_percentage = 2;
|
|
|
|
optional string rule_description = 3;
|
|
|
|
optional uint32 rule_type = 4 [default = 1];
|
|
|
|
}
|
|
|
|
|
|
|
|
message WorkshopDirectPaymentRule {
|
|
|
|
optional uint64 workshop_file_id = 1;
|
|
|
|
optional string rule_description = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PartnerItemPaymentRule {
|
|
|
|
optional uint32 account_id = 1;
|
|
|
|
optional float revenue_percentage = 2;
|
|
|
|
optional string rule_description = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 appid = 1;
|
|
|
|
optional uint32 gameitemid = 2;
|
|
|
|
repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3;
|
|
|
|
repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4;
|
|
|
|
optional bool validate_only = 5;
|
|
|
|
optional bool make_workshop_files_subscribable = 6;
|
|
|
|
optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_SetItemPaymentRules_Response {
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGameServers_AggregationQuery_Request {
|
|
|
|
optional string filter = 1;
|
|
|
|
repeated string group_fields = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CGameServers_AggregationQuery_Response {
|
|
|
|
message Group {
|
|
|
|
repeated string group_values = 1;
|
|
|
|
optional uint32 servers_empty = 2;
|
|
|
|
optional uint32 servers_full = 3;
|
|
|
|
optional uint32 servers_total = 4;
|
|
|
|
optional uint32 players_humans = 5;
|
|
|
|
optional uint32 players_bots = 6;
|
|
|
|
optional uint32 player_capacity = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
repeated .CGameServers_AggregationQuery_Response.Group groups = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_AddSpecialPayment_Request {
|
|
|
|
optional uint32 appid = 1;
|
|
|
|
optional uint32 gameitemid = 2;
|
|
|
|
optional string date = 3;
|
|
|
|
optional uint64 payment_us_usd = 4;
|
|
|
|
optional uint64 payment_row_usd = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CWorkshop_AddSpecialPayment_Response {
|
|
|
|
}
|
|
|
|
|
|
|
|
message CProductInfo_SetRichPresenceLocalization_Request {
|
|
|
|
message Token {
|
|
|
|
optional string token = 1;
|
|
|
|
optional string value = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message LanguageSection {
|
|
|
|
optional string language = 1;
|
|
|
|
repeated .CProductInfo_SetRichPresenceLocalization_Request.Token tokens = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 appid = 1;
|
|
|
|
repeated .CProductInfo_SetRichPresenceLocalization_Request.LanguageSection languages = 2;
|
|
|
|
optional uint64 steamid = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CProductInfo_SetRichPresenceLocalization_Response {
|
|
|
|
}
|
|
|
|
|
|
|
|
message CMsgSerializedSOCache {
|
|
|
|
message TypeCache {
|
|
|
|
optional uint32 type = 1;
|
|
|
|
repeated bytes objects = 2;
|
|
|
|
optional uint32 service_id = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Cache {
|
|
|
|
message Version {
|
|
|
|
optional uint32 service = 1;
|
|
|
|
optional uint64 version = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 type = 1;
|
|
|
|
optional uint64 id = 2;
|
|
|
|
repeated .CMsgSerializedSOCache.Cache.Version versions = 3;
|
|
|
|
repeated .CMsgSerializedSOCache.TypeCache type_caches = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
optional uint32 file_version = 1;
|
|
|
|
repeated .CMsgSerializedSOCache.Cache caches = 2;
|
|
|
|
optional uint32 gc_socache_file_version = 3;
|
|
|
|
}
|