mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 03:56:10 +08:00
Add/update protos
This commit is contained in:
@ -95,6 +95,7 @@ enum Bidirectional_Messages {
|
||||
bi_RebroadcastGameEvent = 16;
|
||||
bi_RebroadcastSource = 17;
|
||||
bi_GameEvent = 18;
|
||||
bi_PredictionEvent = 19;
|
||||
}
|
||||
|
||||
enum Bidirectional_Messages_LowFrequency {
|
||||
@ -427,7 +428,7 @@ message CSVCMsg_PacketEntities {
|
||||
optional uint32 server_tick = 12;
|
||||
optional bytes serialized_entities = 13;
|
||||
repeated .CSVCMsg_PacketEntities.alternate_baseline_t alternate_baselines = 15;
|
||||
optional uint32 has_pvs_vis_bits = 16;
|
||||
optional uint32 has_pvs_vis_bits_deprecated = 16;
|
||||
repeated sint32 cmd_recv_status = 22 [packed = true];
|
||||
optional .CSVCMsg_PacketEntities.non_transmitted_entities_t non_transmitted_entities = 19;
|
||||
optional uint32 cq_starved_command_ticks = 20;
|
||||
@ -573,6 +574,18 @@ message CBidirMsg_RebroadcastSource {
|
||||
optional int32 eventsource = 1;
|
||||
}
|
||||
|
||||
message CBidirMsg_PredictionEvent {
|
||||
enum ESyncType {
|
||||
ST_Tick = 0;
|
||||
ST_UserCmdNum = 1;
|
||||
}
|
||||
|
||||
required uint32 event_id = 1;
|
||||
required bytes event_data = 2;
|
||||
optional uint32 sync_type = 3;
|
||||
optional uint32 sync_val_uint32 = 4;
|
||||
}
|
||||
|
||||
message CMsgServerNetworkStats {
|
||||
message Port {
|
||||
optional int32 port = 1;
|
||||
|
@ -126,4 +126,5 @@ enum ENetworkDisconnectionReason {
|
||||
NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"];
|
||||
NETWORK_DISCONNECT_KICKED_INPUTAUTOMATION = 162 [(network_connection_token) = "#Player_DisconnectReason_InputAutomation", (network_connection_detail_token) = "#Player_DisconnectReason_InputAutomation_Detail"];
|
||||
NETWORK_DISCONNECT_KICKED_VACNETABNORMALBEHAVIOR = 163 [(network_connection_token) = "#Player_DisconnectReason_VacNetAbnormalBehavior"];
|
||||
NETWORK_DISCONNECT_KICKED_INSECURECLIENT = 164 [(network_connection_token) = "#Player_DisconnectReason_InsecureClient"];
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ extend .google.protobuf.FieldOptions {
|
||||
optional uint32 steamml_max_entries = 61004 [default = 0];
|
||||
optional bool steamml_is_timestamp = 61005 [default = false];
|
||||
optional uint32 steamlearn_count = 61006 [default = 0];
|
||||
optional .EProtoDebugVisiblity debugprint_visibility = 61007 [default = k_EProtoDebugVisibility_Always];
|
||||
}
|
||||
|
||||
extend .google.protobuf.EnumValueOptions {
|
||||
@ -15,3 +16,11 @@ extend .google.protobuf.EnumValueOptions {
|
||||
optional string schema_description = 1001;
|
||||
optional bool schema_suppress_enumerator = 1002;
|
||||
}
|
||||
|
||||
enum EProtoDebugVisiblity {
|
||||
k_EProtoDebugVisibility_Always = 0;
|
||||
k_EProtoDebugVisibility_Server = 70;
|
||||
k_EProtoDebugVisibility_ValveServer = 80;
|
||||
k_EProtoDebugVisibility_GC = 90;
|
||||
k_EProtoDebugVisibility_Never = 100;
|
||||
}
|
||||
|
@ -1,574 +1,412 @@
|
||||
import "steammessages.proto";
|
||||
|
||||
enum EGCBaseMsg {
|
||||
k_EMsgGCSystemMessage = 4001;
|
||||
k_EMsgGCReplicateConVars = 4002;
|
||||
k_EMsgGCConVarUpdated = 4003;
|
||||
k_EMsgGCInQueue = 4008;
|
||||
k_EMsgGCInviteToParty = 4501;
|
||||
k_EMsgGCInvitationCreated = 4502;
|
||||
k_EMsgGCPartyInviteResponse = 4503;
|
||||
k_EMsgGCKickFromParty = 4504;
|
||||
k_EMsgGCLeaveParty = 4505;
|
||||
k_EMsgGCServerAvailable = 4506;
|
||||
k_EMsgGCClientConnectToServer = 4507;
|
||||
k_EMsgGCGameServerInfo = 4508;
|
||||
k_EMsgGCError = 4509;
|
||||
k_EMsgGCReplay_UploadedToYouTube = 4510;
|
||||
k_EMsgGCLANServerAvailable = 4511;
|
||||
}
|
||||
|
||||
enum EGCBaseProtoObjectTypes {
|
||||
k_EProtoObjectPartyInvite = 1001;
|
||||
k_EProtoObjectLobbyInvite = 1002;
|
||||
}
|
||||
|
||||
enum GC_BannedWordType {
|
||||
GC_BANNED_WORD_DISABLE_WORD = 0;
|
||||
GC_BANNED_WORD_ENABLE_WORD = 1;
|
||||
}
|
||||
|
||||
message CGCStorePurchaseInit_LineItem {
|
||||
optional uint32 item_def_id = 1;
|
||||
optional uint32 quantity = 2;
|
||||
optional uint32 cost_in_local_currency = 3;
|
||||
optional uint32 purchase_type = 4;
|
||||
optional uint64 supplemental_data = 5;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseInit {
|
||||
optional string country = 1;
|
||||
optional int32 language = 2;
|
||||
optional int32 currency = 3;
|
||||
repeated .CGCStorePurchaseInit_LineItem line_items = 4;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseInitResponse {
|
||||
optional int32 result = 1;
|
||||
optional uint64 txn_id = 2;
|
||||
optional string url = 3;
|
||||
repeated uint64 item_ids = 4;
|
||||
}
|
||||
|
||||
message CSOPartyInvite {
|
||||
optional uint64 group_id = 1 [(key_field) = true];
|
||||
optional fixed64 sender_id = 2;
|
||||
optional string sender_name = 3;
|
||||
}
|
||||
|
||||
message CSOLobbyInvite {
|
||||
optional uint64 group_id = 1 [(key_field) = true];
|
||||
optional fixed64 sender_id = 2;
|
||||
optional string sender_name = 3;
|
||||
}
|
||||
|
||||
message CMsgSystemBroadcast {
|
||||
optional string message = 1;
|
||||
}
|
||||
|
||||
message CMsgInviteToParty {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 client_version = 2;
|
||||
optional uint32 team_invite = 3;
|
||||
}
|
||||
|
||||
message CMsgInvitationCreated {
|
||||
optional uint64 group_id = 1;
|
||||
optional fixed64 steam_id = 2;
|
||||
}
|
||||
|
||||
message CMsgPartyInviteResponse {
|
||||
optional uint64 party_id = 1;
|
||||
optional bool accept = 2;
|
||||
optional uint32 client_version = 3;
|
||||
optional uint32 team_invite = 4;
|
||||
}
|
||||
|
||||
message CMsgKickFromParty {
|
||||
optional fixed64 steam_id = 1;
|
||||
}
|
||||
|
||||
message CMsgLeaveParty {
|
||||
}
|
||||
|
||||
message CMsgServerAvailable {
|
||||
}
|
||||
|
||||
message CMsgLANServerAvailable {
|
||||
optional fixed64 lobby_id = 1;
|
||||
}
|
||||
|
||||
message CSOEconGameAccountClient {
|
||||
optional uint32 additional_backpack_slots = 1 [default = 0];
|
||||
optional fixed32 trade_ban_expiration = 6;
|
||||
optional fixed32 bonus_xp_timestamp_refresh = 12;
|
||||
optional uint32 bonus_xp_usedflags = 13;
|
||||
optional uint32 elevated_state = 14;
|
||||
optional uint32 elevated_timestamp = 15;
|
||||
}
|
||||
|
||||
message CSOItemCriteriaCondition {
|
||||
optional int32 op = 1;
|
||||
optional string field = 2;
|
||||
optional bool required = 3;
|
||||
optional float float_value = 4;
|
||||
optional string string_value = 5;
|
||||
}
|
||||
|
||||
message CSOItemCriteria {
|
||||
optional uint32 item_level = 1;
|
||||
optional int32 item_quality = 2;
|
||||
optional bool item_level_set = 3;
|
||||
optional bool item_quality_set = 4;
|
||||
optional uint32 initial_inventory = 5;
|
||||
optional uint32 initial_quantity = 6;
|
||||
optional bool ignore_enabled_flag = 8;
|
||||
repeated .CSOItemCriteriaCondition conditions = 9;
|
||||
optional int32 item_rarity = 10;
|
||||
optional bool item_rarity_set = 11;
|
||||
optional bool recent_only = 12;
|
||||
}
|
||||
|
||||
message CSOItemRecipe {
|
||||
optional uint32 def_index = 1;
|
||||
optional string name = 2;
|
||||
optional string n_a = 3;
|
||||
optional string desc_inputs = 4;
|
||||
optional string desc_outputs = 5;
|
||||
optional string di_a = 6;
|
||||
optional string di_b = 7;
|
||||
optional string di_c = 8;
|
||||
optional string do_a = 9;
|
||||
optional string do_b = 10;
|
||||
optional string do_c = 11;
|
||||
optional bool requires_all_same_class = 12;
|
||||
optional bool requires_all_same_slot = 13;
|
||||
optional int32 class_usage_for_output = 14;
|
||||
optional int32 slot_usage_for_output = 15;
|
||||
optional int32 set_for_output = 16;
|
||||
repeated .CSOItemCriteria input_items_criteria = 20;
|
||||
repeated .CSOItemCriteria output_items_criteria = 21;
|
||||
repeated uint32 input_item_dupe_counts = 22;
|
||||
}
|
||||
|
||||
message CMsgDevNewItemRequest {
|
||||
optional fixed64 receiver = 1;
|
||||
optional .CSOItemCriteria criteria = 2;
|
||||
}
|
||||
|
||||
message CMsgIncrementKillCountAttribute {
|
||||
optional fixed32 killer_account_id = 1;
|
||||
optional fixed32 victim_account_id = 2;
|
||||
optional uint64 item_id = 3;
|
||||
optional uint32 event_type = 4;
|
||||
optional uint32 amount = 5;
|
||||
}
|
||||
|
||||
message CMsgApplySticker {
|
||||
optional uint64 sticker_item_id = 1;
|
||||
optional uint64 item_item_id = 2;
|
||||
optional uint32 sticker_slot = 3;
|
||||
optional uint32 baseitem_defidx = 4;
|
||||
optional float sticker_wear = 5;
|
||||
optional float sticker_rotation = 6;
|
||||
optional float sticker_scale = 7;
|
||||
optional float sticker_offset_x = 8;
|
||||
optional float sticker_offset_y = 9;
|
||||
optional float sticker_offset_z = 10;
|
||||
optional float sticker_wear_target = 11;
|
||||
}
|
||||
|
||||
message CMsgModifyItemAttribute {
|
||||
optional uint64 item_id = 1;
|
||||
optional uint32 attr_defidx = 2;
|
||||
optional uint32 attr_value = 3;
|
||||
}
|
||||
|
||||
message CMsgApplyStatTrakSwap {
|
||||
optional uint64 tool_item_id = 1;
|
||||
optional uint64 item_1_item_id = 2;
|
||||
optional uint64 item_2_item_id = 3;
|
||||
}
|
||||
|
||||
message CMsgApplyStrangePart {
|
||||
optional uint64 strange_part_item_id = 1;
|
||||
optional uint64 item_item_id = 2;
|
||||
}
|
||||
|
||||
message CMsgApplyPennantUpgrade {
|
||||
optional uint64 upgrade_item_id = 1;
|
||||
optional uint64 pennant_item_id = 2;
|
||||
}
|
||||
|
||||
message CMsgApplyEggEssence {
|
||||
optional uint64 essence_item_id = 1;
|
||||
optional uint64 egg_item_id = 2;
|
||||
}
|
||||
|
||||
message CSOEconItemAttribute {
|
||||
optional uint32 def_index = 1;
|
||||
optional uint32 value = 2;
|
||||
optional bytes value_bytes = 3;
|
||||
}
|
||||
|
||||
message CSOEconItemEquipped {
|
||||
optional uint32 new_class = 1;
|
||||
optional uint32 new_slot = 2;
|
||||
}
|
||||
|
||||
message CSOEconItem {
|
||||
optional uint64 id = 1;
|
||||
optional uint32 account_id = 2;
|
||||
optional uint32 inventory = 3;
|
||||
optional uint32 def_index = 4;
|
||||
optional uint32 quantity = 5;
|
||||
optional uint32 level = 6;
|
||||
optional uint32 quality = 7;
|
||||
optional uint32 flags = 8 [default = 0];
|
||||
optional uint32 origin = 9;
|
||||
optional string custom_name = 10;
|
||||
optional string custom_desc = 11;
|
||||
repeated .CSOEconItemAttribute attribute = 12;
|
||||
optional .CSOEconItem interior_item = 13;
|
||||
optional bool in_use = 14 [default = false];
|
||||
optional uint32 style = 15 [default = 0];
|
||||
optional uint64 original_id = 16 [default = 0];
|
||||
repeated .CSOEconItemEquipped equipped_state = 18;
|
||||
optional uint32 rarity = 19;
|
||||
}
|
||||
|
||||
message CMsgAdjustItemEquippedState {
|
||||
optional uint64 item_id = 1;
|
||||
optional uint32 new_class = 2;
|
||||
optional uint32 new_slot = 3;
|
||||
optional bool swap = 4;
|
||||
}
|
||||
|
||||
message CMsgAdjustItemEquippedStateMulti {
|
||||
repeated uint64 t_equips = 1;
|
||||
repeated uint64 ct_equips = 2;
|
||||
repeated uint64 noteam_equips = 3;
|
||||
}
|
||||
|
||||
message CMsgSortItems {
|
||||
optional uint32 sort_type = 1;
|
||||
}
|
||||
|
||||
message CSOEconClaimCode {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 code_type = 2;
|
||||
optional uint32 time_acquired = 3;
|
||||
optional string code = 4;
|
||||
}
|
||||
|
||||
message CMsgStoreGetUserData {
|
||||
optional fixed32 price_sheet_version = 1;
|
||||
optional int32 currency = 2;
|
||||
}
|
||||
|
||||
message CMsgStoreGetUserDataResponse {
|
||||
optional int32 result = 1;
|
||||
optional int32 currency_deprecated = 2;
|
||||
optional string country_deprecated = 3;
|
||||
optional fixed32 price_sheet_version = 4;
|
||||
optional bytes price_sheet = 8;
|
||||
}
|
||||
|
||||
message CMsgUpdateItemSchema {
|
||||
optional bytes items_game = 1;
|
||||
optional fixed32 item_schema_version = 2;
|
||||
optional string items_game_url = 4;
|
||||
}
|
||||
|
||||
message CMsgGCError {
|
||||
optional string error_text = 1;
|
||||
}
|
||||
|
||||
message CMsgRequestInventoryRefresh {
|
||||
}
|
||||
|
||||
message CMsgConVarValue {
|
||||
optional string name = 1;
|
||||
optional string value = 2;
|
||||
}
|
||||
|
||||
message CMsgReplicateConVars {
|
||||
repeated .CMsgConVarValue convars = 1;
|
||||
}
|
||||
|
||||
message CMsgUseItem {
|
||||
optional uint64 item_id = 1;
|
||||
optional fixed64 target_steam_id = 2;
|
||||
repeated uint32 gift__potential_targets = 3;
|
||||
optional uint32 duel__class_lock = 4;
|
||||
optional fixed64 initiator_steam_id = 5;
|
||||
}
|
||||
|
||||
message CMsgReplayUploadedToYouTube {
|
||||
optional string youtube_url = 1;
|
||||
optional string youtube_account_name = 2;
|
||||
optional uint64 session_id = 3;
|
||||
}
|
||||
|
||||
message CMsgConsumableExhausted {
|
||||
optional int32 item_def_id = 1;
|
||||
}
|
||||
|
||||
message CMsgItemAcknowledged__DEPRECATED {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 inventory = 2;
|
||||
optional uint32 def_index = 3;
|
||||
optional uint32 quality = 4;
|
||||
optional uint32 rarity = 5;
|
||||
optional uint32 origin = 6;
|
||||
optional uint64 item_id = 7;
|
||||
}
|
||||
|
||||
message CMsgSetItemPositions {
|
||||
message ItemPosition {
|
||||
optional uint32 legacy_item_id = 1;
|
||||
optional uint32 position = 2;
|
||||
optional uint64 item_id = 3;
|
||||
}
|
||||
|
||||
repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
|
||||
}
|
||||
|
||||
message CMsgGCReportAbuse {
|
||||
optional fixed64 target_steam_id = 1;
|
||||
optional string description = 4;
|
||||
optional uint64 gid = 5;
|
||||
optional uint32 abuse_type = 2;
|
||||
optional uint32 content_type = 3;
|
||||
optional fixed32 target_game_server_ip = 6;
|
||||
optional uint32 target_game_server_port = 7;
|
||||
}
|
||||
|
||||
message CMsgGCReportAbuseResponse {
|
||||
optional fixed64 target_steam_id = 1;
|
||||
optional uint32 result = 2;
|
||||
optional string error_message = 3;
|
||||
}
|
||||
|
||||
message CMsgGCNameItemNotification {
|
||||
optional fixed64 player_steamid = 1;
|
||||
optional uint32 item_def_index = 2;
|
||||
optional string item_name_custom = 3;
|
||||
}
|
||||
|
||||
message CMsgGCClientDisplayNotification {
|
||||
optional string notification_title_localization_key = 1;
|
||||
optional string notification_body_localization_key = 2;
|
||||
repeated string body_substring_keys = 3;
|
||||
repeated string body_substring_values = 4;
|
||||
}
|
||||
|
||||
message CMsgGCShowItemsPickedUp {
|
||||
optional fixed64 player_steamid = 1;
|
||||
}
|
||||
|
||||
message CMsgGCIncrementKillCountResponse {
|
||||
optional uint32 killer_account_id = 1 [(key_field) = true];
|
||||
optional uint32 num_kills = 2;
|
||||
optional uint32 item_def = 3;
|
||||
optional uint32 level_type = 4;
|
||||
}
|
||||
|
||||
message CSOEconItemDropRateBonus {
|
||||
optional uint32 account_id = 1;
|
||||
optional fixed32 expiration_date = 2;
|
||||
optional float bonus = 3;
|
||||
optional uint32 bonus_count = 4;
|
||||
optional uint64 item_id = 5;
|
||||
optional uint32 def_index = 6;
|
||||
}
|
||||
|
||||
message CSOEconItemLeagueViewPass {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint32 league_id = 2 [(key_field) = true];
|
||||
optional uint32 admin = 3;
|
||||
optional uint32 itemindex = 4;
|
||||
}
|
||||
|
||||
message CSOEconItemEventTicket {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 event_id = 2;
|
||||
optional uint64 item_id = 3;
|
||||
}
|
||||
|
||||
message CMsgGCItemPreviewItemBoughtNotification {
|
||||
optional uint32 item_def_index = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseCancel {
|
||||
optional uint64 txn_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseCancelResponse {
|
||||
optional uint32 result = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseFinalize {
|
||||
optional uint64 txn_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseFinalizeResponse {
|
||||
optional uint32 result = 1;
|
||||
repeated uint64 item_ids = 2;
|
||||
}
|
||||
|
||||
message CMsgGCBannedWordListRequest {
|
||||
optional uint32 ban_list_group_id = 1;
|
||||
optional uint32 word_id = 2;
|
||||
}
|
||||
|
||||
message CMsgGCRequestAnnouncements {
|
||||
}
|
||||
|
||||
message CMsgGCRequestAnnouncementsResponse {
|
||||
optional string announcement_title = 1;
|
||||
optional string announcement = 2;
|
||||
optional string nextmatch_title = 3;
|
||||
optional string nextmatch = 4;
|
||||
}
|
||||
|
||||
message CMsgGCBannedWord {
|
||||
optional uint32 word_id = 1;
|
||||
optional .GC_BannedWordType word_type = 2 [default = GC_BANNED_WORD_DISABLE_WORD];
|
||||
optional string word = 3;
|
||||
}
|
||||
|
||||
message CMsgGCBannedWordListResponse {
|
||||
optional uint32 ban_list_group_id = 1;
|
||||
repeated .CMsgGCBannedWord word_list = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCBannedWordListBroadcast {
|
||||
optional .CMsgGCBannedWordListResponse broadcast = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCBannedWordListUpdated {
|
||||
optional uint32 group_id = 1;
|
||||
}
|
||||
|
||||
message CSOEconDefaultEquippedDefinitionInstanceClient {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint32 item_definition = 2;
|
||||
optional uint32 class_id = 3 [(key_field) = true];
|
||||
optional uint32 slot_id = 4 [(key_field) = true];
|
||||
}
|
||||
|
||||
message CMsgGCToGCDirtySDOCache {
|
||||
optional uint32 sdo_type = 1;
|
||||
optional uint64 key_uint64 = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCDirtyMultipleSDOCache {
|
||||
optional uint32 sdo_type = 1;
|
||||
repeated uint64 key_uint64 = 2;
|
||||
}
|
||||
|
||||
message CMsgGCCollectItem {
|
||||
optional uint64 collection_item_id = 1;
|
||||
optional uint64 subject_item_id = 2;
|
||||
}
|
||||
|
||||
message CMsgSDONoMemcached {
|
||||
}
|
||||
|
||||
message CMsgGCToGCUpdateSQLKeyValue {
|
||||
optional string key_name = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCIsTrustedServer {
|
||||
optional fixed64 steam_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCIsTrustedServerResponse {
|
||||
optional bool is_trusted = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCBroadcastConsoleCommand {
|
||||
optional string con_command = 1;
|
||||
}
|
||||
|
||||
message CMsgGCServerVersionUpdated {
|
||||
optional uint32 server_version = 1;
|
||||
}
|
||||
|
||||
message CMsgGCClientVersionUpdated {
|
||||
optional uint32 client_version = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCWebAPIAccountChanged {
|
||||
}
|
||||
|
||||
message CMsgGCToGCRequestPassportItemGrant {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 league_id = 2;
|
||||
optional int32 reward_flag = 3;
|
||||
}
|
||||
|
||||
message CMsgGameServerInfo {
|
||||
enum ServerType {
|
||||
UNSPECIFIED = 0;
|
||||
GAME = 1;
|
||||
PROXY = 2;
|
||||
}
|
||||
|
||||
optional fixed32 server_public_ip_addr = 1;
|
||||
optional fixed32 server_private_ip_addr = 2;
|
||||
optional uint32 server_port = 3;
|
||||
optional uint32 server_tv_port = 4;
|
||||
optional string server_key = 5;
|
||||
optional bool server_hibernation = 6;
|
||||
optional .CMsgGameServerInfo.ServerType server_type = 7 [default = UNSPECIFIED];
|
||||
optional uint32 server_region = 8;
|
||||
optional float server_loadavg = 9;
|
||||
optional float server_tv_broadcast_time = 10;
|
||||
optional float server_game_time = 11;
|
||||
optional fixed64 server_relay_connected_steam_id = 12;
|
||||
optional uint32 relay_slots_max = 13;
|
||||
optional int32 relays_connected = 14;
|
||||
optional int32 relay_clients_connected = 15;
|
||||
optional fixed64 relayed_game_server_steam_id = 16;
|
||||
optional uint32 parent_relay_count = 17;
|
||||
optional fixed64 tv_secret_code = 18;
|
||||
}
|
||||
|
||||
message CSOEconEquipSlot {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint32 class_id = 2 [(key_field) = true];
|
||||
optional uint32 slot_id = 3 [(key_field) = true];
|
||||
optional uint64 item_id = 4;
|
||||
optional uint32 item_definition = 5;
|
||||
}
|
||||
|
||||
message CMsgAdjustEquipSlot {
|
||||
optional uint32 class_id = 1;
|
||||
optional uint32 slot_id = 2;
|
||||
optional uint64 item_id = 3;
|
||||
}
|
||||
|
||||
message CMsgAdjustEquipSlots {
|
||||
repeated .CMsgAdjustEquipSlot slots = 1;
|
||||
optional uint32 change_num = 2;
|
||||
}
|
||||
|
||||
message CMsgOpenCrate {
|
||||
optional uint64 tool_item_id = 1;
|
||||
optional uint64 subject_item_id = 2;
|
||||
optional bool for_rental = 3;
|
||||
}
|
||||
|
||||
message CSOEconRentalHistory {
|
||||
optional uint32 account_id = 1 [(key_field) = true];
|
||||
optional uint64 crate_item_id = 2 [(key_field) = true];
|
||||
optional uint32 crate_def_index = 3;
|
||||
optional uint32 issue_date = 4;
|
||||
optional uint32 expiration_date = 5;
|
||||
}
|
||||
|
||||
message CMsgAcknowledgeRentalExpiration {
|
||||
optional uint64 crate_item_id = 1;
|
||||
}
|
||||
import "steammessages.proto";
|
||||
import "gcsdk_gcmessages.proto";
|
||||
import "steammessages_steamlearn.steamworkssdk.proto";
|
||||
|
||||
enum EGCBaseMsg {
|
||||
k_EMsgGCInviteToParty = 4501;
|
||||
k_EMsgGCInvitationCreated = 4502;
|
||||
k_EMsgGCPartyInviteResponse = 4503;
|
||||
k_EMsgGCKickFromParty = 4504;
|
||||
k_EMsgGCLeaveParty = 4505;
|
||||
k_EMsgGCServerAvailable = 4506;
|
||||
k_EMsgGCClientConnectToServer = 4507;
|
||||
k_EMsgGCGameServerInfo = 4508;
|
||||
k_EMsgGCLANServerAvailable = 4511;
|
||||
k_EMsgGCInviteToLobby = 4512;
|
||||
k_EMsgGCLobbyInviteResponse = 4513;
|
||||
k_EMsgGCToClientPollFileRequest = 4514;
|
||||
k_EMsgGCToClientPollFileResponse = 4515;
|
||||
k_EMsgGCToGCPerformManualOp = 4516;
|
||||
k_EMsgGCToGCPerformManualOpCompleted = 4517;
|
||||
k_EMsgGCToGCReloadServerRegionSettings = 4518;
|
||||
k_EMsgGCAdditionalWelcomeMsgList = 4519;
|
||||
k_EMsgGCToClientApplyRemoteConVars = 4520;
|
||||
k_EMsgGCToServerApplyRemoteConVars = 4521;
|
||||
k_EMsgClientToGCIntegrityStatus = 4522;
|
||||
k_EMsgClientToGCAggregateMetrics = 4523;
|
||||
k_EMsgGCToClientAggregateMetricsBackoff = 4524;
|
||||
k_EMsgGCToServerSteamLearnAccessTokensChanged = 4525;
|
||||
k_EMsgGCToServerSteamLearnUseHTTP = 4526;
|
||||
}
|
||||
|
||||
enum ECustomGameInstallStatus {
|
||||
k_ECustomGameInstallStatus_Unknown = 0;
|
||||
k_ECustomGameInstallStatus_Ready = 1;
|
||||
k_ECustomGameInstallStatus_Busy = 2;
|
||||
k_ECustomGameInstallStatus_FailedGeneric = 101;
|
||||
k_ECustomGameInstallStatus_FailedInternalError = 102;
|
||||
k_ECustomGameInstallStatus_RequestedTimestampTooOld = 103;
|
||||
k_ECustomGameInstallStatus_RequestedTimestampTooNew = 104;
|
||||
k_ECustomGameInstallStatus_CRCMismatch = 105;
|
||||
k_ECustomGameInstallStatus_FailedSteam = 106;
|
||||
k_ECustomGameInstallStatus_FailedCanceled = 107;
|
||||
}
|
||||
|
||||
message CGCStorePurchaseInit_LineItem {
|
||||
optional uint32 item_def_id = 1;
|
||||
optional uint32 quantity = 2;
|
||||
optional uint32 cost_in_local_currency = 3;
|
||||
optional uint32 purchase_type = 4;
|
||||
optional uint64 source_reference_id = 5;
|
||||
optional int32 price_index = 6;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseInit {
|
||||
optional string country = 1;
|
||||
optional int32 language = 2;
|
||||
optional int32 currency = 3;
|
||||
repeated .CGCStorePurchaseInit_LineItem line_items = 4;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseInitResponse {
|
||||
optional int32 result = 1;
|
||||
optional uint64 txn_id = 2;
|
||||
}
|
||||
|
||||
message CMsgClientPingData {
|
||||
repeated fixed32 relay_codes = 4 [packed = true];
|
||||
repeated uint32 relay_pings = 5 [packed = true];
|
||||
repeated uint32 region_codes = 8 [packed = true];
|
||||
repeated uint32 region_pings = 9 [packed = true];
|
||||
optional uint32 region_ping_failed_bitmask = 10;
|
||||
}
|
||||
|
||||
message CMsgInviteToParty {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 client_version = 2;
|
||||
optional uint32 team_id = 3;
|
||||
optional bool as_coach = 4;
|
||||
optional .CMsgClientPingData ping_data = 5;
|
||||
}
|
||||
|
||||
message CMsgInviteToLobby {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 client_version = 2;
|
||||
}
|
||||
|
||||
message CMsgInvitationCreated {
|
||||
optional uint64 group_id = 1;
|
||||
optional fixed64 steam_id = 2;
|
||||
optional bool user_offline = 3;
|
||||
}
|
||||
|
||||
message CMsgPartyInviteResponse {
|
||||
optional uint64 party_id = 1;
|
||||
optional bool accept = 2;
|
||||
optional uint32 client_version = 3;
|
||||
optional .CMsgClientPingData ping_data = 8;
|
||||
}
|
||||
|
||||
message CMsgLobbyInviteResponse {
|
||||
optional fixed64 lobby_id = 1;
|
||||
optional bool accept = 2;
|
||||
optional uint32 client_version = 3;
|
||||
optional fixed64 custom_game_crc = 6;
|
||||
optional fixed32 custom_game_timestamp = 7;
|
||||
}
|
||||
|
||||
message CMsgKickFromParty {
|
||||
optional fixed64 steam_id = 1;
|
||||
}
|
||||
|
||||
message CMsgLeaveParty {
|
||||
}
|
||||
|
||||
message CMsgCustomGameInstallStatus {
|
||||
optional .ECustomGameInstallStatus status = 1 [default = k_ECustomGameInstallStatus_Unknown];
|
||||
optional string message = 2;
|
||||
optional fixed32 latest_timestamp_from_steam = 3;
|
||||
}
|
||||
|
||||
message CMsgServerAvailable {
|
||||
optional .CMsgCustomGameInstallStatus custom_game_install_status = 1;
|
||||
}
|
||||
|
||||
message CMsgLANServerAvailable {
|
||||
optional fixed64 lobby_id = 1;
|
||||
}
|
||||
|
||||
message CSOEconGameAccountClient {
|
||||
optional uint32 additional_backpack_slots = 1 [default = 0];
|
||||
optional bool trial_account = 2 [default = false];
|
||||
optional bool eligible_for_online_play = 3 [default = true];
|
||||
optional bool need_to_choose_most_helpful_friend = 4;
|
||||
optional bool in_coaches_list = 5;
|
||||
optional fixed32 trade_ban_expiration = 6;
|
||||
optional fixed32 duel_ban_expiration = 7;
|
||||
optional bool made_first_purchase = 9 [default = false];
|
||||
}
|
||||
|
||||
message CMsgApplyStrangePart {
|
||||
optional uint64 strange_part_item_id = 1;
|
||||
optional uint64 item_item_id = 2;
|
||||
}
|
||||
|
||||
message CMsgApplyPennantUpgrade {
|
||||
optional uint64 upgrade_item_id = 1;
|
||||
optional uint64 pennant_item_id = 2;
|
||||
}
|
||||
|
||||
message CMsgApplyEggEssence {
|
||||
optional uint64 essence_item_id = 1;
|
||||
optional uint64 egg_item_id = 2;
|
||||
}
|
||||
|
||||
message CSOEconItemAttribute {
|
||||
optional uint32 def_index = 1 [default = 65535];
|
||||
optional uint32 value = 2;
|
||||
optional bytes value_bytes = 3;
|
||||
}
|
||||
|
||||
message CSOEconItemEquipped {
|
||||
optional uint32 new_class = 1;
|
||||
optional uint32 new_slot = 2;
|
||||
}
|
||||
|
||||
message CSOEconItem {
|
||||
optional uint64 id = 1;
|
||||
optional uint32 account_id = 2;
|
||||
optional uint32 inventory = 3;
|
||||
optional uint32 def_index = 4;
|
||||
optional uint32 quantity = 5 [default = 1];
|
||||
optional uint32 level = 6 [default = 1];
|
||||
optional uint32 quality = 7 [default = 4];
|
||||
optional uint32 flags = 8 [default = 0];
|
||||
optional uint32 origin = 9 [default = 0];
|
||||
repeated .CSOEconItemAttribute attribute = 12;
|
||||
optional .CSOEconItem interior_item = 13;
|
||||
optional uint32 style = 15 [default = 0];
|
||||
optional uint64 original_id = 16;
|
||||
repeated .CSOEconItemEquipped equipped_state = 18;
|
||||
}
|
||||
|
||||
message CMsgSortItems {
|
||||
optional uint32 sort_type = 1;
|
||||
}
|
||||
|
||||
message CMsgItemAcknowledged {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 inventory = 2;
|
||||
optional uint32 def_index = 3;
|
||||
optional uint32 quality = 4;
|
||||
optional uint32 rarity = 5;
|
||||
optional uint32 origin = 6;
|
||||
}
|
||||
|
||||
message CMsgSetItemPositions {
|
||||
message ItemPosition {
|
||||
optional uint64 item_id = 1;
|
||||
optional uint32 position = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgSetItemPositions.ItemPosition item_positions = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseCancel {
|
||||
optional uint64 txn_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseCancelResponse {
|
||||
optional uint32 result = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseFinalize {
|
||||
optional uint64 txn_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCStorePurchaseFinalizeResponse {
|
||||
optional uint32 result = 1;
|
||||
repeated uint64 item_ids = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCBannedWordListUpdated {
|
||||
optional uint32 group_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCDirtySDOCache {
|
||||
optional uint32 sdo_type = 1;
|
||||
optional uint64 key_uint64 = 2;
|
||||
}
|
||||
|
||||
message CMsgSDONoMemcached {
|
||||
}
|
||||
|
||||
message CMsgGCToGCUpdateSQLKeyValue {
|
||||
optional string key_name = 1;
|
||||
}
|
||||
|
||||
message CMsgGCServerVersionUpdated {
|
||||
optional uint32 server_version = 1;
|
||||
}
|
||||
|
||||
message CMsgGCClientVersionUpdated {
|
||||
optional uint32 client_version = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCWebAPIAccountChanged {
|
||||
}
|
||||
|
||||
message CMsgExtractGems {
|
||||
optional uint64 tool_item_id = 1;
|
||||
optional uint64 item_item_id = 2;
|
||||
optional uint32 item_socket_id = 3 [default = 65535];
|
||||
}
|
||||
|
||||
message CMsgExtractGemsResponse {
|
||||
enum EExtractGems {
|
||||
k_ExtractGems_Succeeded = 0;
|
||||
k_ExtractGems_Failed_ToolIsInvalid = 1;
|
||||
k_ExtractGems_Failed_ItemIsInvalid = 2;
|
||||
k_ExtractGems_Failed_ToolCannotRemoveGem = 3;
|
||||
k_ExtractGems_Failed_FailedToRemoveGem = 4;
|
||||
}
|
||||
|
||||
optional uint64 item_id = 1;
|
||||
optional .CMsgExtractGemsResponse.EExtractGems response = 2 [default = k_ExtractGems_Succeeded];
|
||||
}
|
||||
|
||||
message CMsgAddSocket {
|
||||
optional uint64 tool_item_id = 1;
|
||||
optional uint64 item_item_id = 2;
|
||||
optional bool unusual = 3;
|
||||
}
|
||||
|
||||
message CMsgAddSocketResponse {
|
||||
enum EAddSocket {
|
||||
k_AddSocket_Succeeded = 0;
|
||||
k_AddSocket_Failed_ToolIsInvalid = 1;
|
||||
k_AddSocket_Failed_ItemCannotBeSocketed = 2;
|
||||
k_AddSocket_Failed_FailedToAddSocket = 3;
|
||||
}
|
||||
|
||||
optional uint64 item_id = 1;
|
||||
repeated uint32 updated_socket_index = 2;
|
||||
optional .CMsgAddSocketResponse.EAddSocket response = 3 [default = k_AddSocket_Succeeded];
|
||||
}
|
||||
|
||||
message CMsgAddItemToSocketData {
|
||||
optional uint64 gem_item_id = 1;
|
||||
optional uint32 socket_index = 2 [default = 65535];
|
||||
}
|
||||
|
||||
message CMsgAddItemToSocket {
|
||||
optional uint64 item_item_id = 1;
|
||||
repeated .CMsgAddItemToSocketData gems_to_socket = 2;
|
||||
}
|
||||
|
||||
message CMsgAddItemToSocketResponse {
|
||||
enum EAddGem {
|
||||
k_AddGem_Succeeded = 0;
|
||||
k_AddGem_Failed_GemIsInvalid = 1;
|
||||
k_AddGem_Failed_ItemIsInvalid = 2;
|
||||
k_AddGem_Failed_FailedToAddGem = 3;
|
||||
k_AddGem_Failed_InvalidGemTypeForSocket = 4;
|
||||
k_AddGem_Failed_InvalidGemTypeForHero = 5;
|
||||
k_AddGem_Failed_InvalidGemTypeForSlot = 6;
|
||||
k_AddGem_Failed_SocketContainsUnremovableGem = 7;
|
||||
}
|
||||
|
||||
optional uint64 item_item_id = 1;
|
||||
repeated uint32 updated_socket_index = 2;
|
||||
optional .CMsgAddItemToSocketResponse.EAddGem response = 3 [default = k_AddGem_Succeeded];
|
||||
}
|
||||
|
||||
message CMsgResetStrangeGemCount {
|
||||
optional uint64 item_item_id = 1;
|
||||
optional uint32 socket_index = 2 [default = 65535];
|
||||
}
|
||||
|
||||
message CMsgResetStrangeGemCountResponse {
|
||||
enum EResetGem {
|
||||
k_ResetGem_Succeeded = 0;
|
||||
k_ResetGem_Failed_FailedToResetGem = 1;
|
||||
k_ResetGem_Failed_ItemIsInvalid = 2;
|
||||
k_ResetGem_Failed_InvalidSocketId = 3;
|
||||
k_ResetGem_Failed_SocketCannotBeReset = 4;
|
||||
}
|
||||
|
||||
optional .CMsgResetStrangeGemCountResponse.EResetGem response = 1 [default = k_ResetGem_Succeeded];
|
||||
}
|
||||
|
||||
message CMsgGCToClientPollFileRequest {
|
||||
optional string file_name = 1;
|
||||
optional uint32 client_version = 2;
|
||||
optional uint32 poll_id = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToClientPollFileResponse {
|
||||
optional uint32 poll_id = 1;
|
||||
optional uint32 file_size = 2;
|
||||
optional uint32 file_crc = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToGCPerformManualOp {
|
||||
optional uint64 op_id = 1;
|
||||
optional uint32 group_code = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCPerformManualOpCompleted {
|
||||
optional bool success = 1;
|
||||
optional int32 source_gc = 2 [default = -1];
|
||||
}
|
||||
|
||||
message CMsgGCToGCReloadServerRegionSettings {
|
||||
}
|
||||
|
||||
message CMsgGCAdditionalWelcomeMsgList {
|
||||
repeated .CExtraMsgBlock welcome_messages = 1;
|
||||
}
|
||||
|
||||
message CMsgApplyRemoteConVars {
|
||||
message ConVar {
|
||||
optional string name = 1;
|
||||
optional string value = 2;
|
||||
optional uint32 version_min = 3;
|
||||
optional uint32 version_max = 4;
|
||||
optional .EGCPlatform platform = 5 [default = k_eGCPlatform_None];
|
||||
}
|
||||
|
||||
repeated .CMsgApplyRemoteConVars.ConVar con_vars = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToClientApplyRemoteConVars {
|
||||
optional .CMsgApplyRemoteConVars msg = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerApplyRemoteConVars {
|
||||
optional .CMsgApplyRemoteConVars msg = 1;
|
||||
}
|
||||
|
||||
message CMsgClientToGCIntegrityStatus {
|
||||
message keyvalue {
|
||||
optional uint32 id = 1;
|
||||
optional uint32 extended = 2;
|
||||
optional uint64 value = 3;
|
||||
optional string string_value = 4;
|
||||
}
|
||||
|
||||
optional string report = 1;
|
||||
optional bool secure_allowed = 2;
|
||||
repeated .CMsgClientToGCIntegrityStatus.keyvalue diagnostics = 3;
|
||||
}
|
||||
|
||||
message CMsgClientToGCAggregateMetrics {
|
||||
message SingleMetric {
|
||||
optional string metric_name = 1;
|
||||
optional uint32 metric_count = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgClientToGCAggregateMetrics.SingleMetric metrics = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToClientAggregateMetricsBackoff {
|
||||
optional float upload_rate_modifier = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerSteamLearnAccessTokensChanged {
|
||||
optional .CMsgSteamLearnAccessTokens access_tokens = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerSteamLearnUseHTTP {
|
||||
optional bool use_http = 1;
|
||||
}
|
||||
|
52
game/shared/base_modifier.proto
Normal file
52
game/shared/base_modifier.proto
Normal file
@ -0,0 +1,52 @@
|
||||
import "networkbasetypes.proto";
|
||||
|
||||
enum MODIFIER_ENTRY_TYPE {
|
||||
MODIFIER_ENTRY_TYPE_ACTIVE = 1;
|
||||
MODIFIER_ENTRY_TYPE_REMOVED = 2;
|
||||
}
|
||||
|
||||
message CModifierTableEntry {
|
||||
required .MODIFIER_ENTRY_TYPE entry_type = 1 [default = MODIFIER_ENTRY_TYPE_ACTIVE];
|
||||
required uint32 parent = 2 [default = 16777215];
|
||||
required uint32 serial_number = 3;
|
||||
optional uint32 modifier_subclass = 4;
|
||||
optional int32 stack_count = 5;
|
||||
optional int32 max_stack_count = 6;
|
||||
optional float last_applied_time = 7;
|
||||
optional float duration = 8 [default = -1];
|
||||
optional uint32 caster = 9 [default = 16777215];
|
||||
optional uint32 ability = 10 [default = 16777215];
|
||||
optional int32 aura_provider_serial_number = 11;
|
||||
optional uint32 aura_provider_ehandle = 12 [default = 16777215];
|
||||
optional uint32 ability_subclass = 13;
|
||||
optional bool bool1_ = 20;
|
||||
optional bool bool2_ = 21;
|
||||
optional bool bool3_ = 22;
|
||||
optional bool bool4_ = 23;
|
||||
optional int32 int1_ = 25;
|
||||
optional int32 int2_ = 26;
|
||||
optional int32 int3_ = 27;
|
||||
optional int32 int4_ = 28;
|
||||
optional float float1_ = 30;
|
||||
optional float float2_ = 31;
|
||||
optional float float3_ = 32;
|
||||
optional float float4_ = 33;
|
||||
optional float float5_ = 49;
|
||||
optional float float6_ = 50;
|
||||
optional float float7_ = 51;
|
||||
optional float float8_ = 52;
|
||||
optional float float9_ = 53;
|
||||
optional float float10_ = 54;
|
||||
optional uint64 uint1_ = 35;
|
||||
optional uint64 uint2_ = 36;
|
||||
optional uint64 uint3_ = 37;
|
||||
optional uint64 uint4_ = 38;
|
||||
optional .CMsgVector vec1_ = 40;
|
||||
optional .CMsgVector vec2_ = 41;
|
||||
optional .CMsgVector vec3_ = 42;
|
||||
optional .CMsgVector vec4_ = 43;
|
||||
optional string string1_ = 45;
|
||||
optional string string2_ = 46;
|
||||
optional string string3_ = 47;
|
||||
optional string string4_ = 48;
|
||||
}
|
120
game/shared/citadel/citadel_clientmessages.proto
Normal file
120
game/shared/citadel/citadel_clientmessages.proto
Normal file
@ -0,0 +1,120 @@
|
||||
import "networkbasetypes.proto";
|
||||
import "citadel_gcmessages_common.proto";
|
||||
|
||||
enum ECitadelClientMessages {
|
||||
CITADEL_CM_MapPing = 1002;
|
||||
CITADEL_CM_PerformanceStats = 1003;
|
||||
CITADEL_CM_PingWheel = 1004;
|
||||
CITADEL_CM_ChatMsg = 1005;
|
||||
CITADEL_CM_PerfReport = 1006;
|
||||
CITADEL_CM_QuickResponse = 1007;
|
||||
CITADEL_CM_Pause = 1008;
|
||||
CITADEL_CM_MapLine = 1009;
|
||||
CITADEL_CM_AbilityPing = 1010;
|
||||
CITADEL_CM_ExecuteMapUnitAbility = 1011;
|
||||
CITADEL_CM_GetDamageStats = 1012;
|
||||
CITADEL_CM_CheaterVote = 1013;
|
||||
CITADEL_CM_MutePlayers = 1014;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_Pause {
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_MapPing {
|
||||
optional .CMsgVector ping_location = 1;
|
||||
optional int32 event_type = 2;
|
||||
optional int32 entity_index = 3 [default = -1];
|
||||
optional bool is_aggressive_ping = 4;
|
||||
optional bool is_minimap_ping = 5;
|
||||
optional bool is_blind_ping = 6;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_PingWheel {
|
||||
optional uint32 ping_wheel_option_id = 1;
|
||||
optional uint32 subnav_message_id = 2;
|
||||
optional .CMsgVector ping_location = 3;
|
||||
optional int32 entity_index = 4 [default = -1];
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_AbilityPing {
|
||||
optional int32 entity_index = 1 [default = -1];
|
||||
optional uint32 pinged_ability_id = 2;
|
||||
optional int32 pinged_player_slot = 3 [default = -1];
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_MapLine {
|
||||
optional .CMsgMapLine mapline = 1;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_QuickResponse {
|
||||
optional uint32 ping_wheel_message_id = 1;
|
||||
optional uint32 responding_to_ping_message_id = 2;
|
||||
optional int32 responding_to_player_slot = 3 [default = -1];
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_PerformanceStats {
|
||||
optional float current_game_time = 1;
|
||||
optional float average_fps = 2;
|
||||
optional float min_fps = 3;
|
||||
optional float max_fps = 4;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_ChatMsg {
|
||||
optional string chat_text = 1;
|
||||
optional bool all_chat = 2;
|
||||
optional .CMsgLaneColor lane_color = 3 [default = k_ELaneColor_Invalid];
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_PerfReport {
|
||||
optional float average_frame_time = 1;
|
||||
optional float max_frame_time = 2;
|
||||
optional float average_compute_time = 3;
|
||||
optional float max_compute_time = 4;
|
||||
optional float average_client_tick_time = 5;
|
||||
optional float max_client_tick_time = 6;
|
||||
optional float average_client_simulate_time = 7;
|
||||
optional float max_client_simulate_time = 8;
|
||||
optional float average_output_time = 9;
|
||||
optional float max_output_time = 10;
|
||||
optional float average_wait_for_rendering_to_complete_time = 11;
|
||||
optional float max_wait_for_rendering_to_complete_time = 12;
|
||||
optional float average_swap_time = 13;
|
||||
optional float max_swap_time = 14;
|
||||
optional float average_frame_update_time = 15;
|
||||
optional float max_frame_update_time = 16;
|
||||
optional float average_idle_time = 17;
|
||||
optional float max_idle_time = 18;
|
||||
optional float average_input_processing_time = 19;
|
||||
optional float max_input_processing_time = 20;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_GetDamageStats {
|
||||
optional uint32 lobby_player_slot = 1;
|
||||
optional string ability_name = 2;
|
||||
}
|
||||
|
||||
message CCitadelClientCachedPlayerStats {
|
||||
message Stat {
|
||||
optional string stat_name = 1;
|
||||
optional uint64 all_time_total = 2;
|
||||
optional uint32 all_time_match_max = 3;
|
||||
optional uint32 all_time_life_max = 4;
|
||||
}
|
||||
|
||||
optional uint32 version = 1;
|
||||
repeated .CCitadelClientCachedPlayerStats.Stat stats = 2;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_ExecuteMapUnitAbility {
|
||||
optional int32 ability_entity_index = 1;
|
||||
optional int32 target_entity_index = 2;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_CheaterVote {
|
||||
optional bool end_game_immediately = 1;
|
||||
}
|
||||
|
||||
message CCitadelClientMsg_MutePlayers {
|
||||
repeated int32 player_slots = 1;
|
||||
optional bool unmute = 2;
|
||||
}
|
204
game/shared/citadel/citadel_gameevents.proto
Normal file
204
game/shared/citadel/citadel_gameevents.proto
Normal file
@ -0,0 +1,204 @@
|
||||
import "google/protobuf/descriptor.proto";
|
||||
import "networkbasetypes.proto";
|
||||
|
||||
enum ECitadelGameEvents {
|
||||
GE_FireBullets = 450;
|
||||
GE_PlayerAnimEvent = 451;
|
||||
GE_ParticleSystemManager = 458;
|
||||
GE_ScreenTextPretty = 459;
|
||||
GE_ServerRequestedTracer = 460;
|
||||
GE_BulletImpact = 461;
|
||||
GE_EnableSatVolumesEvent = 462;
|
||||
GE_PlaceSatVolumeEvent = 463;
|
||||
GE_DisableSatVolumesEvent = 464;
|
||||
GE_RemoveSatVolumeEvent = 465;
|
||||
}
|
||||
|
||||
enum PARTICLE_SYSTEM_MANAGER_MESSAGE {
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_CREATE = 0;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_DESTROY = 1;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_DESTROY_INVOLVING = 2;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_RELEASE = 3;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE = 4;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_FORWARD = 5;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_ORIENTATION = 6;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_FALLBACK = 7;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_ENT = 8;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_OFFSET = 9;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_FROZEN = 10;
|
||||
PARTICLE_SYSTEM_MANAGER_EVENT_UPDATE_SHOULD_DRAW = 11;
|
||||
}
|
||||
|
||||
message CMsgFireBullets {
|
||||
message TracerAssignment {
|
||||
optional uint64 tracer_resource_id = 1;
|
||||
optional uint32 bullet_indicies = 2;
|
||||
}
|
||||
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgQAngle angles = 2;
|
||||
optional uint32 seed = 4;
|
||||
optional int32 shooter_entity = 5 [default = -1];
|
||||
optional int32 ability = 7 [default = -1];
|
||||
optional float penetration_percent = 8;
|
||||
optional float spread = 9;
|
||||
optional bool fired_from_gun = 10 [default = true];
|
||||
optional uint32 bullets_override = 11;
|
||||
optional .CMsgFireBullets.TracerAssignment tracer_replacement = 12;
|
||||
repeated .CMsgFireBullets.TracerAssignment tracer_additional = 13;
|
||||
optional .CMsgQAngle angles_original = 14;
|
||||
optional uint32 weapon_subclass_id = 15;
|
||||
optional uint32 shot_number = 16;
|
||||
optional int32 ignore_entity = 17 [default = -1];
|
||||
optional float max_range = 18;
|
||||
}
|
||||
|
||||
message CMsgBulletImpact {
|
||||
optional .CMsgVector trace_start = 1;
|
||||
optional .CMsgVector impact_origin = 2;
|
||||
optional .CMsgVector surface_normal = 3;
|
||||
optional uint32 damage = 4;
|
||||
optional uint32 surface_type = 5;
|
||||
optional int32 ability_entindex = 7 [default = -1];
|
||||
optional int32 impacted_entindex = 8 [default = -1];
|
||||
optional uint32 impacted_hitbox = 9;
|
||||
optional uint32 weapon_subclass_id = 10;
|
||||
optional int32 shooter_entindex = 11 [default = -1];
|
||||
}
|
||||
|
||||
message CMsgPlayerAnimEvent {
|
||||
optional fixed32 player = 1 [default = 16777215];
|
||||
optional uint32 event = 2;
|
||||
optional int32 data = 3;
|
||||
}
|
||||
|
||||
message CMsgParticleSystemManager {
|
||||
message CreateParticle {
|
||||
optional fixed64 particle_name_index = 1;
|
||||
optional int32 attach_type = 2;
|
||||
optional uint32 entity_handle = 3 [default = 16777215];
|
||||
optional .CMsgVector position = 4;
|
||||
optional .CMsgQAngle angles = 5;
|
||||
}
|
||||
|
||||
message DestroyParticle {
|
||||
optional bool destroy_immediately = 1;
|
||||
}
|
||||
|
||||
message DestroyParticleInvolving {
|
||||
optional bool destroy_immediately = 1;
|
||||
optional uint32 entity_handle = 3 [default = 16777215];
|
||||
}
|
||||
|
||||
message ReleaseParticleIndex {
|
||||
}
|
||||
|
||||
message UpdateParticle {
|
||||
optional int32 control_point = 1;
|
||||
optional .CMsgVector position = 2;
|
||||
}
|
||||
|
||||
message UpdateParticleFwd {
|
||||
optional int32 control_point = 1;
|
||||
optional .CMsgVector forward = 2;
|
||||
}
|
||||
|
||||
message UpdateParticleOrient {
|
||||
optional int32 control_point = 1;
|
||||
optional .CMsgVector forward = 2;
|
||||
optional .CMsgVector left = 3;
|
||||
optional .CMsgVector up = 4;
|
||||
}
|
||||
|
||||
message UpdateParticleFallback {
|
||||
optional int32 control_point = 1;
|
||||
optional .CMsgVector position = 2;
|
||||
}
|
||||
|
||||
message UpdateParticleEnt {
|
||||
optional int32 control_point = 1;
|
||||
optional uint32 entity_handle = 2 [default = 16777215];
|
||||
optional int32 attach_type = 3;
|
||||
optional int32 attachment = 4;
|
||||
optional .CMsgVector fallback_position = 5;
|
||||
}
|
||||
|
||||
message UpdateParticleOffset {
|
||||
optional int32 control_point = 1;
|
||||
optional .CMsgVector origin_offset = 2;
|
||||
}
|
||||
|
||||
message UpdateParticleFrozen {
|
||||
optional bool set_frozen = 1;
|
||||
}
|
||||
|
||||
message UpdateParticleShouldDraw {
|
||||
optional bool should_draw = 1;
|
||||
}
|
||||
|
||||
required .PARTICLE_SYSTEM_MANAGER_MESSAGE type = 1 [default = PARTICLE_SYSTEM_MANAGER_EVENT_CREATE];
|
||||
required uint32 index = 2;
|
||||
optional .CMsgParticleSystemManager.CreateParticle create_particle = 3;
|
||||
optional .CMsgParticleSystemManager.DestroyParticle destroy_particle = 4;
|
||||
optional .CMsgParticleSystemManager.DestroyParticleInvolving destroy_particle_involving = 5;
|
||||
optional .CMsgParticleSystemManager.ReleaseParticleIndex release_particle_index = 6;
|
||||
optional .CMsgParticleSystemManager.UpdateParticle update_particle = 7;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleFwd update_particle_fwd = 8;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleOrient update_particle_orient = 9;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleFallback update_particle_fallback = 10;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleOffset update_particle_offset = 11;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleEnt update_particle_ent = 12;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleFrozen update_particle_frozen = 13;
|
||||
optional .CMsgParticleSystemManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
|
||||
}
|
||||
|
||||
message CMsgScreenTextPretty {
|
||||
optional float x_pos = 1;
|
||||
optional float y_pos = 2;
|
||||
optional int32 line = 3;
|
||||
optional string text = 4;
|
||||
optional int32 r = 5;
|
||||
optional int32 g = 6;
|
||||
optional int32 b = 7;
|
||||
optional int32 a = 8;
|
||||
optional float duration = 9;
|
||||
optional string font_name = 10;
|
||||
optional int32 font_size = 11;
|
||||
optional bool bold_font = 12;
|
||||
}
|
||||
|
||||
message CMsgServerRequestedTracer {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgVector end = 2;
|
||||
optional int32 weaponid = 3 [default = -1];
|
||||
optional uint32 entity_handle = 4 [default = 16777215];
|
||||
optional float dps = 5;
|
||||
}
|
||||
|
||||
message CMsgEnableSatVolumesEvent {
|
||||
optional uint32 mode = 1;
|
||||
optional float desat_amount = 2;
|
||||
optional fixed32 sat_tint = 3;
|
||||
optional fixed32 desat_tint = 4;
|
||||
optional fixed32 outline_color = 5;
|
||||
}
|
||||
|
||||
message CMsgPlaceSatVolumeEvent {
|
||||
optional .CMsgVector position = 1;
|
||||
optional .CMsgVector direction = 2;
|
||||
optional float radius = 3;
|
||||
optional float falloff_distance = 4;
|
||||
optional float theta_dot = 5;
|
||||
optional float phi_dot = 6;
|
||||
optional uint32 entity_handle = 7 [default = 16777215];
|
||||
optional uint32 attachment_handle = 8;
|
||||
optional uint32 type = 9;
|
||||
optional int32 volume_id = 10;
|
||||
}
|
||||
|
||||
message CMsgRemoveSatVolumeEvent {
|
||||
optional int32 volume_id = 1;
|
||||
}
|
||||
|
||||
message CMsgDisableSatVolumesEvent {
|
||||
}
|
65
game/shared/citadel/citadel_gamemessages.proto
Normal file
65
game/shared/citadel/citadel_gamemessages.proto
Normal file
@ -0,0 +1,65 @@
|
||||
import "citadel_gcmessages_common.proto";
|
||||
|
||||
enum ECitadelGameMessages {
|
||||
k_EMsgGameServerToClientConnectionStatus = 10;
|
||||
k_EMsgGameServerToClientInitialGameState = 12;
|
||||
k_EMsgGameServerToClientGameCompleted = 13;
|
||||
k_EMsgGameServerToClientGoodbye = 15;
|
||||
}
|
||||
|
||||
enum ECitadelDisconnectReason {
|
||||
k_ECitadelDisconnectReason_UserLeaveMatch = 1001;
|
||||
k_ECitadelDisconnectReason_UserQuitApp = 1002;
|
||||
k_ECitadelDisconnectReason_UserCancel = 1003;
|
||||
k_ECitadelDisconnectReason_Goodbye = 1004;
|
||||
k_ECitadelDisconnectReason_BadMessage = 2001;
|
||||
k_ECitadelDisconnectReason_GameDestroyedUnexpectedly = 2002;
|
||||
k_ECitadelDisconnectReason_ChangingServer = 2003;
|
||||
k_ECitadelDisconnectReason_OldConnection = 2004;
|
||||
k_ECitadelDisconnectReason_GoodbyeUnrecognizedGame = 2005;
|
||||
}
|
||||
|
||||
message CMsgClientServerHeader {
|
||||
optional uint64 game_instance_id = 1;
|
||||
optional uint32 local_player_index = 2;
|
||||
optional bytes payload = 3;
|
||||
optional .ECitadelGameMessages msg_id = 4 [default = k_EMsgGameServerToClientConnectionStatus];
|
||||
}
|
||||
|
||||
message CMsgGameServerToClientGameCompleted {
|
||||
}
|
||||
|
||||
message CMsgGameServerToClientGoodbye {
|
||||
}
|
||||
|
||||
message CMsgGameServerToClientConnectionStatus {
|
||||
message Player {
|
||||
optional int32 player_slot = 1 [default = -1];
|
||||
optional .CMsgGameServerToClientConnectionStatus.EStatus status = 2 [default = k_EConnected];
|
||||
optional bool inactivity_ticking = 3;
|
||||
optional uint32 inactivity_ms_remaining = 4;
|
||||
optional uint32 inactivity_anim_ms_remaining = 5;
|
||||
}
|
||||
|
||||
enum EStatus {
|
||||
k_EConnected = 1;
|
||||
k_EDisconnected = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgGameServerToClientConnectionStatus.Player players = 1;
|
||||
}
|
||||
|
||||
message CClientReconnectInfo {
|
||||
optional fixed64 server_steam_id = 1;
|
||||
optional uint64 lobby_id = 2;
|
||||
optional uint32 time_updated = 3;
|
||||
optional uint32 udp_connect_ip = 4;
|
||||
optional uint32 udp_connect_port = 5;
|
||||
optional uint32 compatibility_version = 6;
|
||||
}
|
||||
|
||||
message CMsgClientAccountSyncStorageFile {
|
||||
optional uint32 version = 1;
|
||||
repeated uint32 ids = 2;
|
||||
repeated uint32 values = 3;
|
||||
}
|
608
game/shared/citadel/citadel_gcmessages_common.proto
Normal file
608
game/shared/citadel/citadel_gcmessages_common.proto
Normal file
@ -0,0 +1,608 @@
|
||||
import "steammessages.proto";
|
||||
import "gcsdk_gcmessages.proto";
|
||||
|
||||
enum CMsgLaneColor {
|
||||
k_ELaneColor_Invalid = 0;
|
||||
k_ELaneColor_Yellow = 1;
|
||||
k_ELaneColor_Green = 3;
|
||||
k_ELaneColor_Blue = 4;
|
||||
k_ELaneColor_Purple = 6;
|
||||
}
|
||||
|
||||
enum EGCCitadelCommonMessages {
|
||||
k_EMsgAnyToGCReportAsserts = 7000;
|
||||
k_EMsgAnyToGCReportAssertsResponse = 7001;
|
||||
}
|
||||
|
||||
enum ECitadelMatchMode {
|
||||
k_ECitadelMatchMode_Invalid = 0;
|
||||
k_ECitadelMatchMode_Unranked = 1;
|
||||
k_ECitadelMatchMode_PrivateLobby = 2;
|
||||
k_ECitadelMatchMode_CoopBot = 3;
|
||||
k_ECitadelMatchMode_Ranked = 4;
|
||||
k_ECitadelMatchMode_ServerTest = 5;
|
||||
k_ECitadelMatchMode_Tutorial = 6;
|
||||
k_ECitadelMatchMode_HeroLabs = 7;
|
||||
}
|
||||
|
||||
enum ECitadelLobbyTeam {
|
||||
k_ECitadelLobbyTeam_Team0 = 0;
|
||||
k_ECitadelLobbyTeam_Team1 = 1;
|
||||
k_ECitadelLobbyTeam_Spectator = 16;
|
||||
}
|
||||
|
||||
enum ECitadelAccountStatMedal {
|
||||
k_eNone = 0;
|
||||
k_eBronze = 1;
|
||||
k_eSilver = 2;
|
||||
k_eGold = 3;
|
||||
}
|
||||
|
||||
enum ECitadelMMPreference {
|
||||
k_ECitadelMMPreference_Invalid = 0;
|
||||
k_ECitadelMMPreference_Casual = 1;
|
||||
k_ECitadelMMPreference_Serious = 2;
|
||||
}
|
||||
|
||||
enum ECitadelObjective {
|
||||
k_eCitadelObjective_Team0_Core = 0;
|
||||
k_eCitadelObjective_Team0_Tier1_Lane1 = 1;
|
||||
k_eCitadelObjective_Team0_Tier1_Lane2 = 2;
|
||||
k_eCitadelObjective_Team0_Tier1_Lane3 = 3;
|
||||
k_eCitadelObjective_Team0_Tier1_Lane4 = 4;
|
||||
k_eCitadelObjective_Team0_Tier2_Lane1 = 5;
|
||||
k_eCitadelObjective_Team0_Tier2_Lane2 = 6;
|
||||
k_eCitadelObjective_Team0_Tier2_Lane3 = 7;
|
||||
k_eCitadelObjective_Team0_Tier2_Lane4 = 8;
|
||||
k_eCitadelObjective_Team0_Titan = 9;
|
||||
k_eCitadelObjective_Team0_TitanShieldGenerator_1 = 10;
|
||||
k_eCitadelObjective_Team0_TitanShieldGenerator_2 = 11;
|
||||
k_eCitadelObjective_Team0_BarrackBoss_Lane1 = 12;
|
||||
k_eCitadelObjective_Team0_BarrackBoss_Lane2 = 13;
|
||||
k_eCitadelObjective_Team0_BarrackBoss_Lane3 = 14;
|
||||
k_eCitadelObjective_Team0_BarrackBoss_Lane4 = 15;
|
||||
k_eCitadelObjective_Team1_Core = 16;
|
||||
k_eCitadelObjective_Team1_Tier1_Lane1 = 17;
|
||||
k_eCitadelObjective_Team1_Tier1_Lane2 = 18;
|
||||
k_eCitadelObjective_Team1_Tier1_Lane3 = 19;
|
||||
k_eCitadelObjective_Team1_Tier1_Lane4 = 20;
|
||||
k_eCitadelObjective_Team1_Tier2_Lane1 = 21;
|
||||
k_eCitadelObjective_Team1_Tier2_Lane2 = 22;
|
||||
k_eCitadelObjective_Team1_Tier2_Lane3 = 23;
|
||||
k_eCitadelObjective_Team1_Tier2_Lane4 = 24;
|
||||
k_eCitadelObjective_Team1_Titan = 25;
|
||||
k_eCitadelObjective_Team1_TitanShieldGenerator_1 = 26;
|
||||
k_eCitadelObjective_Team1_TitanShieldGenerator_2 = 27;
|
||||
k_eCitadelObjective_Team1_BarrackBoss_Lane1 = 28;
|
||||
k_eCitadelObjective_Team1_BarrackBoss_Lane2 = 29;
|
||||
k_eCitadelObjective_Team1_BarrackBoss_Lane3 = 30;
|
||||
k_eCitadelObjective_Team1_BarrackBoss_Lane4 = 31;
|
||||
k_eCitadelObjective_Neutral_Mid = 32;
|
||||
}
|
||||
|
||||
enum ECitadelTeamObjective {
|
||||
k_eCitadelTeamObjective_Core = 0;
|
||||
k_eCitadelTeamObjective_Tier1_Lane1 = 1;
|
||||
k_eCitadelTeamObjective_Tier1_Lane2 = 2;
|
||||
k_eCitadelTeamObjective_Tier1_Lane3 = 3;
|
||||
k_eCitadelTeamObjective_Tier1_Lane4 = 4;
|
||||
k_eCitadelTeamObjective_Tier2_Lane1 = 5;
|
||||
k_eCitadelTeamObjective_Tier2_Lane2 = 6;
|
||||
k_eCitadelTeamObjective_Tier2_Lane3 = 7;
|
||||
k_eCitadelTeamObjective_Tier2_Lane4 = 8;
|
||||
k_eCitadelTeamObjective_Titan = 9;
|
||||
k_eCitadelTeamObjective_TitanShieldGenerator_1 = 10;
|
||||
k_eCitadelTeamObjective_TitanShieldGenerator_2 = 11;
|
||||
k_eCitadelTeamObjective_BarrackBoss_Lane1 = 12;
|
||||
k_eCitadelTeamObjective_BarrackBoss_Lane2 = 13;
|
||||
k_eCitadelTeamObjective_BarrackBoss_Lane3 = 14;
|
||||
k_eCitadelTeamObjective_BarrackBoss_Lane4 = 15;
|
||||
}
|
||||
|
||||
enum ECitadelBotDifficulty {
|
||||
k_ECitadelBotDifficulty_None = 0;
|
||||
k_ECitadelBotDifficulty_Easy = 1;
|
||||
k_ECitadelBotDifficulty_Medium = 2;
|
||||
k_ECitadelBotDifficulty_Hard = 3;
|
||||
k_ECitadelBotDifficulty_Nightmare = 4;
|
||||
k_ECitadelBotDifficulty_Guided = 5;
|
||||
}
|
||||
|
||||
enum ECitadelRegionMode {
|
||||
k_ECitadelRegionMode_ROW = 0;
|
||||
k_ECitadelRegionMode_Europe = 1;
|
||||
k_ECitadelRegionMode_SEAsia = 2;
|
||||
k_ECitadelRegionMode_SAmerica = 3;
|
||||
k_ECitadelRegionMode_Russia = 4;
|
||||
k_ECitadelRegionMode_Oceania = 5;
|
||||
}
|
||||
|
||||
enum ECitadelLeaderboardRegion {
|
||||
k_ECitadelLeaderboardRegion_None = 0;
|
||||
k_ECitadelLeaderboardRegion_Europe = 1;
|
||||
k_ECitadelLeaderboardRegion_Asia = 2;
|
||||
k_ECitadelLeaderboardRegion_NAmerica = 3;
|
||||
k_ECitadelLeaderboardRegion_SAmerica = 4;
|
||||
k_ECitadelLeaderboardRegion_Oceania = 5;
|
||||
}
|
||||
|
||||
enum ECitadelGameMode {
|
||||
k_ECitadelGameMode_Invalid = 0;
|
||||
k_ECitadelGameMode_Normal = 1;
|
||||
k_ECitadelGameMode_1v1Test = 2;
|
||||
k_ECitadelGameMode_Sandbox = 3;
|
||||
}
|
||||
|
||||
enum ELobbyServerState {
|
||||
k_eLobbyServerState_Assign = 0;
|
||||
k_eLobbyServerState_InGame = 1;
|
||||
k_eLobbyServerState_PostMatch = 2;
|
||||
k_eLobbyServerState_SignedOut = 3;
|
||||
k_eLobbyServerState_Abandoned = 4;
|
||||
}
|
||||
|
||||
enum EBannedFeature {
|
||||
k_eBannedFeature_Invalid = 0;
|
||||
k_eBannedFeature_LowPriorityMatchmaking = 1;
|
||||
k_eBannedFeature_CommsRestricted = 2;
|
||||
k_eBannedFeature_ReportingDisabled = 3;
|
||||
}
|
||||
|
||||
enum EFeatureBanReason {
|
||||
k_eFeatureBanReason_Invalid = 0;
|
||||
k_eFeatureBanReason_DevCommand = 1;
|
||||
k_eFeatureBanReason_PlayerReports = 2;
|
||||
k_eFeatureBanReason_MatchAbandons = 3;
|
||||
k_eFeatureBanReason_ExcessivePlayerReports = 4;
|
||||
}
|
||||
|
||||
message CSOCitadelLobby {
|
||||
optional uint64 lobby_id = 1;
|
||||
optional uint64 match_id = 2;
|
||||
optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional .ECitadelGameMode game_mode = 4 [default = k_ECitadelGameMode_Invalid];
|
||||
optional uint32 compatibility_version = 5;
|
||||
repeated .CExtraMsgBlock extra_messages = 6;
|
||||
optional fixed64 server_steam_id = 7;
|
||||
optional .ELobbyServerState server_state = 8 [default = k_eLobbyServerState_Assign];
|
||||
optional uint32 udp_connect_ip = 9;
|
||||
optional uint32 udp_connect_port = 10;
|
||||
optional bytes sdr_address = 12;
|
||||
optional uint32 server_version = 13;
|
||||
optional bool safe_to_abandon = 14;
|
||||
optional bool match_punishes_abandons = 15;
|
||||
}
|
||||
|
||||
message CLobbyData_PostMatchSurvey {
|
||||
message PlayerSurvey {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 question_id = 2;
|
||||
}
|
||||
|
||||
repeated .CLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1;
|
||||
}
|
||||
|
||||
message CMsgHeroSelectionMatchInfo {
|
||||
message Hero {
|
||||
optional uint32 hero_id = 1;
|
||||
optional uint32 priority = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgHeroSelectionMatchInfo.Hero hero_selections = 1;
|
||||
}
|
||||
|
||||
message CMsgStartFindingMatchInfo {
|
||||
optional string server_search_key = 1;
|
||||
optional string server_command_string = 2;
|
||||
optional .ECitadelMatchMode match_mode = 3 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional .ECitadelGameMode game_mode = 5 [default = k_ECitadelGameMode_Invalid];
|
||||
optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None];
|
||||
optional .ECitadelRegionMode region_mode = 8 [default = k_ECitadelRegionMode_ROW];
|
||||
optional bool prefer_solo_only = 9;
|
||||
optional .ECitadelMMPreference mm_preference = 10 [default = k_ECitadelMMPreference_Invalid];
|
||||
}
|
||||
|
||||
message CMsgAnyToGCReportAsserts {
|
||||
message TrackedAssert {
|
||||
optional string filename = 1;
|
||||
optional uint32 line_number = 2;
|
||||
optional string sample_msg = 3;
|
||||
optional string sample_stack = 4;
|
||||
optional uint32 times_fired = 5;
|
||||
optional string function_name = 6;
|
||||
optional string condition = 7;
|
||||
optional uint32 total_times_fired = 8;
|
||||
}
|
||||
|
||||
optional uint32 version = 1;
|
||||
repeated .CMsgAnyToGCReportAsserts.TrackedAssert asserts = 2;
|
||||
}
|
||||
|
||||
message CMsgAnyToGCReportAssertsResponse {
|
||||
optional bool success = 1;
|
||||
}
|
||||
|
||||
message CMsgRegionPingTimesClient {
|
||||
repeated fixed32 data_center_codes = 1 [packed = true];
|
||||
repeated uint32 ping_times = 2 [packed = true];
|
||||
}
|
||||
|
||||
message CSOCitadelParty {
|
||||
message PrivateLobbySlot {
|
||||
optional uint32 slot_id = 1;
|
||||
optional uint32 player_account_id = 2;
|
||||
}
|
||||
|
||||
message ServerRegion {
|
||||
optional uint32 region_id = 1;
|
||||
}
|
||||
|
||||
message PrivateLobbySettings {
|
||||
optional uint32 min_roster_size = 1;
|
||||
repeated .CSOCitadelParty.PrivateLobbySlot match_slots = 2;
|
||||
optional bool randomize_lanes = 3;
|
||||
optional uint32 server_region = 4;
|
||||
optional bool is_publicly_visible = 6;
|
||||
optional bool cheats_enabled = 7;
|
||||
repeated .CSOCitadelParty.ServerRegion available_regions = 8;
|
||||
optional bool duplicate_heroes_enabled = 9;
|
||||
optional bool experimental_heroes_enabled = 10;
|
||||
}
|
||||
|
||||
message Member {
|
||||
optional uint32 account_id = 1;
|
||||
optional string persona_name = 2;
|
||||
optional uint32 rights_flags = 3;
|
||||
optional bool is_ready = 4;
|
||||
optional .CSOCitadelParty.EPlayerType player_type = 5 [default = k_ePlayerType_Player];
|
||||
optional uint32 compatibility_version = 6;
|
||||
optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None];
|
||||
optional uint32 team = 8;
|
||||
optional .CMsgHeroSelectionMatchInfo hero_roster = 9;
|
||||
optional uint64 permissions = 10;
|
||||
optional uint64 new_player_progress = 11;
|
||||
repeated uint32 owned_heroes = 12 [packed = true];
|
||||
}
|
||||
|
||||
message LeftMember {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 rights_flags = 2;
|
||||
optional .CSOCitadelParty.EPlayerType player_type = 3 [default = k_ePlayerType_Player];
|
||||
}
|
||||
|
||||
message Invite {
|
||||
optional uint32 account_id = 1;
|
||||
optional string persona_name = 2;
|
||||
optional uint32 invited_by = 3;
|
||||
}
|
||||
|
||||
enum EMemberRights {
|
||||
k_eMemberRights_Admin = 1;
|
||||
k_eMemberRights_Creator = 2;
|
||||
}
|
||||
|
||||
enum EPlayerType {
|
||||
k_ePlayerType_Player = 0;
|
||||
k_ePlayerType_Spectator = 1;
|
||||
}
|
||||
|
||||
enum EChatMode {
|
||||
k_eNone = 0;
|
||||
k_ePartyChat = 1;
|
||||
k_eTeamChat = 2;
|
||||
}
|
||||
|
||||
optional uint64 party_id = 1;
|
||||
repeated .CSOCitadelParty.Member members = 2;
|
||||
repeated .CSOCitadelParty.Invite invites = 3;
|
||||
optional string dev_server_command = 4;
|
||||
repeated .CSOCitadelParty.LeftMember left_members = 5;
|
||||
optional uint64 join_code = 6;
|
||||
optional .ECitadelBotDifficulty bot_difficulty = 7 [default = k_ECitadelBotDifficulty_None];
|
||||
optional .ECitadelMatchMode match_mode = 9 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional .ECitadelGameMode game_mode = 10 [default = k_ECitadelGameMode_Invalid];
|
||||
optional uint32 match_making_start_time = 11;
|
||||
optional string server_search_key = 12;
|
||||
optional bool is_high_skill_range_party = 13;
|
||||
optional .CSOCitadelParty.EChatMode chat_mode = 14 [default = k_eNone];
|
||||
optional .ECitadelRegionMode region_mode = 15 [default = k_ECitadelRegionMode_ROW];
|
||||
optional bool is_private_lobby = 16;
|
||||
optional .CSOCitadelParty.PrivateLobbySettings private_lobby_settings = 17;
|
||||
optional bool desires_laning_together = 18;
|
||||
optional .ECitadelMMPreference mm_preference = 19 [default = k_ECitadelMMPreference_Invalid];
|
||||
}
|
||||
|
||||
message CMsgMatchPlayerPathsData {
|
||||
message Path {
|
||||
optional uint32 player_slot = 1;
|
||||
optional float x_min = 2;
|
||||
optional float y_min = 3;
|
||||
optional float x_max = 4;
|
||||
optional float y_max = 5;
|
||||
repeated uint32 x_pos = 6 [packed = true];
|
||||
repeated uint32 y_pos = 7 [packed = true];
|
||||
repeated bool alive = 8 [packed = true];
|
||||
repeated uint32 health = 9 [packed = true];
|
||||
}
|
||||
|
||||
optional uint32 version = 1;
|
||||
optional float interval_s = 2;
|
||||
optional uint32 x_resolution = 3;
|
||||
optional uint32 y_resolution = 4;
|
||||
repeated .CMsgMatchPlayerPathsData.Path paths = 5;
|
||||
}
|
||||
|
||||
message CMsgMatchPlayerDamageMatrix {
|
||||
message DamageToPlayer {
|
||||
optional uint32 target_player_slot = 1;
|
||||
repeated uint32 damage = 2 [packed = true];
|
||||
}
|
||||
|
||||
message DamageSource {
|
||||
repeated .CMsgMatchPlayerDamageMatrix.DamageToPlayer damage_to_players = 2;
|
||||
optional uint32 source_details_index = 4;
|
||||
}
|
||||
|
||||
message DamageDealer {
|
||||
optional uint32 dealer_player_slot = 1;
|
||||
repeated .CMsgMatchPlayerDamageMatrix.DamageSource damage_sources = 2;
|
||||
}
|
||||
|
||||
message SourceDetails {
|
||||
repeated .CMsgMatchPlayerDamageMatrix.EStatType stat_type = 1 [packed = true];
|
||||
repeated string source_name = 2;
|
||||
}
|
||||
|
||||
enum EStatType {
|
||||
k_eType_Damage = 0;
|
||||
k_eType_Healing = 1;
|
||||
k_eType_HealPrevented = 2;
|
||||
k_eType_Mitigated = 3;
|
||||
k_eType_LethalDamage = 4;
|
||||
}
|
||||
|
||||
repeated .CMsgMatchPlayerDamageMatrix.DamageDealer damage_dealers = 1;
|
||||
repeated uint32 sample_time_s = 2 [packed = true];
|
||||
optional .CMsgMatchPlayerDamageMatrix.SourceDetails source_details = 3;
|
||||
}
|
||||
|
||||
message CMsgMatchMetaDataContents {
|
||||
message Position {
|
||||
optional float x = 1;
|
||||
optional float y = 2;
|
||||
optional float z = 3;
|
||||
}
|
||||
|
||||
message Deaths {
|
||||
optional uint32 game_time_s = 1;
|
||||
optional uint32 killer_player_slot = 9;
|
||||
optional .CMsgMatchMetaDataContents.Position death_pos = 10;
|
||||
optional .CMsgMatchMetaDataContents.Position killer_pos = 11;
|
||||
optional uint32 death_duration_s = 12;
|
||||
}
|
||||
|
||||
message Items {
|
||||
optional uint32 game_time_s = 1;
|
||||
optional uint32 item_id = 2;
|
||||
optional uint32 upgrade_id = 3;
|
||||
optional uint32 sold_time_s = 4;
|
||||
optional uint32 flags = 5;
|
||||
optional uint32 imbued_ability_id = 6;
|
||||
}
|
||||
|
||||
message Ping {
|
||||
optional uint32 ping_type = 1;
|
||||
optional uint32 ping_data = 2;
|
||||
optional uint32 game_time_s = 3;
|
||||
}
|
||||
|
||||
message GoldSource {
|
||||
optional .CMsgMatchMetaDataContents.EGoldSource source = 1 [default = k_ePlayers];
|
||||
optional uint32 kills = 2;
|
||||
optional uint32 damage = 3;
|
||||
optional uint32 gold = 4;
|
||||
optional uint32 gold_orbs = 5;
|
||||
}
|
||||
|
||||
message CustomUserStatInfo {
|
||||
optional string name = 1;
|
||||
optional uint32 id = 2;
|
||||
}
|
||||
|
||||
message CustomUserStat {
|
||||
optional uint32 value = 2;
|
||||
optional uint32 id = 3;
|
||||
}
|
||||
|
||||
message PlayerStats {
|
||||
optional uint32 time_stamp_s = 1;
|
||||
optional uint32 net_worth = 2;
|
||||
optional uint32 gold_player = 3;
|
||||
optional uint32 gold_player_orbs = 4;
|
||||
optional uint32 gold_lane_creep_orbs = 5;
|
||||
optional uint32 gold_neutral_creep_orbs = 6;
|
||||
optional uint32 gold_boss = 7;
|
||||
optional uint32 gold_boss_orb = 8;
|
||||
optional uint32 gold_treasure = 9;
|
||||
optional uint32 gold_denied = 10;
|
||||
optional uint32 gold_death_loss = 11;
|
||||
optional uint32 gold_lane_creep = 12;
|
||||
optional uint32 gold_neutral_creep = 13;
|
||||
optional uint32 kills = 14;
|
||||
optional uint32 deaths = 15;
|
||||
optional uint32 assists = 16;
|
||||
optional uint32 creep_kills = 17;
|
||||
optional uint32 neutral_kills = 18;
|
||||
optional uint32 possible_creeps = 19;
|
||||
optional uint32 creep_damage = 20;
|
||||
optional uint32 player_damage = 21;
|
||||
optional uint32 neutral_damage = 22;
|
||||
optional uint32 boss_damage = 23;
|
||||
optional uint32 denies = 24;
|
||||
optional uint32 player_healing = 25;
|
||||
optional uint32 ability_points = 26;
|
||||
optional uint32 self_healing = 27;
|
||||
optional uint32 player_damage_taken = 28;
|
||||
optional uint32 max_health = 29;
|
||||
optional uint32 weapon_power = 30;
|
||||
optional uint32 tech_power = 31;
|
||||
optional uint32 shots_hit = 32;
|
||||
optional uint32 shots_missed = 33;
|
||||
optional uint32 damage_absorbed = 34;
|
||||
optional uint32 absorption_provided = 35;
|
||||
optional uint32 hero_bullets_hit = 36;
|
||||
optional uint32 hero_bullets_hit_crit = 37;
|
||||
optional uint32 heal_prevented = 38;
|
||||
optional uint32 heal_lost = 39;
|
||||
repeated .CMsgMatchMetaDataContents.GoldSource gold_sources = 40;
|
||||
repeated .CMsgMatchMetaDataContents.CustomUserStat custom_user_stats = 41;
|
||||
optional uint32 damage_mitigated = 42;
|
||||
optional uint32 level = 43;
|
||||
}
|
||||
|
||||
message AbilityStat {
|
||||
optional uint32 ability_id = 1;
|
||||
optional uint32 ability_value = 2;
|
||||
}
|
||||
|
||||
message BookReward {
|
||||
optional uint32 book_id = 1;
|
||||
optional uint32 xp_amount = 2;
|
||||
optional uint32 starting_xp = 3;
|
||||
}
|
||||
|
||||
message Players {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 player_slot = 2;
|
||||
repeated .CMsgMatchMetaDataContents.Deaths death_details = 3;
|
||||
repeated .CMsgMatchMetaDataContents.Items items = 4;
|
||||
repeated .CMsgMatchMetaDataContents.PlayerStats stats = 5;
|
||||
optional .ECitadelLobbyTeam team = 6 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional uint32 kills = 8;
|
||||
optional uint32 deaths = 9;
|
||||
optional uint32 assists = 10;
|
||||
optional uint32 net_worth = 11;
|
||||
optional uint32 hero_id = 12;
|
||||
optional uint32 last_hits = 13;
|
||||
optional uint32 denies = 14;
|
||||
optional uint32 ability_points = 15;
|
||||
optional uint32 party = 16;
|
||||
optional uint32 assigned_lane = 17;
|
||||
optional uint32 level = 18;
|
||||
repeated .CMsgMatchMetaDataContents.Ping pings = 19;
|
||||
repeated .CMsgMatchMetaDataContents.AbilityStat ability_stats = 20;
|
||||
repeated float stats_type_stat = 21 [packed = true];
|
||||
repeated .CMsgMatchMetaDataContents.BookReward book_rewards = 22;
|
||||
optional uint32 abandon_match_time_s = 23;
|
||||
}
|
||||
|
||||
message Objective {
|
||||
optional .ECitadelObjective legacy_objective_id = 1 [default = k_eCitadelObjective_Team0_Core];
|
||||
optional uint32 destroyed_time_s = 2;
|
||||
optional uint32 creep_damage = 4;
|
||||
optional uint32 creep_damage_mitigated = 5;
|
||||
optional uint32 player_damage = 6;
|
||||
optional uint32 player_damage_mitigated = 7;
|
||||
optional uint32 first_damage_time_s = 8;
|
||||
optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core];
|
||||
optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0];
|
||||
}
|
||||
|
||||
message MidBoss {
|
||||
optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional uint32 destroyed_time_s = 3;
|
||||
}
|
||||
|
||||
message Pause {
|
||||
optional uint32 game_time_s = 1;
|
||||
optional uint32 pause_duration_s = 2;
|
||||
optional uint32 player_slot = 3;
|
||||
}
|
||||
|
||||
message WatchedDeathReplay {
|
||||
optional uint32 game_time_s = 1;
|
||||
optional uint32 player_slot = 2;
|
||||
}
|
||||
|
||||
message MatchInfo {
|
||||
optional uint32 duration_s = 1;
|
||||
optional .CMsgMatchMetaDataContents.EMatchOutcome match_outcome = 2 [default = k_eOutcome_TeamWin];
|
||||
optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0];
|
||||
repeated .CMsgMatchMetaDataContents.Players players = 4;
|
||||
optional uint32 start_time = 5;
|
||||
optional uint64 match_id = 6;
|
||||
optional uint32 legacy_objectives_mask = 8;
|
||||
optional .ECitadelGameMode game_mode = 9 [default = k_ECitadelGameMode_Invalid];
|
||||
optional .ECitadelMatchMode match_mode = 10 [default = k_ECitadelMatchMode_Invalid];
|
||||
repeated .CMsgMatchMetaDataContents.Objective objectives = 11;
|
||||
optional .CMsgMatchPlayerPathsData match_paths = 12;
|
||||
optional .CMsgMatchPlayerDamageMatrix damage_matrix = 13;
|
||||
repeated .CMsgMatchMetaDataContents.Pause match_pauses = 14;
|
||||
repeated .CMsgMatchMetaDataContents.CustomUserStatInfo custom_user_stats = 15;
|
||||
repeated .CMsgMatchMetaDataContents.WatchedDeathReplay watched_death_replays = 16;
|
||||
optional uint64 objectives_mask_team0 = 17;
|
||||
optional uint64 objectives_mask_team1 = 18;
|
||||
repeated .CMsgMatchMetaDataContents.MidBoss mid_boss = 19;
|
||||
optional bool is_high_skill_range_parties = 20;
|
||||
optional bool low_pri_pool = 21;
|
||||
optional bool new_player_pool = 22;
|
||||
optional uint32 average_badge_team0 = 23;
|
||||
optional uint32 average_badge_team1 = 24;
|
||||
}
|
||||
|
||||
enum EMatchOutcome {
|
||||
k_eOutcome_TeamWin = 0;
|
||||
k_eOutcome_Error = 1;
|
||||
}
|
||||
|
||||
enum EGoldSource {
|
||||
k_ePlayers = 1;
|
||||
k_eLaneCreeps = 2;
|
||||
k_eNeutrals = 3;
|
||||
k_eBosses = 4;
|
||||
k_eTreasure = 5;
|
||||
k_eAssists = 6;
|
||||
k_eDenies = 7;
|
||||
k_eTeamBonus = 8;
|
||||
}
|
||||
|
||||
optional .CMsgMatchMetaDataContents.MatchInfo match_info = 2;
|
||||
}
|
||||
|
||||
message CMsgMatchMetaData {
|
||||
optional uint32 version = 1;
|
||||
optional bytes match_details = 2;
|
||||
optional uint64 match_id = 3;
|
||||
}
|
||||
|
||||
message CMsgMapLine {
|
||||
optional int32 x = 1;
|
||||
optional int32 y = 2;
|
||||
optional bool initial = 3;
|
||||
}
|
||||
|
||||
message CMsgAccountHeroStats {
|
||||
optional uint32 hero_id = 1;
|
||||
repeated uint32 stat_id = 2;
|
||||
repeated uint64 total_value = 3;
|
||||
repeated uint32 medals_bronze = 4;
|
||||
repeated uint32 medals_silver = 5;
|
||||
repeated uint32 medals_gold = 6;
|
||||
}
|
||||
|
||||
message CMsgAccountBookStats {
|
||||
optional uint32 book_id = 1;
|
||||
optional uint32 book_xp = 2;
|
||||
optional uint32 book_max_xp = 3;
|
||||
}
|
||||
|
||||
message CMsgAccountStats {
|
||||
optional uint32 account_id = 1;
|
||||
repeated .CMsgAccountHeroStats stats = 2;
|
||||
}
|
||||
|
||||
message CMsgGCAccountData {
|
||||
optional uint32 account_id = 1;
|
||||
optional float cheater_report_score = 2;
|
||||
}
|
631
game/shared/citadel/citadel_gcmessages_server.proto
Normal file
631
game/shared/citadel/citadel_gcmessages_server.proto
Normal file
@ -0,0 +1,631 @@
|
||||
import "steammessages.proto";
|
||||
import "gcsdk_gcmessages.proto";
|
||||
import "citadel_gcmessages_common.proto";
|
||||
|
||||
enum EGCCitadelServerMessages {
|
||||
k_EMsgServerToGCMatchSignoutPermission = 10012;
|
||||
k_EMsgServerToGCMatchSignoutPermissionResponse = 10013;
|
||||
k_EMsgServerToGCMatchSignout = 10014;
|
||||
k_EMsgServerToGCMatchSignoutResponse = 10015;
|
||||
k_EMsgGCToServerAddSpectator = 10016;
|
||||
k_EMsgGCToServerAddSpectatorResponse = 10017;
|
||||
k_EMsgServerToGCIdlePing = 10018;
|
||||
k_EMsgGCToServerRequestPing = 10019;
|
||||
k_EMsgGCToServerAllocateForMatch = 10021;
|
||||
k_EMsgGCToServerAllocateForMatchResponse = 10022;
|
||||
k_EMsgServerToGCEnterMatchmaking = 10023;
|
||||
k_EMsgGCToServerCancelAllocateForMatch = 10024;
|
||||
k_EMsgServerToGCUpdateLobbyServerState = 10025;
|
||||
k_EMsgServerToGCAbandonMatch = 10026;
|
||||
k_EMsgServerToGCAbandonMatchResponse = 10027;
|
||||
k_EMsgServerToGCTestConnection = 10028;
|
||||
k_EMsgServerToGCTestConnectionResponse = 10029;
|
||||
k_EMsgGCToServerSetServerConVar = 10039;
|
||||
k_EMsgGCToServerSetServerConVarResponse = 10040;
|
||||
k_EMsgServerToGCUpdateMatchInfo = 10041;
|
||||
k_EMsgServerToGCReportCheater = 10042;
|
||||
k_EMsgServerToGCReportCheaterResponse = 10043;
|
||||
}
|
||||
|
||||
enum EGCServerLobbyData {
|
||||
k_EServerLobbyData_PlayerMMR = 1;
|
||||
k_EServerLobbyData_PlayerInfo = 2;
|
||||
k_EServerLobbyData_PostMatchSurvey = 3;
|
||||
k_EServerLobbyData_AutoTest = 4;
|
||||
}
|
||||
|
||||
enum EGCServerSignoutData {
|
||||
k_EServerSignoutData_Disconnections = 2;
|
||||
k_EServerSignoutData_AccountStatChanges = 3;
|
||||
k_EServerSignoutData_DetailedStats = 4;
|
||||
k_EServerSignoutData_ServerPerfStats = 5;
|
||||
k_EServerSignoutData_PerfData = 6;
|
||||
k_EServerSignoutData_PlayerChat = 7;
|
||||
k_EServerSignoutData_BookRewards = 8;
|
||||
k_EServerSignoutData_PenalizedPlayers = 9;
|
||||
k_EServerSignoutData_ReportCheaters = 10;
|
||||
}
|
||||
|
||||
message CMsgServerCrashSentinelFile {
|
||||
message Player {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 hero_id = 2;
|
||||
}
|
||||
|
||||
message GameInfo {
|
||||
optional uint64 match_id = 1;
|
||||
optional fixed64 lobby_id = 2;
|
||||
optional uint32 server_state = 3;
|
||||
repeated .CMsgServerCrashSentinelFile.Player players = 5;
|
||||
optional .ECitadelMatchMode match_mode = 6 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid];
|
||||
optional bool was_server_shutdown = 8;
|
||||
}
|
||||
|
||||
optional uint32 version = 1;
|
||||
optional fixed64 server_steam_id = 2;
|
||||
optional fixed32 server_public_ip_addr = 3;
|
||||
optional uint32 server_port = 4;
|
||||
optional uint32 server_cluster = 5;
|
||||
optional uint32 pid = 6;
|
||||
optional uint32 saved_time = 7;
|
||||
optional uint32 server_version = 8;
|
||||
optional .CMsgServerCrashSentinelFile.GameInfo game_info = 9;
|
||||
optional uint32 server_private_ip_addr = 10;
|
||||
optional uint32 instance_id = 11;
|
||||
}
|
||||
|
||||
message CServerLobbyData_PlayerMMR {
|
||||
message Player {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 player_mmr = 2;
|
||||
optional uint32 player_uncertainty = 3;
|
||||
optional uint32 hero_mmr = 4;
|
||||
optional uint32 hero_mmr_with_uncertainty = 5;
|
||||
}
|
||||
|
||||
repeated .CServerLobbyData_PlayerMMR.Player players = 1;
|
||||
}
|
||||
|
||||
message CServerLobbyData_PlayerInfo {
|
||||
optional uint32 account_id = 1;
|
||||
repeated .CMsgAccountHeroStats account_stats = 2;
|
||||
optional uint32 mmr_level = 4;
|
||||
repeated .CMsgAccountBookStats book_info = 5;
|
||||
}
|
||||
|
||||
message CServerLobbyData_PostMatchSurvey {
|
||||
message PlayerSurvey {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 question_id = 2;
|
||||
}
|
||||
|
||||
repeated .CServerLobbyData_PostMatchSurvey.PlayerSurvey surveys = 1;
|
||||
}
|
||||
|
||||
message CServerLobbyData_AutoTest {
|
||||
optional uint32 max_duration_s = 2;
|
||||
}
|
||||
|
||||
message CSOCitadelServerDynamicLobby {
|
||||
optional uint64 lobby_id = 1;
|
||||
repeated uint32 left_account_ids = 2 [packed = true];
|
||||
optional bool broadcast_active = 3;
|
||||
optional uint32 spectator_count = 4;
|
||||
}
|
||||
|
||||
message CSOCitadelServerStaticLobby {
|
||||
message Member {
|
||||
optional uint32 account_id = 1;
|
||||
optional string persona_name = 2;
|
||||
optional .ECitadelLobbyTeam team = 3 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional uint32 player_slot = 4;
|
||||
optional uint32 hero_id = 5;
|
||||
optional uint32 party_index = 6;
|
||||
optional .EGCPlatform platform = 7 [default = k_eGCPlatform_None];
|
||||
repeated .CSOCitadelServerStaticLobby.EAwardIDs award_ids = 8;
|
||||
optional bool is_comms_restricted = 9;
|
||||
optional uint32 lane_id = 10;
|
||||
optional .CMsgGCAccountData gc_account_data = 13;
|
||||
optional bool party_desires_laning_together = 14;
|
||||
optional bool hide_holiday_models = 15;
|
||||
}
|
||||
|
||||
message DevSettings {
|
||||
optional string console_string = 1;
|
||||
}
|
||||
|
||||
enum EAwardIDs {
|
||||
k_eAward_KingPanda = 1;
|
||||
}
|
||||
|
||||
repeated .CExtraMsgBlock extra_messages = 1;
|
||||
optional fixed64 server_steam_id = 2;
|
||||
optional uint64 lobby_id = 3;
|
||||
optional fixed32 replay_salt = 4;
|
||||
optional string level_name = 5;
|
||||
repeated .CSOCitadelServerStaticLobby.Member members = 6;
|
||||
optional .CSOCitadelServerStaticLobby.DevSettings dev_settings = 7;
|
||||
optional bool gc_provided_heroes = 8;
|
||||
optional .ECitadelBotDifficulty bot_difficulty = 9 [default = k_ECitadelBotDifficulty_None];
|
||||
optional fixed32 metadata_salt = 10;
|
||||
optional uint32 match_start_time = 11;
|
||||
optional .ECitadelRegionMode region_mode = 16 [default = k_ECitadelRegionMode_ROW];
|
||||
optional string broadcast_url = 17;
|
||||
optional bool new_player_pool = 18;
|
||||
optional bool low_pri_pool = 19;
|
||||
optional bool is_restricted_access = 20;
|
||||
optional bool cheats_enabled = 21;
|
||||
optional bool duplicate_heroes_enabled = 22;
|
||||
optional bool is_high_skill_range_parties = 23;
|
||||
optional bool experimental_heroes_enabled = 24;
|
||||
optional uint32 average_badge_team_0 = 25;
|
||||
optional uint32 average_badge_team_1 = 26;
|
||||
optional string gameplay_experiment = 27;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_ServerPerfStats {
|
||||
message FrameCounts {
|
||||
optional uint32 num_frames = 1;
|
||||
optional uint32 longest_run = 2;
|
||||
optional uint32 num_runs = 3;
|
||||
}
|
||||
|
||||
message PerfSample {
|
||||
optional uint32 game_time_s = 1;
|
||||
optional float avg_frame = 2;
|
||||
optional float avg_idle = 3;
|
||||
optional uint32 total_frames = 4;
|
||||
optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts performant_frames = 5;
|
||||
optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts long_frames = 6;
|
||||
optional .CMsgServerSignoutData_ServerPerfStats.FrameCounts low_idle_frames = 7;
|
||||
optional uint64 memory_bytes = 8;
|
||||
optional uint64 peak_memory_bytes = 9;
|
||||
}
|
||||
|
||||
message MatchPerfSamples {
|
||||
optional float long_frame_threshold = 1;
|
||||
optional float low_idle_threshold = 2;
|
||||
repeated .CMsgServerSignoutData_ServerPerfStats.PerfSample samples = 3;
|
||||
}
|
||||
|
||||
optional uint64 peak_memory_bytes = 1;
|
||||
optional uint64 end_memory_bytes = 2;
|
||||
optional uint32 frame_time_max_micro_s = 3;
|
||||
optional uint32 frame_time_95_micro_s = 4;
|
||||
optional uint32 frame_time_avg_micro_s = 5;
|
||||
optional uint32 frame_idle_time_95_micro_s = 6;
|
||||
optional uint32 frame_idle_time_avg_micro_s = 7;
|
||||
optional uint32 frame_time_80_micro_s = 8;
|
||||
optional uint32 frame_time_99_micro_s = 9;
|
||||
optional .CMsgServerSignoutData_ServerPerfStats.MatchPerfSamples perf_samples = 10;
|
||||
}
|
||||
|
||||
message CMsgServerToGCUpdateMatchInfo {
|
||||
optional uint64 lobby_id = 1;
|
||||
optional uint32 kills_team_0 = 3;
|
||||
optional uint32 kills_team_1 = 4;
|
||||
optional uint32 net_worth_team_0 = 5;
|
||||
optional uint32 net_worth_team_1 = 6;
|
||||
optional uint32 spectators = 7;
|
||||
optional uint32 open_spectator_slots = 8;
|
||||
optional uint64 objectives_mask_team0 = 9;
|
||||
optional uint64 objectives_mask_team1 = 10;
|
||||
}
|
||||
|
||||
message CMsgServerToGCMatchSignoutPermission {
|
||||
optional uint32 signout_start = 1;
|
||||
optional uint32 permission_request = 2;
|
||||
optional uint64 match_id = 3;
|
||||
optional .ECitadelMatchMode match_mode = 4 [default = k_ECitadelMatchMode_Invalid];
|
||||
}
|
||||
|
||||
message CMsgServerToGCMatchSignoutPermissionResponse {
|
||||
optional bool can_sign_out = 1;
|
||||
optional uint32 retry_time_s = 2;
|
||||
repeated .EGCServerSignoutData requested_data = 3;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_Disconnections {
|
||||
message CMsgMatchDisconnection {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 disconnect_time = 2;
|
||||
optional uint32 connection_state = 3;
|
||||
optional uint32 reason_code = 4;
|
||||
optional uint32 reconnect_delay = 5;
|
||||
optional uint32 match_disconnect_time = 6;
|
||||
optional uint32 match_reconnect_delay = 7;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_Disconnections.CMsgMatchDisconnection disconnections = 1;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_DetailedStats {
|
||||
message Position {
|
||||
optional float x = 1;
|
||||
optional float y = 2;
|
||||
optional float z = 3;
|
||||
}
|
||||
|
||||
message TimeSample {
|
||||
message Stats {
|
||||
optional uint32 net_worth = 1;
|
||||
optional uint32 kills = 2;
|
||||
optional uint32 deaths = 3;
|
||||
optional uint32 assists = 4;
|
||||
optional uint32 possible_creeps = 5;
|
||||
optional uint32 creep_kills = 6;
|
||||
optional uint32 neutral_kills = 7;
|
||||
optional uint32 creep_damage = 8;
|
||||
optional uint32 neutral_damage = 9;
|
||||
optional uint32 boss_damage = 10;
|
||||
optional uint32 player_damage = 11;
|
||||
optional uint32 denies = 12;
|
||||
optional uint32 player_healing = 13;
|
||||
optional uint32 ability_points = 14;
|
||||
optional uint32 self_healing = 15;
|
||||
optional uint32 player_damage_taken = 16;
|
||||
optional uint32 max_health = 17;
|
||||
optional uint32 weapon_power = 18;
|
||||
optional uint32 tech_power = 19;
|
||||
optional uint32 shots_hit = 20;
|
||||
optional uint32 shots_missed = 21;
|
||||
optional uint32 damage_absorbed = 22;
|
||||
optional uint32 absorption_provided = 23;
|
||||
optional uint32 heal_prevented = 26;
|
||||
optional uint32 heal_lost = 27;
|
||||
}
|
||||
|
||||
message GoldStats {
|
||||
optional uint32 player = 1;
|
||||
optional uint32 player_orb = 2;
|
||||
optional uint32 lane_creep_orb = 3;
|
||||
optional uint32 neutral_creep_orb = 4;
|
||||
optional uint32 boss = 5;
|
||||
optional uint32 boss_orb = 6;
|
||||
optional uint32 treasure = 7;
|
||||
optional uint32 denied = 8;
|
||||
optional uint32 death_loss = 9;
|
||||
optional uint32 lane_creep = 10;
|
||||
optional uint32 neutral_creep = 11;
|
||||
optional uint32 team_bonus = 12;
|
||||
}
|
||||
|
||||
optional uint32 match_time_s = 1;
|
||||
optional .CMsgServerSignoutData_DetailedStats.TimeSample.Stats stats = 2;
|
||||
optional .CMsgServerSignoutData_DetailedStats.TimeSample.GoldStats gold_stats = 4;
|
||||
}
|
||||
|
||||
message Objective {
|
||||
optional uint32 destroyed_time_s = 2;
|
||||
optional uint32 creep_damage = 4;
|
||||
optional uint32 creep_damage_mitigated = 5;
|
||||
optional uint32 player_damage = 6;
|
||||
optional uint32 player_damage_mitigated = 7;
|
||||
optional uint32 first_damage_time_s = 8;
|
||||
optional .ECitadelTeamObjective team_objective_id = 9 [default = k_eCitadelTeamObjective_Core];
|
||||
optional .ECitadelLobbyTeam team = 10 [default = k_ECitadelLobbyTeam_Team0];
|
||||
}
|
||||
|
||||
message MidBoss {
|
||||
optional .ECitadelLobbyTeam team_killed = 1 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional .ECitadelLobbyTeam team_claimed = 2 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional uint32 destroyed_time_s = 3;
|
||||
}
|
||||
|
||||
message Player {
|
||||
optional uint32 player_slot = 1;
|
||||
repeated .CMsgServerSignoutData_DetailedStats.TimeSample time_samples = 3;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_DetailedStats.Player player_stats = 1;
|
||||
repeated .CMsgServerSignoutData_DetailedStats.Objective objectives = 2;
|
||||
repeated .CMsgServerSignoutData_DetailedStats.MidBoss mid_boss = 3;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_PerfData {
|
||||
repeated float average_frame_time = 1;
|
||||
repeated float max_frame_time = 2;
|
||||
optional float server_average_frame_time = 3;
|
||||
optional float server_max_frame_time = 4;
|
||||
repeated float average_compute_time = 5;
|
||||
repeated float max_compute_time = 6;
|
||||
repeated float average_client_tick_time = 7;
|
||||
repeated float max_client_tick_time = 8;
|
||||
repeated float average_client_simulate_time = 9;
|
||||
repeated float max_client_simulate_time = 10;
|
||||
repeated float average_output_time = 11;
|
||||
repeated float max_output_time = 12;
|
||||
repeated float average_wait_for_rendering_to_complete_time = 13;
|
||||
repeated float max_wait_for_rendering_to_complete_time = 14;
|
||||
repeated float average_swap_time = 15;
|
||||
repeated float max_swap_time = 16;
|
||||
repeated float average_frame_update_time = 17;
|
||||
repeated float max_frame_update_time = 18;
|
||||
repeated float average_idle_time = 19;
|
||||
repeated float max_idle_time = 20;
|
||||
repeated float average_input_processing_time = 21;
|
||||
repeated float max_input_processing_time = 22;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_BookRewards {
|
||||
message BookReward {
|
||||
optional uint32 book_id = 1;
|
||||
optional uint32 xp_reward = 2;
|
||||
}
|
||||
|
||||
message AccountRewards {
|
||||
optional uint32 account_id = 1;
|
||||
optional .CMsgServerSignoutData_BookRewards.BookReward book_reward = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_BookRewards.AccountRewards account_rewards = 1;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_AccountStatChanges {
|
||||
message Stat {
|
||||
optional uint32 hero_id = 1;
|
||||
optional uint32 stat_id = 2;
|
||||
optional uint32 value = 3;
|
||||
optional .ECitadelAccountStatMedal medal = 4 [default = k_eNone];
|
||||
}
|
||||
|
||||
message AccountStats {
|
||||
optional uint32 account_id = 1;
|
||||
repeated .CMsgServerSignoutData_AccountStatChanges.Stat stats = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_AccountStatChanges.AccountStats account_stats = 1;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_PlayerChat {
|
||||
message ChatLine {
|
||||
optional uint32 player_slot = 1;
|
||||
optional float game_time = 2;
|
||||
optional bool team_only = 3;
|
||||
optional string chat_line = 4;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_PlayerChat.ChatLine chat_lines = 1;
|
||||
}
|
||||
|
||||
message CMsgServerSignoutData_PenalizedPlayers {
|
||||
message Penalty {
|
||||
optional uint32 account_id = 1;
|
||||
optional .CMsgServerSignoutData_PenalizedPlayers.EPenaltyReason reason = 2 [default = k_EPenaltyReason_Abandon];
|
||||
optional uint32 match_time_s = 3;
|
||||
optional uint32 time_stamp = 4;
|
||||
}
|
||||
|
||||
enum EPenaltyReason {
|
||||
k_EPenaltyReason_Abandon = 0;
|
||||
k_EPenaltyReason_DisconnectedTooLong = 1;
|
||||
k_EPenaltyReason_AFK = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgServerSignoutData_PenalizedPlayers.Penalty penalized_players = 1;
|
||||
}
|
||||
|
||||
message CMsgMatchData {
|
||||
message PlayerItem {
|
||||
optional uint32 item_id = 1;
|
||||
optional uint32 game_time_s = 2;
|
||||
optional uint32 upgrade_id = 3;
|
||||
optional uint32 sold_time_s = 4;
|
||||
optional uint32 flags = 5;
|
||||
optional uint32 imbued_ability_id = 6;
|
||||
}
|
||||
|
||||
message PlayerInfo {
|
||||
optional uint32 account_id = 1;
|
||||
optional .ECitadelLobbyTeam team = 2 [default = k_ECitadelLobbyTeam_Team0];
|
||||
optional uint32 player_slot = 3;
|
||||
optional uint32 hero_mmr_with_uncertainty = 4;
|
||||
optional uint32 player_mmr = 5;
|
||||
optional uint32 player_uncertainty = 6;
|
||||
optional uint32 hero_id = 7;
|
||||
optional uint32 kills = 8;
|
||||
optional uint32 deaths = 9;
|
||||
optional uint32 net_worth = 10;
|
||||
optional uint32 assists = 11;
|
||||
optional uint32 hero_mmr = 12;
|
||||
repeated .CMsgMatchData.PlayerItem items = 13;
|
||||
optional uint32 gpm_10min = 14;
|
||||
optional uint32 gpm_15min = 15;
|
||||
optional uint32 gpm_20min = 16;
|
||||
optional uint32 gpm_25min = 17;
|
||||
optional uint32 gpm_30min = 18;
|
||||
optional uint32 gpm_35min = 19;
|
||||
optional uint32 gpm_end = 20;
|
||||
optional uint32 last_hits = 21;
|
||||
optional uint32 denies = 22;
|
||||
optional uint32 ability_points = 23;
|
||||
optional uint32 level = 24;
|
||||
optional uint32 assigned_lane = 25;
|
||||
optional uint32 party_index = 26;
|
||||
optional .EGCPlatform platform = 27 [default = k_eGCPlatform_None];
|
||||
optional uint32 ability_damage = 28;
|
||||
optional uint32 bullet_damage = 29;
|
||||
optional uint32 hero_bullets_hit = 30;
|
||||
optional uint32 hero_bullets_hit_crit = 31;
|
||||
optional uint32 player_healing = 32;
|
||||
optional uint32 hero_bullets_fired = 33;
|
||||
optional uint32 hero_incoming_bullets_fired = 34;
|
||||
optional uint32 hero_incoming_bullets_hit = 35;
|
||||
optional uint32 hero_incoming_bullets_crit = 36;
|
||||
optional uint32 time_dead_s = 37;
|
||||
optional uint32 player_bullet_damage = 38;
|
||||
optional uint32 player_ability_damage = 39;
|
||||
optional uint32 player_melee_damage = 40;
|
||||
optional uint32 abandon_match_time_s = 41;
|
||||
optional uint32 abandon_time_stamp = 42;
|
||||
optional uint32 trooper_kill_excluded = 43;
|
||||
optional uint32 hero_bullets_lucky_shots = 44;
|
||||
optional uint32 hero_build_id = 45;
|
||||
}
|
||||
|
||||
enum EEndReason {
|
||||
k_EEndReason_TeamWin = 0;
|
||||
k_EEndReason_AllAbandoned = 2;
|
||||
k_EEndReason_NetworkIssues = 3;
|
||||
k_EEndReason_MatchLength = 4;
|
||||
k_EEndReason_PlayerNeverConnected = 5;
|
||||
}
|
||||
|
||||
optional uint32 match_duration_s = 1;
|
||||
optional .CMsgMatchData.EEndReason end_reason = 2 [default = k_EEndReason_TeamWin];
|
||||
optional .ECitadelLobbyTeam winning_team = 3 [default = k_ECitadelLobbyTeam_Team0];
|
||||
repeated .CMsgMatchData.PlayerInfo players = 4;
|
||||
optional uint32 objectives_mask_legacy = 5;
|
||||
optional uint32 server_version = 6;
|
||||
optional .ECitadelGameMode game_mode = 7 [default = k_ECitadelGameMode_Invalid];
|
||||
optional .ECitadelMatchMode match_mode = 8 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional uint64 objectives_mask_team0 = 9;
|
||||
optional uint64 objectives_mask_team1 = 10;
|
||||
optional uint32 match_end_time = 11;
|
||||
optional float stomp_score = 12;
|
||||
optional bool safe_to_abandon = 13;
|
||||
optional bool team_abandon = 14;
|
||||
optional bool new_player_pool = 15;
|
||||
optional bool low_pri_pool = 16;
|
||||
}
|
||||
|
||||
message CMsgServerToGCMatchSignout {
|
||||
repeated .CExtraMsgBlock additional_data = 1;
|
||||
optional uint32 signout_attempt = 2;
|
||||
optional uint64 lobby_id = 3;
|
||||
optional uint64 match_id = 4;
|
||||
optional uint32 cluster_id = 9;
|
||||
optional .CMsgMatchData match_data = 10;
|
||||
}
|
||||
|
||||
message CMsgServerToGCMatchSignoutResponse {
|
||||
enum ESignoutResult {
|
||||
k_ESignout_Failed_Retry = 1;
|
||||
k_ESignout_Failed_NoRetry = 2;
|
||||
k_ESignout_Failed_InFlight = 3;
|
||||
k_ESignout_Success = 4;
|
||||
k_ESignout_Success_AlreadySignedOut = 5;
|
||||
}
|
||||
|
||||
optional .CMsgServerToGCMatchSignoutResponse.ESignoutResult result = 1 [default = k_ESignout_Failed_Retry];
|
||||
}
|
||||
|
||||
message CMsgServerWelcomeCitadel {
|
||||
}
|
||||
|
||||
message CMsgServerToGCIdlePing {
|
||||
optional uint32 server_version = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerRequestPing {
|
||||
}
|
||||
|
||||
message CMsgGCToServerAllocateForMatch {
|
||||
optional uint64 match_id = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerAllocateForMatchResponse {
|
||||
optional bool success = 1;
|
||||
}
|
||||
|
||||
message CMsgServerToGCEnterMatchmaking {
|
||||
optional uint32 server_version = 1;
|
||||
optional string search_key = 2;
|
||||
optional uint32 region_id = 3;
|
||||
optional uint32 cluster_id = 4;
|
||||
optional uint32 server_public_ip = 5;
|
||||
optional uint32 server_private_ip = 6;
|
||||
optional uint32 server_port = 7;
|
||||
optional bytes sdr_address = 9;
|
||||
}
|
||||
|
||||
message CMsgGCToServerCancelAllocateForMatch {
|
||||
optional uint64 match_id = 1;
|
||||
}
|
||||
|
||||
message CMsgServerToGCUpdateLobbyServerState {
|
||||
optional uint64 lobby_id = 1;
|
||||
optional .ELobbyServerState server_state = 2 [default = k_eLobbyServerState_Assign];
|
||||
optional bool safe_to_abandon = 3;
|
||||
}
|
||||
|
||||
message CMsgServerToGCAbandonMatch {
|
||||
message Player {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint64 additional_data = 2;
|
||||
optional uint32 hero_id = 3;
|
||||
}
|
||||
|
||||
enum EReason {
|
||||
eReason_ServerCrash = 1;
|
||||
eReason_ClientsFailedToConnect = 2;
|
||||
}
|
||||
|
||||
optional fixed64 server_steam_id = 1;
|
||||
optional fixed64 lobby_id = 2;
|
||||
optional uint32 cluster_id = 3;
|
||||
optional .CMsgServerToGCAbandonMatch.EReason reason_code = 4 [default = eReason_ServerCrash];
|
||||
optional uint64 additional_data = 5;
|
||||
optional uint64 match_id = 6;
|
||||
repeated .CMsgServerToGCAbandonMatch.Player players = 8;
|
||||
optional fixed32 public_ip_address = 9;
|
||||
optional uint32 port = 10;
|
||||
optional uint32 server_version = 11;
|
||||
optional uint32 pid = 12;
|
||||
optional uint32 instance_id = 13;
|
||||
optional uint32 private_ip_address = 14;
|
||||
optional .ECitadelMatchMode match_mode = 15 [default = k_ECitadelMatchMode_Invalid];
|
||||
optional .ECitadelGameMode game_mode = 16 [default = k_ECitadelGameMode_Invalid];
|
||||
optional bool was_server_shutdown = 17;
|
||||
}
|
||||
|
||||
message CMsgServerToGCAbandonMatchResponse {
|
||||
}
|
||||
|
||||
message CMsgServerToGCTestConnection {
|
||||
}
|
||||
|
||||
message CMsgServerToGCTestConnectionResponse {
|
||||
optional uint32 state = 1;
|
||||
optional uint64 lobby_id = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToServerSetServerConVar {
|
||||
optional string convar_name = 1;
|
||||
optional string convar_value = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToServerSetServerConVarResponse {
|
||||
optional bool success = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToServerAddSpectator {
|
||||
optional uint64 lobby_id = 1;
|
||||
optional uint32 account_id = 2;
|
||||
optional uint32 account_to_spectate = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToServerAddSpectatorResponse {
|
||||
enum EResponse {
|
||||
k_eInternalError = 0;
|
||||
k_eSuccess = 1;
|
||||
k_eServerFull = 2;
|
||||
}
|
||||
|
||||
optional .CMsgGCToServerAddSpectatorResponse.EResponse result = 1 [default = k_eInternalError];
|
||||
optional uint32 requesting_account_id = 2;
|
||||
}
|
||||
|
||||
message CMsgServerToGCReportCheater {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint64 match_id = 2;
|
||||
optional fixed64 lobby_id = 3;
|
||||
optional string reason = 4;
|
||||
optional bool record_data_only = 5;
|
||||
optional float cheater_score = 6;
|
||||
}
|
||||
|
||||
message CMsgServerToGCReportCheaterResponse {
|
||||
optional bool success = 1;
|
||||
}
|
15
game/shared/citadel/citadel_usercmd.proto
Normal file
15
game/shared/citadel/citadel_usercmd.proto
Normal file
@ -0,0 +1,15 @@
|
||||
import "networkbasetypes.proto";
|
||||
import "usercmd.proto";
|
||||
|
||||
message CCitadelUserCmdPB {
|
||||
optional .CBaseUserCmdPB base = 1;
|
||||
optional .CMsgVector vec_camera_position = 2;
|
||||
optional .CMsgQAngle ang_camera_angles = 3;
|
||||
optional int32 execute_ability_indices = 4;
|
||||
optional bool in_shop = 5;
|
||||
optional float camera_roaming_speed = 6;
|
||||
optional bool using_free_cursor = 8;
|
||||
optional int32 enemy_hero_aimed_at = 10 [default = -1];
|
||||
repeated int32 view_delta_x = 11;
|
||||
repeated int32 view_delta_y = 12;
|
||||
}
|
600
game/shared/citadel/citadel_usermessages.proto
Normal file
600
game/shared/citadel/citadel_usermessages.proto
Normal file
@ -0,0 +1,600 @@
|
||||
import "networkbasetypes.proto";
|
||||
import "citadel_gcmessages_common.proto";
|
||||
import "gameevents.proto";
|
||||
|
||||
enum CitadelUserMessageIds {
|
||||
k_EUserMsg_Damage = 300;
|
||||
k_EUserMsg_MapPing = 303;
|
||||
k_EUserMsg_TeamRewards = 304;
|
||||
k_EUserMsg_AbilityFailed = 306;
|
||||
k_EUserMsg_TriggerDamageFlash = 308;
|
||||
k_EUserMsg_AbilitiesChanged = 309;
|
||||
k_EUserMsg_RecentDamageSummary = 310;
|
||||
k_EUserMsg_SpectatorTeamChanged = 311;
|
||||
k_EUserMsg_ChatWheel = 312;
|
||||
k_EUserMsg_GoldHistory = 313;
|
||||
k_EUserMsg_ChatMsg = 314;
|
||||
k_EUserMsg_QuickResponse = 315;
|
||||
k_EUserMsg_PostMatchDetails = 316;
|
||||
k_EUserMsg_ChatEvent = 317;
|
||||
k_EUserMsg_AbilityInterrupted = 318;
|
||||
k_EUserMsg_HeroKilled = 319;
|
||||
k_EUserMsg_ReturnIdol = 320;
|
||||
k_EUserMsg_SetClientCameraAngles = 321;
|
||||
k_EUserMsg_MapLine = 322;
|
||||
k_EUserMsg_BulletHit = 323;
|
||||
k_EUserMsg_ObjectiveMask = 324;
|
||||
k_EUserMsg_ModifierApplied = 325;
|
||||
k_EUserMsg_CameraController = 326;
|
||||
k_EUserMsg_AuraModifierApplied = 327;
|
||||
k_EUserMsg_ObstructedShotFired = 329;
|
||||
k_EUserMsg_AbilityLateFailure = 330;
|
||||
k_EUserMsg_AbilityPing = 331;
|
||||
k_EUserMsg_PostProcessingAnim = 332;
|
||||
k_EUserMsg_DeathReplayData = 333;
|
||||
k_EUserMsg_PlayerLifetimeStatInfo = 334;
|
||||
k_EUserMsg_ForceShopClosed = 336;
|
||||
k_EUserMsg_StaminaDrained = 337;
|
||||
k_EUserMsg_AbilityNotify = 338;
|
||||
k_EUserMsg_GetDamageStatsResponse = 339;
|
||||
k_EUserMsg_ParticipantStartSoundEvent = 340;
|
||||
k_EUserMsg_ParticipantStopSoundEvent = 341;
|
||||
k_EUserMsg_ParticipantStopSoundEventHash = 342;
|
||||
k_EUserMsg_ParticipantSetSoundEventParams = 343;
|
||||
k_EUserMsg_ParticipantSetLibraryStackFields = 344;
|
||||
k_EUserMsg_CurrencyChanged = 345;
|
||||
k_EUserMsg_GameOver = 346;
|
||||
k_EUserMsg_BossKilled = 347;
|
||||
k_EUserMsg_BossDamaged = 348;
|
||||
k_EUserMsg_MidBossSpawned = 349;
|
||||
k_EUserMsg_RejuvStatus = 350;
|
||||
k_EUserMsg_KillStreak = 351;
|
||||
k_EUserMsg_TeamMsg = 352;
|
||||
k_EUserMsg_PlayerRespawned = 353;
|
||||
k_EUserMsg_CallCheaterVote = 354;
|
||||
k_EUserMsg_MeleeHit = 355;
|
||||
k_EUserMsg_FlexSlotUnlocked = 356;
|
||||
k_EUserMsg_SeasonalAchievementUnlocked = 357;
|
||||
}
|
||||
|
||||
enum CitadelEntityMessageIds {
|
||||
k_EEntityMsg_BreakablePropSpawnDebris = 500;
|
||||
}
|
||||
|
||||
enum ChatMsgPingMarkerInfo {
|
||||
k_EPingMarkerInfo_ShowMarkerAndSound = 0;
|
||||
k_EPingMarkerInfo_HideMarkerAndSound = 1;
|
||||
k_EPingMarkerInfo_ShowMarkerOnSender = 2;
|
||||
k_EPingMarkerInfo_OnlyShowMarker = 3;
|
||||
k_EPingMarkerInfo_OnlyPlaySound = 4;
|
||||
}
|
||||
|
||||
enum CameraOperation {
|
||||
k_ECameraOp_Maintain = 2;
|
||||
k_ECameraOp_Approach = 3;
|
||||
k_ECameraOp_Spring = 4;
|
||||
k_ECameraOp_Lerp = 5;
|
||||
k_ECameraOp_Lag = 6;
|
||||
}
|
||||
|
||||
enum CameraParam {
|
||||
k_EParam_ClearAllOps = 0;
|
||||
k_EParam_ClearAllOpsForContext = 1;
|
||||
k_EParam_Distance = 2;
|
||||
k_EParam_FOV = 3;
|
||||
k_EParam_TargetPosition = 4;
|
||||
k_EParam_VertOffset = 5;
|
||||
k_EParam_HorizOffset = 6;
|
||||
}
|
||||
|
||||
enum CameraParamMode {
|
||||
k_EParamMode_AllowInOneContext = 0;
|
||||
k_EParamMode_AllowInMultipleContexts = 1;
|
||||
}
|
||||
|
||||
enum CameraAction {
|
||||
k_EAction_AddOp = 0;
|
||||
k_EAction_ClearAllOps = 1;
|
||||
k_EAction_ClearOpsForContext = 2;
|
||||
}
|
||||
|
||||
enum ECitadelChatMessage {
|
||||
CITADEL_CHAT_MESSAGE_UNPAUSE_COUNTDOWN = 1;
|
||||
CITADEL_CHAT_MESSAGE_UNPAUSED = 2;
|
||||
CITADEL_CHAT_MESSAGE_AUTO_UNPAUSED = 3;
|
||||
CITADEL_CHAT_MESSAGE_PAUSE_COUNTDOWN = 4;
|
||||
CITADEL_CHAT_MESSAGE_PAUSED = 5;
|
||||
CITADEL_CHAT_MESSAGE_YOUPAUSED = 6;
|
||||
CITADEL_CHAT_MESSAGE_CANTPAUSE = 7;
|
||||
CITADEL_CHAT_MESSAGE_CANTUNPAUSETEAM = 8;
|
||||
CITADEL_CHAT_MESSAGE_NOPAUSESLEFT = 9;
|
||||
CITADEL_CHAT_MESSAGE_CANTPAUSEYET = 10;
|
||||
CITADEL_CHAT_MESSAGE_PREGAME_COUNTDOWN = 11;
|
||||
CITADEL_CHAT_MESSAGE_NOTEAMPAUSESLEFT = 12;
|
||||
CITADEL_CHAT_MESSAGE_COMMS_RESTRICTED = 13;
|
||||
}
|
||||
|
||||
enum PostProcessingGameStates {
|
||||
PostProcState_Killed = 0;
|
||||
PostProcState_Black = 1;
|
||||
PostProcState_Blinded = 2;
|
||||
PostProcState_ShivPossessed = 3;
|
||||
}
|
||||
|
||||
message CUserMessageEmpty {
|
||||
optional uint32 empty = 1;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_Damage {
|
||||
optional int32 damage = 1;
|
||||
optional int32 pre_damage = 2;
|
||||
optional int32 type = 3;
|
||||
optional int32 citadel_type = 4;
|
||||
optional .CMsgVector origin = 5;
|
||||
optional int32 entindex_victim = 6 [default = -1];
|
||||
optional int32 entindex_inflictor = 7 [default = -1];
|
||||
optional int32 entindex_attacker = 8 [default = -1];
|
||||
optional int32 entindex_ability = 9 [default = -1];
|
||||
optional int32 damage_absorbed = 10;
|
||||
optional int32 victim_health_max = 11;
|
||||
optional int32 victim_health_new = 12;
|
||||
optional uint64 flags = 13;
|
||||
optional uint32 ability_id = 14;
|
||||
optional uint32 attacker_class = 15;
|
||||
optional uint32 victim_class = 16;
|
||||
optional int32 victim_shield_max = 17;
|
||||
optional int32 victim_shield_new = 18;
|
||||
optional int32 hits = 19;
|
||||
optional int32 health_lost = 20;
|
||||
optional int32 hitgroup_id = 21;
|
||||
optional int32 entindex_attacking_object = 22 [default = -1];
|
||||
optional .CMsgVector damage_direction = 23;
|
||||
}
|
||||
|
||||
message PingCommonData {
|
||||
optional uint32 ping_message_id = 1;
|
||||
optional .CMsgVector ping_location = 2;
|
||||
optional uint32 entity_index = 3 [default = 16777215];
|
||||
optional int32 sender_player_slot = 4 [default = -1];
|
||||
optional int32 speech_concept = 5;
|
||||
optional string response_chosen = 6;
|
||||
optional float cooldown_time = 7;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_MapPing {
|
||||
required .PingCommonData ping_data = 1;
|
||||
optional uint32 event_type = 2;
|
||||
optional .ChatMsgPingMarkerInfo ping_marker_and_sound_info = 3 [default = k_EPingMarkerInfo_ShowMarkerAndSound];
|
||||
optional bool pinged_enemy_entity = 4;
|
||||
optional uint32 pinged_entity_class = 5;
|
||||
optional bool is_minimap_ping = 6;
|
||||
optional string pinged_hero_name = 7;
|
||||
optional bool is_blind_ping = 8;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_PingWheel {
|
||||
required .PingCommonData ping_data = 1;
|
||||
optional uint32 ping_wheel_option_id = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_AbilityPing {
|
||||
optional .PingCommonData ping_data = 1;
|
||||
optional uint32 ability_id = 2;
|
||||
optional float ability_cooldown = 3;
|
||||
optional .ChatMsgPingMarkerInfo ping_marker_and_sound_info = 4 [default = k_EPingMarkerInfo_ShowMarkerAndSound];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_QuickResponse {
|
||||
required .PingCommonData ping_data = 1;
|
||||
optional uint32 responding_to_ping_message_id = 2;
|
||||
optional int32 responding_to_player_slot = 3 [default = -1];
|
||||
optional .CMsgLaneColor lane_color = 4 [default = k_ELaneColor_Invalid];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_MapLine {
|
||||
optional int32 sender_player_slot = 1 [default = -1];
|
||||
optional .CMsgMapLine mapline = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_TeamRewards {
|
||||
optional uint32 xp = 1;
|
||||
optional uint32 gold = 2;
|
||||
optional bool winner = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_TriggerDamageFlash {
|
||||
optional int32 entindex_flash_victim = 1 [default = -1];
|
||||
optional int32 entindex_flash_attacker = 2 [default = -1];
|
||||
optional int32 entindex_flash_hitgroup = 3;
|
||||
optional uint32 flash_value = 4;
|
||||
optional uint32 flash_type = 5;
|
||||
optional uint32 flash_flags = 6;
|
||||
optional .CMsgVector flash_position = 7;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_AbilitiesChanged {
|
||||
enum Change {
|
||||
EInvalid = -1;
|
||||
EPurchased = 0;
|
||||
EUpgraded = 1;
|
||||
ESold = 2;
|
||||
ESwappedActivatedAbility = 3;
|
||||
}
|
||||
|
||||
optional int32 purchaser_player_slot = 1 [default = -1];
|
||||
optional uint32 ability_id = 2;
|
||||
optional .CCitadelUserMsg_AbilitiesChanged.Change change = 3 [default = EInvalid];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_AbilityInterrupted {
|
||||
optional int32 entindex_victim = 1 [default = -1];
|
||||
optional int32 entindex_interrupter = 2 [default = -1];
|
||||
optional uint32 ability_id_interrupted = 3;
|
||||
optional uint32 ability_id_interrupter = 4;
|
||||
optional uint32 hero_id_interrupter = 5;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_AbilityLateFailure {
|
||||
optional int32 entindex_caster = 1 [default = -1];
|
||||
optional int32 entindex_ability = 2 [default = -1];
|
||||
optional uint32 failure_type = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_RecentDamageSummary {
|
||||
message DamageRecord {
|
||||
optional int32 damage = 1;
|
||||
optional int32 hits = 2;
|
||||
optional uint32 damage_type = 3;
|
||||
optional uint32 hero_id = 4;
|
||||
optional uint32 ability_id = 5;
|
||||
optional uint32 attacker_class = 6;
|
||||
optional int32 damage_absorbed = 7;
|
||||
optional bool is_killing_blow = 8;
|
||||
optional uint32 victim_hero_id = 9;
|
||||
}
|
||||
|
||||
message ModifierRecord {
|
||||
optional uint32 ability_id = 1;
|
||||
optional uint32 modifier_type_id = 2;
|
||||
optional int32 entindex_caster = 3 [default = -1];
|
||||
optional float start_time = 4;
|
||||
optional float end_time = 5;
|
||||
optional bool debuff = 6;
|
||||
}
|
||||
|
||||
optional int32 player_slot = 1 [default = -1];
|
||||
repeated .CCitadelUserMsg_RecentDamageSummary.DamageRecord damage_records = 2;
|
||||
optional float start_time = 3;
|
||||
optional float end_time = 4;
|
||||
optional int32 total_damage = 5;
|
||||
optional int32 lost_gold = 6;
|
||||
repeated .CCitadelUserMsg_RecentDamageSummary.ModifierRecord modifier_records = 7;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_SpectatorTeamChanged {
|
||||
optional int32 teamnumber = 1;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ChatWheel {
|
||||
optional uint32 chat_message_id = 1;
|
||||
optional int32 player_slot = 2 [default = -1];
|
||||
optional int32 pawn_entindex = 3 [default = -1];
|
||||
optional uint32 account_id = 4;
|
||||
optional uint32 hero_id = 5;
|
||||
optional string param_1 = 6;
|
||||
optional .CMsgLaneColor lane_color = 7 [default = k_ELaneColor_Invalid];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ChatMsg {
|
||||
optional int32 player_slot = 1 [default = -1];
|
||||
optional string text = 2;
|
||||
optional bool all_chat = 3;
|
||||
optional .CMsgLaneColor lane_color = 4 [default = k_ELaneColor_Invalid];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_GoldHistory {
|
||||
message GoldRecord {
|
||||
optional int32 currency_source = 1;
|
||||
optional int32 gold = 2;
|
||||
optional int32 events = 3;
|
||||
}
|
||||
|
||||
message MinuteRecord {
|
||||
optional int32 match_minute = 1;
|
||||
repeated .CCitadelUserMsg_GoldHistory.GoldRecord gold_records = 2;
|
||||
}
|
||||
|
||||
optional int32 entindex_player = 1 [default = -1];
|
||||
repeated .CCitadelUserMsg_GoldHistory.MinuteRecord minute_records = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_CameraController {
|
||||
message Maintain {
|
||||
optional float duration = 1 [default = 0];
|
||||
}
|
||||
|
||||
message Approach {
|
||||
optional float speed = 1 [default = 600];
|
||||
optional float default_speed = 2 [default = 600];
|
||||
optional float acceleration = 3 [default = 1000];
|
||||
optional float min_duration = 4 [default = 0];
|
||||
optional float approach_float = 5;
|
||||
optional .CMsgVector approach_vector = 6;
|
||||
optional bool chase_default = 7;
|
||||
}
|
||||
|
||||
message Spring {
|
||||
optional float spring_strength = 1 [default = 10];
|
||||
optional float min_speed = 4 [default = 0];
|
||||
optional float max_duration = 5 [default = 0];
|
||||
optional float target_float = 6;
|
||||
optional .CMsgVector target_vector = 7;
|
||||
}
|
||||
|
||||
message Lerp {
|
||||
optional float start_float = 1;
|
||||
optional .CMsgVector start_vector = 2;
|
||||
optional float end_float = 3;
|
||||
optional .CMsgVector end_vector = 4;
|
||||
optional float bias = 5;
|
||||
optional float gain = 6;
|
||||
optional float duration = 7 [default = 1];
|
||||
}
|
||||
|
||||
message Lag {
|
||||
optional float min_duration = 1;
|
||||
optional float lag_time = 2;
|
||||
optional float max_speed = 3;
|
||||
optional float spring_strength = 4;
|
||||
optional bool increase_spring_strength_to_keep_target_on_screen = 5 [default = true];
|
||||
}
|
||||
|
||||
required .CameraAction action = 1 [default = k_EAction_AddOp];
|
||||
optional .CameraOperation operation = 2 [default = k_ECameraOp_Maintain];
|
||||
optional .CameraParam param = 3 [default = k_EParam_ClearAllOps];
|
||||
optional .CameraParamMode param_mode = 12 [default = k_EParamMode_AllowInOneContext];
|
||||
optional float delay = 4;
|
||||
optional bool relative_values = 11;
|
||||
optional uint32 context_symbol_id = 5;
|
||||
optional uint32 priority = 13 [default = 1];
|
||||
optional .CCitadelUserMsg_CameraController.Maintain maintain = 6;
|
||||
optional .CCitadelUserMsg_CameraController.Approach approach = 7;
|
||||
optional .CCitadelUserMsg_CameraController.Spring spring = 8;
|
||||
optional .CCitadelUserMsg_CameraController.Lerp lerp = 9;
|
||||
optional .CCitadelUserMsg_CameraController.Lag lag = 10;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_PostMatchDetails {
|
||||
optional bytes match_details = 1;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ChatEvent {
|
||||
optional .ECitadelChatMessage type = 1 [default = CITADEL_CHAT_MESSAGE_UNPAUSE_COUNTDOWN];
|
||||
repeated uint32 values = 2;
|
||||
repeated int32 player_slots = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_HeroKilled {
|
||||
optional int32 entindex_victim = 1 [default = -1];
|
||||
optional int32 entindex_inflictor = 2 [default = -1];
|
||||
optional int32 entindex_attacker = 3 [default = -1];
|
||||
repeated int32 entindex_assisters = 4;
|
||||
optional int32 entindex_scorer = 5 [default = -1];
|
||||
optional int32 respawn_reason = 6;
|
||||
optional int32 victim_team_number = 7;
|
||||
}
|
||||
|
||||
message CCitadelEntityMsg_BreakablePropSpawnDebris {
|
||||
optional .CEntityMsg entity_msg = 1;
|
||||
optional .CMsgVector damage_pos = 2;
|
||||
optional float damage = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ReturnIdol {
|
||||
optional int32 location_index = 1;
|
||||
optional .CMsgVector return_location = 2;
|
||||
optional bool location_enabled = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_SetClientCameraAngles {
|
||||
optional int32 player_slot = 1 [default = -1];
|
||||
optional .CMsgQAngle camera_angles = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_BulletHit {
|
||||
optional int32 shotid = 1;
|
||||
optional int32 pellet = 2;
|
||||
optional int32 hit_entindex = 3 [default = -1];
|
||||
optional int32 weapon_entindex = 4 [default = -1];
|
||||
optional bool is_predicted = 5;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_ObjectiveMask {
|
||||
optional uint64 objective_mask_team0 = 2;
|
||||
optional uint64 objective_mask_team1 = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_ModifierApplied {
|
||||
optional int32 entindex_caster = 1 [default = -1];
|
||||
optional int32 entindex_parent = 2 [default = -1];
|
||||
optional int32 serial_number = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_AuraModifierApplied {
|
||||
optional int32 entindex_caster = 1 [default = -1];
|
||||
optional int32 entindex_target = 2 [default = -1];
|
||||
optional uint32 modifier_type_id = 3;
|
||||
optional int32 modifier_serial_number = 4;
|
||||
optional float aura_start_time = 5;
|
||||
optional float aura_end_time = 6;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ObstructedShotFired {
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_PostProcessingAnim {
|
||||
optional int32 entindex_owner = 1 [default = -1];
|
||||
optional bool clear_all_states = 2;
|
||||
optional .PostProcessingGameStates state = 3 [default = PostProcState_Killed];
|
||||
optional float start_time = 4;
|
||||
optional float fade_in_time = 5;
|
||||
optional float hold_time = 6;
|
||||
optional float fade_out_time = 7;
|
||||
optional float scale = 8;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_DeathReplayData {
|
||||
optional int32 killer_scorer = 1 [default = -1];
|
||||
optional int32 killer_inflictor = 2 [default = -1];
|
||||
optional .CCitadelUserMsg_RecentDamageSummary damage_summary = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ForceShopClosed {
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_PlayerLifetimeStatInfo {
|
||||
message Stat {
|
||||
optional string stat_name = 1;
|
||||
optional uint32 match_total = 2;
|
||||
optional uint32 lifetime_value = 3;
|
||||
optional uint32 priority = 4;
|
||||
optional uint32 prev_lifetime_max = 5;
|
||||
optional uint32 stat_type = 6;
|
||||
optional uint32 stat_type_id = 7;
|
||||
}
|
||||
|
||||
repeated .CCitadelUserMsg_PlayerLifetimeStatInfo.Stat stats = 1;
|
||||
optional uint64 match_id = 2;
|
||||
optional bool end_of_match = 3;
|
||||
optional bool is_official_match = 4;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_StaminaDrained {
|
||||
optional int32 entindex_victim = 1 [default = -1];
|
||||
optional int32 stamina_drained = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_AbilityNotify {
|
||||
optional int32 entindex_victim = 1 [default = -1];
|
||||
optional int32 entindex_attacker = 2 [default = -1];
|
||||
optional uint32 ability_id = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_CurrencyChanged {
|
||||
optional int32 entindex_hero_pawn = 1 [default = -1];
|
||||
optional int32 currency_type = 2;
|
||||
optional int32 currency_source = 3;
|
||||
optional int32 delta = 4;
|
||||
optional bool notification = 5;
|
||||
optional int32 entindex_victim = 6 [default = -1];
|
||||
optional .CMsgVector victim_pos = 7;
|
||||
optional int32 playsound = 8;
|
||||
optional uint32 ability_id = 9;
|
||||
optional uint32 new_value = 10;
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_GameOver {
|
||||
optional int32 winning_team = 1;
|
||||
optional bool just_a_test = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_GetDamageStatsResponse {
|
||||
message StatType {
|
||||
repeated uint32 target_player_slot = 1 [packed = true];
|
||||
repeated uint32 value = 2 [packed = true];
|
||||
}
|
||||
|
||||
optional uint32 player_slot = 1;
|
||||
optional string ability_name = 2;
|
||||
optional .CCitadelUserMsg_GetDamageStatsResponse.StatType damage = 3;
|
||||
optional .CCitadelUserMsg_GetDamageStatsResponse.StatType healing = 4;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ParticipantStartSoundEvent {
|
||||
required .CMsgSosStartSoundEvent event = 1;
|
||||
repeated int32 player_slots = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ParticipantStopSoundEvent {
|
||||
required .CMsgSosStopSoundEvent event = 1;
|
||||
repeated int32 player_slots = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ParticipantStopSoundEventHash {
|
||||
required .CMsgSosStopSoundEventHash event = 1;
|
||||
repeated int32 player_slots = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ParticipantSetSoundEventParams {
|
||||
required .CMsgSosSetSoundEventParams event = 1;
|
||||
repeated int32 player_slots = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_ParticipantSetLibraryStackFields {
|
||||
required .CMsgSosSetLibraryStackFields event = 1;
|
||||
repeated int32 player_slots = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_BossKilled {
|
||||
optional int32 objective_team = 1;
|
||||
optional int32 objective_mask_change = 2;
|
||||
optional uint32 entity_killed = 3 [default = 16777215];
|
||||
optional int32 entity_killed_class = 4;
|
||||
optional uint32 entity_killer = 5 [default = 16777215];
|
||||
optional float gametime = 6;
|
||||
optional int32 bosses_remaining = 7;
|
||||
optional .CMsgVector entity_position = 8;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_BossDamaged {
|
||||
required int32 objective_team = 1;
|
||||
required int32 objective_id = 2;
|
||||
required uint32 entity_damaged = 3 [default = 16777215];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_MidBossSpawned {
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_RejuvStatus {
|
||||
optional int32 killing_team = 1;
|
||||
required uint32 player_pawn = 2 [default = 16777215];
|
||||
required int32 user_team = 3;
|
||||
required int32 event_type = 4;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_KillStreak {
|
||||
required uint32 player_pawn = 1 [default = 16777215];
|
||||
required int32 num_kills = 2;
|
||||
required bool is_first_blood = 3;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_TeamMsg {
|
||||
required int32 event_type = 1;
|
||||
required int32 team_number = 2;
|
||||
required int32 lane_color = 3;
|
||||
required uint32 player_controller = 4 [default = 16777215];
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_PlayerRespawned {
|
||||
required uint32 player_pawn = 1 [default = 16777215];
|
||||
required float facing_yaw = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_CallCheaterVote {
|
||||
required int32 player_slot = 1 [default = -1];
|
||||
}
|
||||
|
||||
message CCitadelUserMessage_MeleeHit {
|
||||
optional int32 hit_entindex = 1 [default = -1];
|
||||
optional bool heavy = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_FlexSlotUnlocked {
|
||||
optional int32 team_number = 1;
|
||||
optional int32 flexslot_unlocked = 2;
|
||||
}
|
||||
|
||||
message CCitadelUserMsg_SeasonalAchievementUnlocked {
|
||||
optional uint32 account_id = 1;
|
||||
optional uint32 hero_id = 2;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
37
game/shared/econ/econ_shared_enums.proto
Normal file
37
game/shared/econ/econ_shared_enums.proto
Normal file
@ -0,0 +1,37 @@
|
||||
enum EGCEconBaseMsg {
|
||||
k_EMsgGCGenericResult = 2579;
|
||||
}
|
||||
|
||||
enum EGCMsgResponse {
|
||||
k_EGCMsgResponseOK = 0;
|
||||
k_EGCMsgResponseDenied = 1;
|
||||
k_EGCMsgResponseServerError = 2;
|
||||
k_EGCMsgResponseTimeout = 3;
|
||||
k_EGCMsgResponseInvalid = 4;
|
||||
k_EGCMsgResponseNoMatch = 5;
|
||||
k_EGCMsgResponseUnknownError = 6;
|
||||
k_EGCMsgResponseNotLoggedOn = 7;
|
||||
k_EGCMsgFailedToCreate = 8;
|
||||
}
|
||||
|
||||
enum EGCMsgUseItemResponse {
|
||||
k_EGCMsgUseItemResponse_ItemUsed = 0;
|
||||
k_EGCMsgUseItemResponse_GiftNoOtherPlayers = 1;
|
||||
k_EGCMsgUseItemResponse_ServerError = 2;
|
||||
k_EGCMsgUseItemResponse_MiniGameAlreadyStarted = 3;
|
||||
k_EGCMsgUseItemResponse_ItemUsed_ItemsGranted = 4;
|
||||
k_EGCMsgUseItemResponse_DropRateBonusAlreadyGranted = 5;
|
||||
k_EGCMsgUseItemResponse_NotInLowPriorityPool = 6;
|
||||
k_EGCMsgUseItemResponse_NotHighEnoughLevel = 7;
|
||||
k_EGCMsgUseItemResponse_EventNotActive = 8;
|
||||
k_EGCMsgUseItemResponse_ItemUsed_EventPointsGranted = 9;
|
||||
k_EGCMsgUseItemResponse_MissingRequirement = 10;
|
||||
k_EGCMsgUseItemResponse_EmoticonUnlock_NoNew = 11;
|
||||
k_EGCMsgUseItemResponse_EmoticonUnlock_Complete = 12;
|
||||
k_EGCMsgUseItemResponse_ItemUsed_Compendium = 13;
|
||||
}
|
||||
|
||||
message CMsgGenericResult {
|
||||
optional uint32 eresult = 1 [default = 2];
|
||||
optional string debug_message = 2;
|
||||
}
|
16
game/shared/prediction_events.proto
Normal file
16
game/shared/prediction_events.proto
Normal file
@ -0,0 +1,16 @@
|
||||
import "networkbasetypes.proto";
|
||||
|
||||
enum EBasePredictionEvents {
|
||||
BPE_StringCommand = 128;
|
||||
BPE_Teleport = 130;
|
||||
}
|
||||
|
||||
message CPredictionEvent_Teleport {
|
||||
optional .CMsgVector origin = 1;
|
||||
optional .CMsgQAngle angles = 2;
|
||||
optional float drop_to_ground_range = 3;
|
||||
}
|
||||
|
||||
message CPredictionEvent_StringCommand {
|
||||
optional string command = 1;
|
||||
}
|
@ -1,10 +1,16 @@
|
||||
import "valveextensions.proto";
|
||||
import "steammessages.proto";
|
||||
import "steammessages_steamlearn.steamworkssdk.proto";
|
||||
|
||||
enum GCClientLauncherType {
|
||||
GCClientLauncherType_DEFAULT = 0;
|
||||
GCClientLauncherType_PERFECTWORLD = 1;
|
||||
GCClientLauncherType_STEAMCHINA = 2;
|
||||
GCClientLauncherType_SOURCE2 = 3;
|
||||
enum ESourceEngine {
|
||||
k_ESE_Source1 = 0;
|
||||
k_ESE_Source2 = 1;
|
||||
}
|
||||
|
||||
enum PartnerAccountType {
|
||||
PARTNER_NONE = 0;
|
||||
PARTNER_PERFECT_WORLD = 1;
|
||||
PARTNER_INVALID = 3;
|
||||
}
|
||||
|
||||
enum GCConnectionStatus {
|
||||
@ -13,6 +19,47 @@ enum GCConnectionStatus {
|
||||
GCConnectionStatus_NO_SESSION = 2;
|
||||
GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3;
|
||||
GCConnectionStatus_NO_STEAM = 4;
|
||||
GCConnectionStatus_SUSPENDED = 5;
|
||||
GCConnectionStatus_STEAM_GOING_DOWN = 6;
|
||||
}
|
||||
|
||||
message CExtraMsgBlock {
|
||||
optional uint32 msg_type = 1;
|
||||
optional bytes contents = 2 [(debugprint_visibility) = k_EProtoDebugVisibility_Never];
|
||||
optional uint64 msg_key = 3;
|
||||
optional bool is_compressed = 4;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnServerInfo {
|
||||
message ProjectInfo {
|
||||
optional uint32 project_id = 1;
|
||||
optional uint32 snapshot_published_version = 2;
|
||||
optional uint32 inference_published_version = 3;
|
||||
optional uint32 snapshot_percentage = 6;
|
||||
optional bool snapshot_enabled = 7;
|
||||
}
|
||||
|
||||
optional .CMsgSteamLearnAccessTokens access_tokens = 4;
|
||||
repeated .CMsgSteamLearnServerInfo.ProjectInfo project_infos = 5;
|
||||
}
|
||||
|
||||
message CMsgGCAssertJobData {
|
||||
optional string message_type = 1;
|
||||
optional bytes message_data = 2;
|
||||
}
|
||||
|
||||
message CMsgGCConCommand {
|
||||
optional string command = 1;
|
||||
}
|
||||
|
||||
message CMsgSDOAssert {
|
||||
message Request {
|
||||
repeated uint64 key = 1;
|
||||
optional string requesting_job = 2;
|
||||
}
|
||||
|
||||
optional int32 sdo_type = 1;
|
||||
repeated .CMsgSDOAssert.Request requests = 2;
|
||||
}
|
||||
|
||||
message CMsgSOIDOwner {
|
||||
@ -25,6 +72,7 @@ message CMsgSOSingleObject {
|
||||
optional bytes object_data = 3;
|
||||
optional fixed64 version = 4;
|
||||
optional .CMsgSOIDOwner owner_soid = 5;
|
||||
optional uint32 service_id = 6;
|
||||
}
|
||||
|
||||
message CMsgSOMultipleObjects {
|
||||
@ -38,7 +86,10 @@ message CMsgSOMultipleObjects {
|
||||
|
||||
repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2;
|
||||
optional fixed64 version = 3;
|
||||
repeated .CMsgSOMultipleObjects.SingleObject objects_added = 4;
|
||||
repeated .CMsgSOMultipleObjects.SingleObject objects_removed = 5;
|
||||
optional .CMsgSOIDOwner owner_soid = 6;
|
||||
optional uint32 service_id = 7;
|
||||
}
|
||||
|
||||
message CMsgSOCacheSubscribed {
|
||||
@ -50,6 +101,17 @@ message CMsgSOCacheSubscribed {
|
||||
repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2;
|
||||
optional fixed64 version = 3;
|
||||
optional .CMsgSOIDOwner owner_soid = 4;
|
||||
optional uint32 service_id = 5;
|
||||
repeated uint32 service_list = 6;
|
||||
optional fixed64 sync_version = 7;
|
||||
}
|
||||
|
||||
message CMsgSOCacheSubscribedUpToDate {
|
||||
optional fixed64 version = 1;
|
||||
optional .CMsgSOIDOwner owner_soid = 2;
|
||||
optional uint32 service_id = 3;
|
||||
repeated uint32 service_list = 4;
|
||||
optional fixed64 sync_version = 5;
|
||||
}
|
||||
|
||||
message CMsgSOCacheUnsubscribed {
|
||||
@ -59,6 +121,9 @@ message CMsgSOCacheUnsubscribed {
|
||||
message CMsgSOCacheSubscriptionCheck {
|
||||
optional fixed64 version = 2;
|
||||
optional .CMsgSOIDOwner owner_soid = 3;
|
||||
optional uint32 service_id = 4;
|
||||
repeated uint32 service_list = 5;
|
||||
optional fixed64 sync_version = 6;
|
||||
}
|
||||
|
||||
message CMsgSOCacheSubscriptionRefresh {
|
||||
@ -69,55 +134,53 @@ 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 CMsgGCToGCSubGCStarting {
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
}
|
||||
|
||||
message CGCToGCMsgMasterAck {
|
||||
optional uint32 dir_index = 1;
|
||||
optional uint32 gc_type = 2;
|
||||
message Process {
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
repeated uint32 type_instances = 2;
|
||||
}
|
||||
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
optional string machine_name = 3;
|
||||
optional string process_name = 4;
|
||||
repeated .CGCToGCMsgMasterAck.Process directory = 6;
|
||||
}
|
||||
|
||||
message CGCToGCMsgMasterAck_Response {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
}
|
||||
|
||||
message CMsgGCToGCUniverseStartup {
|
||||
optional bool is_initial_startup = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCUniverseStartupResponse {
|
||||
optional int32 eresult = 1;
|
||||
}
|
||||
|
||||
message CGCToGCMsgMasterStartupComplete {
|
||||
message GCInfo {
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
optional string machine_name = 2;
|
||||
}
|
||||
|
||||
repeated .CGCToGCMsgMasterStartupComplete.GCInfo gc_info = 1;
|
||||
}
|
||||
|
||||
message CGCToGCMsgRouted {
|
||||
optional uint32 msg_type = 1;
|
||||
optional fixed64 sender_id = 2;
|
||||
optional bytes net_message = 3;
|
||||
optional uint32 ip = 4;
|
||||
}
|
||||
|
||||
message CGCToGCMsgRoutedReply {
|
||||
@ -125,45 +188,58 @@ message CGCToGCMsgRoutedReply {
|
||||
optional bytes net_message = 2;
|
||||
}
|
||||
|
||||
message CMsgGCUpdateSessionIP {
|
||||
optional fixed64 steamid = 1;
|
||||
optional fixed32 ip = 2;
|
||||
message CMsgGCUpdateSubGCSessionInfo {
|
||||
message CMsgUpdate {
|
||||
optional fixed64 steamid = 1;
|
||||
optional fixed32 ip = 2;
|
||||
optional bool trusted = 3;
|
||||
}
|
||||
|
||||
repeated .CMsgGCUpdateSubGCSessionInfo.CMsgUpdate updates = 1;
|
||||
}
|
||||
|
||||
message CMsgGCRequestSessionIP {
|
||||
message CMsgGCRequestSubGCSessionInfo {
|
||||
optional fixed64 steamid = 1;
|
||||
}
|
||||
|
||||
message CMsgGCRequestSessionIPResponse {
|
||||
message CMsgGCRequestSubGCSessionInfoResponse {
|
||||
optional fixed32 ip = 1;
|
||||
optional bool trusted = 2;
|
||||
optional uint32 port = 3;
|
||||
optional bool success = 4;
|
||||
}
|
||||
|
||||
message CMsgSOCacheHaveVersion {
|
||||
optional .CMsgSOIDOwner soid = 1;
|
||||
optional fixed64 version = 2;
|
||||
optional uint32 service_id = 3;
|
||||
optional uint32 cached_file_version = 4;
|
||||
}
|
||||
|
||||
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 .PartnerAccountType client_launcher = 4 [default = PARTNER_NONE];
|
||||
optional string secret_key = 5;
|
||||
optional uint32 client_language = 6;
|
||||
optional .ESourceEngine engine = 7 [default = k_ESE_Source1];
|
||||
optional bytes steamdatagram_login = 8;
|
||||
optional uint32 socache_control = 9;
|
||||
optional uint32 platform_id = 9;
|
||||
optional bytes game_msg = 10;
|
||||
optional int32 os_type = 11;
|
||||
optional uint32 render_system = 12;
|
||||
optional uint32 render_system_req = 13;
|
||||
optional uint32 screen_width = 14;
|
||||
optional uint32 screen_height = 15;
|
||||
optional uint32 screen_refresh = 16;
|
||||
optional uint32 render_width = 17;
|
||||
optional uint32 render_height = 18;
|
||||
optional uint32 swap_width = 19;
|
||||
optional uint32 swap_height = 20;
|
||||
optional bool is_steam_china = 22;
|
||||
optional bool is_steam_china_client = 24;
|
||||
optional string platform_name = 23;
|
||||
}
|
||||
|
||||
message CMsgClientWelcome {
|
||||
@ -178,12 +254,17 @@ message CMsgClientWelcome {
|
||||
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;
|
||||
optional uint32 gc_socache_file_version = 9;
|
||||
optional string txn_country_code = 10;
|
||||
optional bytes game_data2 = 11;
|
||||
optional uint32 rtime32_gc_welcome_timestamp = 12;
|
||||
optional uint32 currency = 13;
|
||||
optional uint32 balance = 14;
|
||||
optional string balance_url = 15;
|
||||
optional bool has_accepted_china_ssa = 16;
|
||||
optional bool is_banned_steam_china = 17;
|
||||
optional .CExtraMsgBlock additional_welcome_msgs = 18;
|
||||
optional .CMsgSteamLearnServerInfo steam_learn_server_info = 20;
|
||||
}
|
||||
|
||||
message CMsgConnectionStatus {
|
||||
@ -195,11 +276,55 @@ message CMsgConnectionStatus {
|
||||
optional int32 estimated_wait_seconds_remaining = 6;
|
||||
}
|
||||
|
||||
message CMsgGCToGCSOCacheSubscribe {
|
||||
message CMsgHaveVersions {
|
||||
optional uint32 service_id = 1;
|
||||
optional uint64 version = 2;
|
||||
}
|
||||
|
||||
optional fixed64 subscriber = 1;
|
||||
optional fixed64 subscribe_to_id = 2;
|
||||
optional fixed64 sync_version = 3;
|
||||
repeated .CMsgGCToGCSOCacheSubscribe.CMsgHaveVersions have_versions = 4;
|
||||
optional uint32 subscribe_to_type = 5;
|
||||
}
|
||||
|
||||
message CMsgGCToGCSOCacheUnsubscribe {
|
||||
optional fixed64 subscriber = 1;
|
||||
optional fixed64 unsubscribe_from_id = 2;
|
||||
optional uint32 unsubscribe_from_type = 3;
|
||||
}
|
||||
|
||||
message CMsgGCClientPing {
|
||||
}
|
||||
|
||||
message CMsgGCToGCForwardAccountDetails {
|
||||
optional fixed64 steamid = 1;
|
||||
optional .CGCSystemMsg_GetAccountDetails_Response account_details = 2;
|
||||
optional uint32 age_seconds = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToGCLoadSessionSOCache {
|
||||
optional uint32 account_id = 1;
|
||||
optional .CMsgGCToGCForwardAccountDetails forward_account_details = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCLoadSessionSOCacheResponse {
|
||||
}
|
||||
|
||||
message CMsgGCToGCUpdateSessionStats {
|
||||
optional uint32 user_sessions = 1;
|
||||
optional uint32 server_sessions = 2;
|
||||
optional bool in_logon_surge = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToClientRequestDropped {
|
||||
}
|
||||
|
||||
message CWorkshop_PopulateItemDescriptions_Request {
|
||||
message SingleItemDescription {
|
||||
optional uint32 gameitemid = 1;
|
||||
optional string item_description = 2;
|
||||
optional bool one_per_account = 3;
|
||||
}
|
||||
|
||||
message ItemDescriptionsLanguageBlock {
|
||||
@ -249,55 +374,51 @@ message CWorkshop_SetItemPaymentRules_Request {
|
||||
}
|
||||
|
||||
message CWorkshop_SetItemPaymentRules_Response {
|
||||
repeated string validation_errors = 1;
|
||||
}
|
||||
|
||||
message CGameServers_AggregationQuery_Request {
|
||||
optional string filter = 1;
|
||||
repeated string group_fields = 3;
|
||||
message CCommunity_ClanAnnouncementInfo {
|
||||
optional uint64 gid = 1;
|
||||
optional uint64 clanid = 2;
|
||||
optional uint64 posterid = 3;
|
||||
optional string headline = 4;
|
||||
optional uint32 posttime = 5;
|
||||
optional uint32 updatetime = 6;
|
||||
optional string body = 7;
|
||||
optional int32 commentcount = 8;
|
||||
repeated string tags = 9;
|
||||
optional int32 language = 10;
|
||||
optional bool hidden = 11;
|
||||
optional fixed64 forum_topic_id = 12;
|
||||
}
|
||||
|
||||
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 CCommunity_GetClanAnnouncements_Request {
|
||||
optional uint64 steamid = 1;
|
||||
optional uint32 offset = 2;
|
||||
optional uint32 count = 3;
|
||||
optional uint32 maxchars = 4;
|
||||
optional bool strip_html = 5;
|
||||
repeated string required_tags = 6;
|
||||
optional bool require_no_tags = 7;
|
||||
repeated uint32 language_preference = 8;
|
||||
optional bool hidden_only = 9;
|
||||
optional bool only_gid = 10;
|
||||
optional uint32 rtime_oldest_date = 11;
|
||||
optional bool include_hidden = 12;
|
||||
optional bool include_partner_events = 13;
|
||||
}
|
||||
|
||||
message CWorkshop_AddSpecialPayment_Request {
|
||||
message CCommunity_GetClanAnnouncements_Response {
|
||||
optional uint32 maxchars = 1;
|
||||
optional bool strip_html = 2;
|
||||
repeated .CCommunity_ClanAnnouncementInfo announcements = 3;
|
||||
}
|
||||
|
||||
message CBroadcast_PostGameDataFrame_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 {
|
||||
optional fixed64 steamid = 2;
|
||||
optional fixed64 broadcast_id = 3;
|
||||
optional bytes frame_data = 4;
|
||||
}
|
||||
|
||||
message CMsgSerializedSOCache {
|
||||
@ -323,3 +444,52 @@ message CMsgSerializedSOCache {
|
||||
repeated .CMsgSerializedSOCache.Cache caches = 2;
|
||||
optional uint32 gc_socache_file_version = 3;
|
||||
}
|
||||
|
||||
message CMsgGCToClientPollConvarRequest {
|
||||
optional string convar_name = 1;
|
||||
optional uint32 poll_id = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToClientPollConvarResponse {
|
||||
optional uint32 poll_id = 1;
|
||||
optional string convar_value = 2;
|
||||
}
|
||||
|
||||
message CGCMsgCompressedMsgToClient {
|
||||
optional uint32 msg_id = 1;
|
||||
optional bytes compressed_msg = 2;
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterBroadcastMessage {
|
||||
optional uint32 users_per_second = 1;
|
||||
optional bool send_to_users = 2;
|
||||
optional bool send_to_servers = 3;
|
||||
optional uint32 msg_id = 4;
|
||||
optional bytes msg_data = 5;
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterSubscribeToCache {
|
||||
optional uint32 soid_type = 1;
|
||||
optional fixed64 soid_id = 2;
|
||||
repeated uint32 account_ids = 3;
|
||||
repeated fixed64 steam_ids = 4;
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterSubscribeToCacheResponse {
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterSubscribeToCacheAsync {
|
||||
optional .CMsgGCToGCMasterSubscribeToCache subscribe_msg = 1;
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterUnsubscribeFromCache {
|
||||
optional uint32 soid_type = 1;
|
||||
optional fixed64 soid_id = 2;
|
||||
repeated uint32 account_ids = 3;
|
||||
repeated fixed64 steam_ids = 4;
|
||||
}
|
||||
|
||||
message CMsgGCToGCMasterDestroyCache {
|
||||
optional uint32 soid_type = 1;
|
||||
optional fixed64 soid_id = 2;
|
||||
}
|
||||
|
@ -1,98 +1,3 @@
|
||||
enum EGCSystemMsg {
|
||||
k_EGCMsgInvalid = 0;
|
||||
k_EGCMsgMulti = 1;
|
||||
k_EGCMsgGenericReply = 10;
|
||||
k_EGCMsgSystemBase = 50;
|
||||
k_EGCMsgAchievementAwarded = 51;
|
||||
k_EGCMsgConCommand = 52;
|
||||
k_EGCMsgStartPlaying = 53;
|
||||
k_EGCMsgStopPlaying = 54;
|
||||
k_EGCMsgStartGameserver = 55;
|
||||
k_EGCMsgStopGameserver = 56;
|
||||
k_EGCMsgWGRequest = 57;
|
||||
k_EGCMsgWGResponse = 58;
|
||||
k_EGCMsgGetUserGameStatsSchema = 59;
|
||||
k_EGCMsgGetUserGameStatsSchemaResponse = 60;
|
||||
k_EGCMsgGetUserStatsDEPRECATED = 61;
|
||||
k_EGCMsgGetUserStatsResponse = 62;
|
||||
k_EGCMsgAppInfoUpdated = 63;
|
||||
k_EGCMsgValidateSession = 64;
|
||||
k_EGCMsgValidateSessionResponse = 65;
|
||||
k_EGCMsgLookupAccountFromInput = 66;
|
||||
k_EGCMsgSendHTTPRequest = 67;
|
||||
k_EGCMsgSendHTTPRequestResponse = 68;
|
||||
k_EGCMsgPreTestSetup = 69;
|
||||
k_EGCMsgRecordSupportAction = 70;
|
||||
k_EGCMsgGetAccountDetails_DEPRECATED = 71;
|
||||
k_EGCMsgReceiveInterAppMessage = 73;
|
||||
k_EGCMsgFindAccounts = 74;
|
||||
k_EGCMsgPostAlert = 75;
|
||||
k_EGCMsgGetLicenses = 76;
|
||||
k_EGCMsgGetUserStats = 77;
|
||||
k_EGCMsgGetCommands = 78;
|
||||
k_EGCMsgGetCommandsResponse = 79;
|
||||
k_EGCMsgAddFreeLicense = 80;
|
||||
k_EGCMsgAddFreeLicenseResponse = 81;
|
||||
k_EGCMsgGetIPLocation = 82;
|
||||
k_EGCMsgGetIPLocationResponse = 83;
|
||||
k_EGCMsgSystemStatsSchema = 84;
|
||||
k_EGCMsgGetSystemStats = 85;
|
||||
k_EGCMsgGetSystemStatsResponse = 86;
|
||||
k_EGCMsgSendEmail = 87;
|
||||
k_EGCMsgSendEmailResponse = 88;
|
||||
k_EGCMsgGetEmailTemplate = 89;
|
||||
k_EGCMsgGetEmailTemplateResponse = 90;
|
||||
k_EGCMsgGrantGuestPass = 91;
|
||||
k_EGCMsgGrantGuestPassResponse = 92;
|
||||
k_EGCMsgGetAccountDetails = 93;
|
||||
k_EGCMsgGetAccountDetailsResponse = 94;
|
||||
k_EGCMsgGetPersonaNames = 95;
|
||||
k_EGCMsgGetPersonaNamesResponse = 96;
|
||||
k_EGCMsgMultiplexMsg = 97;
|
||||
k_EGCMsgMultiplexMsgResponse = 98;
|
||||
k_EGCMsgWebAPIRegisterInterfaces = 101;
|
||||
k_EGCMsgWebAPIJobRequest = 102;
|
||||
k_EGCMsgWebAPIJobRequestHttpResponse = 104;
|
||||
k_EGCMsgWebAPIJobRequestForwardResponse = 105;
|
||||
k_EGCMsgMemCachedGet = 200;
|
||||
k_EGCMsgMemCachedGetResponse = 201;
|
||||
k_EGCMsgMemCachedSet = 202;
|
||||
k_EGCMsgMemCachedDelete = 203;
|
||||
k_EGCMsgMemCachedStats = 204;
|
||||
k_EGCMsgMemCachedStatsResponse = 205;
|
||||
k_EGCMsgMasterSetDirectory = 220;
|
||||
k_EGCMsgMasterSetDirectoryResponse = 221;
|
||||
k_EGCMsgMasterSetWebAPIRouting = 222;
|
||||
k_EGCMsgMasterSetWebAPIRoutingResponse = 223;
|
||||
k_EGCMsgMasterSetClientMsgRouting = 224;
|
||||
k_EGCMsgMasterSetClientMsgRoutingResponse = 225;
|
||||
k_EGCMsgSetOptions = 226;
|
||||
k_EGCMsgSetOptionsResponse = 227;
|
||||
k_EGCMsgSystemBase2 = 500;
|
||||
k_EGCMsgGetPurchaseTrustStatus = 501;
|
||||
k_EGCMsgGetPurchaseTrustStatusResponse = 502;
|
||||
k_EGCMsgUpdateSession = 503;
|
||||
k_EGCMsgGCAccountVacStatusChange = 504;
|
||||
k_EGCMsgCheckFriendship = 505;
|
||||
k_EGCMsgCheckFriendshipResponse = 506;
|
||||
k_EGCMsgGetPartnerAccountLink = 507;
|
||||
k_EGCMsgGetPartnerAccountLinkResponse = 508;
|
||||
k_EGCMsgDPPartnerMicroTxns = 512;
|
||||
k_EGCMsgDPPartnerMicroTxnsResponse = 513;
|
||||
k_EGCMsgVacVerificationChange = 518;
|
||||
k_EGCMsgAccountPhoneNumberChange = 519;
|
||||
k_EGCMsgInviteUserToLobby = 523;
|
||||
k_EGCMsgGetGamePersonalDataCategoriesRequest = 524;
|
||||
k_EGCMsgGetGamePersonalDataCategoriesResponse = 525;
|
||||
k_EGCMsgGetGamePersonalDataEntriesRequest = 526;
|
||||
k_EGCMsgGetGamePersonalDataEntriesResponse = 527;
|
||||
k_EGCMsgTerminateGamePersonalDataEntriesRequest = 528;
|
||||
k_EGCMsgTerminateGamePersonalDataEntriesResponse = 529;
|
||||
k_EGCMsgRecurringSubscriptionStatusChange = 530;
|
||||
k_EGCMsgDirectServiceMethod = 531;
|
||||
k_EGCMsgDirectServiceMethodResponse = 532;
|
||||
}
|
||||
|
||||
enum ESOMsg {
|
||||
k_ESOMsg_Create = 21;
|
||||
k_ESOMsg_Update = 22;
|
||||
@ -100,144 +5,22 @@ enum ESOMsg {
|
||||
k_ESOMsg_CacheSubscribed = 24;
|
||||
k_ESOMsg_CacheUnsubscribed = 25;
|
||||
k_ESOMsg_UpdateMultiple = 26;
|
||||
k_ESOMsg_CacheSubscriptionCheck = 27;
|
||||
k_ESOMsg_CacheSubscriptionRefresh = 28;
|
||||
k_ESOMsg_CacheSubscribedUpToDate = 29;
|
||||
}
|
||||
|
||||
enum EGCBaseClientMsg {
|
||||
k_EMsgGCPingRequest = 3001;
|
||||
k_EMsgGCPingResponse = 3002;
|
||||
k_EMsgGCToClientPollConvarRequest = 3003;
|
||||
k_EMsgGCToClientPollConvarResponse = 3004;
|
||||
k_EMsgGCCompressedMsgToClient = 3005;
|
||||
k_EMsgGCCompressedMsgToClient_Legacy = 523;
|
||||
k_EMsgGCToClientRequestDropped = 3006;
|
||||
k_EMsgGCClientWelcome = 4004;
|
||||
k_EMsgGCServerWelcome = 4005;
|
||||
k_EMsgGCClientHello = 4006;
|
||||
k_EMsgGCServerHello = 4007;
|
||||
k_EMsgGCClientConnectionStatus = 4009;
|
||||
k_EMsgGCServerConnectionStatus = 4010;
|
||||
k_EMsgGCClientHelloPartner = 4011;
|
||||
k_EMsgGCClientHelloPW = 4012;
|
||||
k_EMsgGCClientHelloR2 = 4013;
|
||||
k_EMsgGCClientHelloR3 = 4014;
|
||||
k_EMsgGCClientHelloR4 = 4015;
|
||||
}
|
||||
|
||||
enum EGCToGCMsg {
|
||||
k_EGCToGCMsgMasterAck = 150;
|
||||
k_EGCToGCMsgMasterAckResponse = 151;
|
||||
k_EGCToGCMsgRouted = 152;
|
||||
k_EGCToGCMsgRoutedReply = 153;
|
||||
k_EMsgUpdateSessionIP = 154;
|
||||
k_EMsgRequestSessionIP = 155;
|
||||
k_EMsgRequestSessionIPResponse = 156;
|
||||
k_EGCToGCMsgMasterStartupComplete = 157;
|
||||
}
|
||||
|
||||
enum ECommunityItemClass {
|
||||
k_ECommunityItemClass_Invalid = 0;
|
||||
k_ECommunityItemClass_Badge = 1;
|
||||
k_ECommunityItemClass_GameCard = 2;
|
||||
k_ECommunityItemClass_ProfileBackground = 3;
|
||||
k_ECommunityItemClass_Emoticon = 4;
|
||||
k_ECommunityItemClass_BoosterPack = 5;
|
||||
k_ECommunityItemClass_Consumable = 6;
|
||||
k_ECommunityItemClass_GameGoo = 7;
|
||||
k_ECommunityItemClass_ProfileModifier = 8;
|
||||
k_ECommunityItemClass_Scene = 9;
|
||||
k_ECommunityItemClass_SalienItem = 10;
|
||||
}
|
||||
|
||||
enum ECommunityItemAttribute {
|
||||
k_ECommunityItemAttribute_Invalid = 0;
|
||||
k_ECommunityItemAttribute_CardBorder = 1;
|
||||
k_ECommunityItemAttribute_Level = 2;
|
||||
k_ECommunityItemAttribute_IssueNumber = 3;
|
||||
k_ECommunityItemAttribute_TradableTime = 4;
|
||||
k_ECommunityItemAttribute_StorePackageID = 5;
|
||||
k_ECommunityItemAttribute_CommunityItemAppID = 6;
|
||||
k_ECommunityItemAttribute_CommunityItemType = 7;
|
||||
k_ECommunityItemAttribute_ProfileModiferEnabled = 8;
|
||||
k_ECommunityItemAttribute_ExpiryTime = 9;
|
||||
}
|
||||
|
||||
message CMsgGCHVacVerificationChange {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional bool is_verified = 3;
|
||||
}
|
||||
|
||||
message CMsgGCHAccountPhoneNumberChange {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional uint64 phone_id = 3;
|
||||
optional bool is_verified = 4;
|
||||
optional bool is_identifying = 5;
|
||||
}
|
||||
|
||||
message CMsgGCHInviteUserToLobby {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional fixed64 steamid_invited = 3;
|
||||
optional fixed64 steamid_lobby = 4;
|
||||
}
|
||||
|
||||
message CMsgGCHRecurringSubscriptionStatusChange {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional fixed64 agreementid = 3;
|
||||
optional bool active = 4;
|
||||
}
|
||||
|
||||
message CQuest_PublisherAddCommunityItemsToPlayer_Request {
|
||||
message Attribute {
|
||||
optional uint32 attribute = 1;
|
||||
optional uint64 value = 2;
|
||||
}
|
||||
|
||||
optional uint64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional uint32 match_item_type = 3;
|
||||
optional uint32 match_item_class = 4;
|
||||
optional string prefix_item_name = 5;
|
||||
repeated .CQuest_PublisherAddCommunityItemsToPlayer_Request.Attribute attributes = 6;
|
||||
optional string note = 7;
|
||||
}
|
||||
|
||||
message CQuest_PublisherAddCommunityItemsToPlayer_Response {
|
||||
optional uint32 items_matched = 1;
|
||||
optional uint32 items_granted = 2;
|
||||
}
|
||||
|
||||
message CCommunity_GamePersonalDataCategoryInfo {
|
||||
optional string type = 1;
|
||||
optional string localization_token = 2;
|
||||
optional string template_file = 3;
|
||||
}
|
||||
|
||||
message CCommunity_GetGamePersonalDataCategories_Request {
|
||||
optional uint32 appid = 1;
|
||||
}
|
||||
|
||||
message CCommunity_GetGamePersonalDataCategories_Response {
|
||||
repeated .CCommunity_GamePersonalDataCategoryInfo categories = 1;
|
||||
optional string app_assets_basename = 2;
|
||||
}
|
||||
|
||||
message CCommunity_GetGamePersonalDataEntries_Request {
|
||||
optional uint32 appid = 1;
|
||||
optional uint64 steamid = 2;
|
||||
optional string type = 3;
|
||||
optional string continue_token = 4;
|
||||
}
|
||||
|
||||
message CCommunity_GetGamePersonalDataEntries_Response {
|
||||
optional uint32 gceresult = 1;
|
||||
repeated string entries = 2;
|
||||
optional string continue_token = 3;
|
||||
optional string continue_text = 4;
|
||||
}
|
||||
|
||||
message CCommunity_TerminateGamePersonalDataEntries_Request {
|
||||
optional uint32 appid = 1;
|
||||
optional uint64 steamid = 2;
|
||||
}
|
||||
|
||||
message CCommunity_TerminateGamePersonalDataEntries_Response {
|
||||
optional uint32 gceresult = 1;
|
||||
}
|
||||
|
@ -9,12 +9,22 @@ extend .google.protobuf.MessageOptions {
|
||||
optional int32 msgpool_hard_limit = 60001 [default = 384];
|
||||
}
|
||||
|
||||
enum EGCPlatform {
|
||||
k_eGCPlatform_None = 0;
|
||||
k_eGCPlatform_PC = 1;
|
||||
k_eGCPlatform_Mac = 2;
|
||||
k_eGCPlatform_Linux = 3;
|
||||
k_eGCPlatform_Android = 4;
|
||||
k_eGCPlatform_iOS = 5;
|
||||
}
|
||||
|
||||
enum GCProtoBufMsgSrc {
|
||||
GCProtoBufMsgSrc_Unspecified = 0;
|
||||
GCProtoBufMsgSrc_FromSystem = 1;
|
||||
GCProtoBufMsgSrc_FromSteamID = 2;
|
||||
GCProtoBufMsgSrc_FromGC = 3;
|
||||
GCProtoBufMsgSrc_ReplySystem = 4;
|
||||
GCProtoBufMsgSrc_SpoofedSteamID = 5;
|
||||
}
|
||||
|
||||
message CMsgProtoBufHeader {
|
||||
@ -29,17 +39,70 @@ message CMsgProtoBufHeader {
|
||||
optional string target_job_name = 12;
|
||||
optional int32 eresult = 13 [default = 2];
|
||||
optional string error_message = 14;
|
||||
optional uint32 ip = 15;
|
||||
optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
|
||||
optional uint32 gc_dir_index_source = 201;
|
||||
optional int32 gc_dir_index_source = 201 [default = -1];
|
||||
}
|
||||
|
||||
message CChinaAgreementSessions_StartAgreementSessionInGame_Request {
|
||||
optional uint32 appid = 1;
|
||||
optional fixed64 steamid = 2;
|
||||
optional string client_ipaddress = 3;
|
||||
message CGCSystemMsg_GetAccountDetails {
|
||||
option (msgpool_soft_limit) = 128;
|
||||
option (msgpool_hard_limit) = 512;
|
||||
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
}
|
||||
|
||||
message CChinaAgreementSessions_StartAgreementSessionInGame_Response {
|
||||
optional string agreement_url = 1;
|
||||
message CGCSystemMsg_GetAccountDetails_Response {
|
||||
option (msgpool_soft_limit) = 128;
|
||||
option (msgpool_hard_limit) = 512;
|
||||
|
||||
optional uint32 eresult_deprecated = 1 [default = 2];
|
||||
optional string account_name = 2;
|
||||
optional string persona_name = 3;
|
||||
optional bool is_profile_created = 26;
|
||||
optional bool is_profile_public = 4;
|
||||
optional bool is_inventory_public = 5;
|
||||
optional bool is_vac_banned = 7;
|
||||
optional bool is_cyber_cafe = 8;
|
||||
optional bool is_school_account = 9;
|
||||
optional bool is_limited = 10;
|
||||
optional bool is_subscribed = 11;
|
||||
optional uint32 package = 12;
|
||||
optional bool is_free_trial_account = 13;
|
||||
optional uint32 free_trial_expiration = 14;
|
||||
optional bool is_low_violence = 15;
|
||||
optional bool is_account_locked_down = 16;
|
||||
optional bool is_community_banned = 17;
|
||||
optional bool is_trade_banned = 18;
|
||||
optional uint32 trade_ban_expiration = 19;
|
||||
optional uint32 accountid = 20;
|
||||
optional uint32 suspension_end_time = 21;
|
||||
optional string currency = 22;
|
||||
optional uint32 steam_level = 23;
|
||||
optional uint32 friend_count = 24;
|
||||
optional uint32 account_creation_time = 25;
|
||||
optional bool is_steamguard_enabled = 27;
|
||||
optional bool is_phone_verified = 28;
|
||||
optional bool is_two_factor_auth_enabled = 29;
|
||||
optional uint32 two_factor_enabled_time = 30;
|
||||
optional uint32 phone_verification_time = 31;
|
||||
optional uint64 phone_id = 33;
|
||||
optional bool is_phone_identifying = 34;
|
||||
optional uint32 rt_identity_linked = 35;
|
||||
optional uint32 rt_birth_date = 36;
|
||||
optional string txn_country_code = 37;
|
||||
optional bool has_accepted_china_ssa = 38;
|
||||
optional bool is_banned_steam_china = 39;
|
||||
}
|
||||
|
||||
message CIPLocationInfo {
|
||||
optional uint32 ip = 1;
|
||||
optional float latitude = 2;
|
||||
optional float longitude = 3;
|
||||
optional string country = 4;
|
||||
optional string state = 5;
|
||||
optional string city = 6;
|
||||
}
|
||||
|
||||
message CGCMsgGetIPLocationResponse {
|
||||
repeated .CIPLocationInfo infos = 1;
|
||||
}
|
||||
|
484
gcsdk/steammessages_int.proto
Normal file
484
gcsdk/steammessages_int.proto
Normal file
@ -0,0 +1,484 @@
|
||||
import "steammessages.proto";
|
||||
|
||||
message CMsgWebAPIKey {
|
||||
optional uint32 status = 1 [default = 255];
|
||||
optional uint32 account_id = 2 [default = 0];
|
||||
optional uint32 publisher_group_id = 3 [default = 0];
|
||||
optional uint32 key_id = 4;
|
||||
optional string domain = 5;
|
||||
}
|
||||
|
||||
message CMsgHttpRequest {
|
||||
message RequestHeader {
|
||||
optional string name = 1;
|
||||
optional string value = 2;
|
||||
}
|
||||
|
||||
message QueryParam {
|
||||
optional string name = 1;
|
||||
optional bytes value = 2;
|
||||
}
|
||||
|
||||
optional uint32 request_method = 1;
|
||||
optional string hostname = 2;
|
||||
optional string url = 3;
|
||||
repeated .CMsgHttpRequest.RequestHeader headers = 4;
|
||||
repeated .CMsgHttpRequest.QueryParam get_params = 5;
|
||||
repeated .CMsgHttpRequest.QueryParam post_params = 6;
|
||||
optional bytes body = 7;
|
||||
optional uint32 absolute_timeout = 8;
|
||||
optional bool use_https = 9;
|
||||
}
|
||||
|
||||
message CMsgWebAPIRequest {
|
||||
optional string interface_name = 2;
|
||||
optional string method_name = 3;
|
||||
optional uint32 version = 4;
|
||||
optional .CMsgWebAPIKey api_key = 5;
|
||||
optional .CMsgHttpRequest request = 6;
|
||||
optional uint32 routing_app_id = 7;
|
||||
}
|
||||
|
||||
message CMsgHttpResponse {
|
||||
message ResponseHeader {
|
||||
optional string name = 1;
|
||||
optional string value = 2;
|
||||
}
|
||||
|
||||
optional uint32 status_code = 1;
|
||||
repeated .CMsgHttpResponse.ResponseHeader headers = 2;
|
||||
optional bytes body = 3;
|
||||
}
|
||||
|
||||
message CMsgAMFindAccounts {
|
||||
optional uint32 search_type = 1;
|
||||
optional string search_string = 2;
|
||||
}
|
||||
|
||||
message CMsgAMFindAccountsResponse {
|
||||
repeated fixed64 steam_id = 1;
|
||||
}
|
||||
|
||||
message CMsgNotifyWatchdog {
|
||||
optional uint32 source = 1;
|
||||
optional uint32 alert_type = 2;
|
||||
optional bool critical = 4;
|
||||
optional uint32 time = 5;
|
||||
optional uint32 appid = 6;
|
||||
optional string text = 7;
|
||||
optional string recipient = 12;
|
||||
}
|
||||
|
||||
message CMsgAMGetLicenses {
|
||||
optional fixed64 steamid = 1;
|
||||
}
|
||||
|
||||
message CMsgPackageLicense {
|
||||
optional uint32 package_id = 1;
|
||||
optional uint32 time_created = 2;
|
||||
optional uint32 owner_id = 3;
|
||||
}
|
||||
|
||||
message CMsgAMGetLicensesResponse {
|
||||
repeated .CMsgPackageLicense license = 1;
|
||||
optional uint32 result = 2;
|
||||
}
|
||||
|
||||
message CMsgGCGetCommandList {
|
||||
optional uint32 app_id = 1;
|
||||
optional string command_prefix = 2;
|
||||
}
|
||||
|
||||
message CMsgGCGetCommandListResponse {
|
||||
repeated string command_name = 1;
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedGet {
|
||||
repeated string keys = 1;
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedGetResponse {
|
||||
message ValueTag {
|
||||
optional bool found = 1;
|
||||
optional bytes value = 2;
|
||||
}
|
||||
|
||||
repeated .CGCMsgMemCachedGetResponse.ValueTag values = 1;
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedSet {
|
||||
message KeyPair {
|
||||
optional string name = 1;
|
||||
optional bytes value = 2;
|
||||
}
|
||||
|
||||
repeated .CGCMsgMemCachedSet.KeyPair keys = 1;
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedDelete {
|
||||
repeated string keys = 1;
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedStats {
|
||||
}
|
||||
|
||||
message CGCMsgMemCachedStatsResponse {
|
||||
optional uint64 curr_connections = 1;
|
||||
optional uint64 cmd_get = 2;
|
||||
optional uint64 cmd_set = 3;
|
||||
optional uint64 cmd_flush = 4;
|
||||
optional uint64 get_hits = 5;
|
||||
optional uint64 get_misses = 6;
|
||||
optional uint64 delete_hits = 7;
|
||||
optional uint64 delete_misses = 8;
|
||||
optional uint64 bytes_read = 9;
|
||||
optional uint64 bytes_written = 10;
|
||||
optional uint64 limit_maxbytes = 11;
|
||||
optional uint64 curr_items = 12;
|
||||
optional uint64 evictions = 13;
|
||||
optional uint64 bytes = 14;
|
||||
}
|
||||
|
||||
message CGCMsgSQLStats {
|
||||
optional uint32 schema_catalog = 1;
|
||||
}
|
||||
|
||||
message CGCMsgSQLStatsResponse {
|
||||
optional uint32 threads = 1;
|
||||
optional uint32 threads_connected = 2;
|
||||
optional uint32 threads_active = 3;
|
||||
optional uint32 operations_submitted = 4;
|
||||
optional uint32 prepared_statements_executed = 5;
|
||||
optional uint32 non_prepared_statements_executed = 6;
|
||||
optional uint32 deadlock_retries = 7;
|
||||
optional uint32 operations_timed_out_in_queue = 8;
|
||||
optional uint32 errors = 9;
|
||||
}
|
||||
|
||||
message CMsgAMAddFreeLicense {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 ip_public = 2;
|
||||
optional uint32 packageid = 3;
|
||||
optional string store_country_code = 4;
|
||||
}
|
||||
|
||||
message CMsgAMAddFreeLicenseResponse {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
optional int32 purchase_result_detail = 2;
|
||||
optional fixed64 transid = 3;
|
||||
}
|
||||
|
||||
message CGCMsgGetIPLocation {
|
||||
repeated fixed32 ips = 1;
|
||||
}
|
||||
|
||||
message CGCMsgGetIPASN {
|
||||
repeated fixed32 ips = 1;
|
||||
}
|
||||
|
||||
message CIPASNInfo {
|
||||
optional fixed32 ip = 1;
|
||||
optional uint32 asn = 2;
|
||||
}
|
||||
|
||||
message CGCMsgGetIPASNResponse {
|
||||
repeated .CIPASNInfo infos = 1;
|
||||
}
|
||||
|
||||
message CMsgAMSendEmail {
|
||||
message ReplacementToken {
|
||||
optional string token_name = 1;
|
||||
optional string token_value = 2;
|
||||
}
|
||||
|
||||
message PersonaNameReplacementToken {
|
||||
optional fixed64 steamid = 1;
|
||||
optional string token_name = 2;
|
||||
}
|
||||
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 email_msg_type = 2;
|
||||
optional uint32 email_format = 3;
|
||||
repeated .CMsgAMSendEmail.PersonaNameReplacementToken persona_name_tokens = 5;
|
||||
optional uint32 source_gc = 6;
|
||||
repeated .CMsgAMSendEmail.ReplacementToken tokens = 7;
|
||||
}
|
||||
|
||||
message CMsgAMSendEmailResponse {
|
||||
optional uint32 eresult = 1 [default = 2];
|
||||
}
|
||||
|
||||
message CMsgGCGetEmailTemplate {
|
||||
optional uint32 app_id = 1;
|
||||
optional uint32 email_msg_type = 2;
|
||||
optional int32 email_lang = 3;
|
||||
optional int32 email_format = 4;
|
||||
}
|
||||
|
||||
message CMsgGCGetEmailTemplateResponse {
|
||||
optional uint32 eresult = 1 [default = 2];
|
||||
optional bool template_exists = 2;
|
||||
optional string template = 3;
|
||||
}
|
||||
|
||||
message CMsgAMGrantGuestPasses2 {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 package_id = 2;
|
||||
optional int32 passes_to_grant = 3;
|
||||
optional int32 days_to_expiration = 4;
|
||||
optional int32 action = 5;
|
||||
}
|
||||
|
||||
message CMsgAMGrantGuestPasses2Response {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
optional int32 passes_granted = 2 [default = 0];
|
||||
}
|
||||
|
||||
message CMsgGCGetPersonaNames {
|
||||
repeated fixed64 steamids = 1;
|
||||
}
|
||||
|
||||
message CMsgGCGetPersonaNames_Response {
|
||||
message PersonaName {
|
||||
optional fixed64 steamid = 1;
|
||||
optional string persona_name = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgGCGetPersonaNames_Response.PersonaName succeeded_lookups = 1;
|
||||
repeated fixed64 failed_lookup_steamids = 2;
|
||||
}
|
||||
|
||||
message CMsgGCCheckFriendship {
|
||||
optional fixed64 steamid_left = 1;
|
||||
optional fixed64 steamid_right = 2;
|
||||
}
|
||||
|
||||
message CMsgGCCheckFriendship_Response {
|
||||
optional bool success = 1;
|
||||
optional bool found_friendship = 2;
|
||||
}
|
||||
|
||||
message CMsgGCGetAppFriendsList {
|
||||
optional fixed64 steamid = 1;
|
||||
optional bool include_friendship_timestamps = 2;
|
||||
optional bool include_friends_with_no_play_time = 3;
|
||||
}
|
||||
|
||||
message CMsgGCGetAppFriendsList_Response {
|
||||
optional bool success = 1;
|
||||
repeated fixed64 steamids = 2;
|
||||
repeated fixed32 friendship_timestamps = 3;
|
||||
repeated fixed32 last_playtimes = 4;
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetDirectory {
|
||||
message SubGC {
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
optional string name = 2;
|
||||
optional string box = 3;
|
||||
optional string command_line = 4;
|
||||
optional string gc_binary = 5;
|
||||
}
|
||||
|
||||
optional int32 master_dir_index = 1 [default = -1];
|
||||
repeated .CMsgGCMsgMasterSetDirectory.SubGC dir = 2;
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetDirectory_Response {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
optional string message = 2;
|
||||
}
|
||||
|
||||
message CMsgGCMsgWebAPIJobRequestForwardResponse {
|
||||
optional int32 dir_index = 1 [default = -1];
|
||||
}
|
||||
|
||||
message CGCSystemMsg_GetPurchaseTrust_Request {
|
||||
optional fixed64 steamid = 1;
|
||||
}
|
||||
|
||||
message CGCSystemMsg_GetPurchaseTrust_Response {
|
||||
optional bool has_prior_purchase_history = 1;
|
||||
optional bool has_no_recent_password_resets = 2;
|
||||
optional bool is_wallet_cash_trusted = 3;
|
||||
optional uint32 time_all_trusted = 4;
|
||||
}
|
||||
|
||||
message CMsgGCHAccountVacStatusChange {
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 app_id = 2;
|
||||
optional uint32 rtime_vacban_starts = 3;
|
||||
optional bool is_banned_now = 4;
|
||||
optional bool is_banned_future = 5;
|
||||
}
|
||||
|
||||
message CMsgGCRoutingInfo {
|
||||
enum RoutingMethod {
|
||||
RANDOM = 0;
|
||||
DISCARD = 1;
|
||||
CLIENT_STEAMID = 2;
|
||||
PROTOBUF_FIELD_UINT64 = 3;
|
||||
WEBAPI_PARAM = 4;
|
||||
WEBAPI_PARAM_STEAMID_ACCOUNTID = 5;
|
||||
}
|
||||
|
||||
repeated int32 dir_index = 1;
|
||||
optional .CMsgGCRoutingInfo.RoutingMethod method = 2 [default = RANDOM];
|
||||
optional .CMsgGCRoutingInfo.RoutingMethod fallback = 3 [default = DISCARD];
|
||||
optional uint32 protobuf_field = 4;
|
||||
optional string webapi_param = 5;
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetWebAPIRouting {
|
||||
message Entry {
|
||||
optional string interface_name = 1;
|
||||
optional string method_name = 2;
|
||||
optional .CMsgGCRoutingInfo routing = 3;
|
||||
}
|
||||
|
||||
repeated .CMsgGCMsgMasterSetWebAPIRouting.Entry entries = 1;
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetClientMsgRouting {
|
||||
message Entry {
|
||||
optional uint32 msg_type = 1;
|
||||
optional .CMsgGCRoutingInfo routing = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgGCMsgMasterSetClientMsgRouting.Entry entries = 1;
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetWebAPIRouting_Response {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
}
|
||||
|
||||
message CMsgGCMsgMasterSetClientMsgRouting_Response {
|
||||
optional int32 eresult = 1 [default = 2];
|
||||
}
|
||||
|
||||
message CMsgGCMsgSetOptions {
|
||||
message MessageRange {
|
||||
required uint32 low = 1;
|
||||
required uint32 high = 2;
|
||||
}
|
||||
|
||||
enum Option {
|
||||
NOTIFY_USER_SESSIONS = 0;
|
||||
NOTIFY_SERVER_SESSIONS = 1;
|
||||
NOTIFY_ACHIEVEMENTS = 2;
|
||||
NOTIFY_VAC_ACTION = 3;
|
||||
}
|
||||
|
||||
enum GCSQLVersion {
|
||||
GCSQL_VERSION_BASELINE = 1;
|
||||
GCSQL_VERSION_BOOLTYPE = 2;
|
||||
}
|
||||
|
||||
repeated .CMsgGCMsgSetOptions.Option options = 1;
|
||||
repeated .CMsgGCMsgSetOptions.MessageRange client_msg_ranges = 2;
|
||||
optional .CMsgGCMsgSetOptions.GCSQLVersion gcsql_version = 3 [default = GCSQL_VERSION_BASELINE];
|
||||
}
|
||||
|
||||
message CMsgGCHUpdateSession {
|
||||
message ExtraField {
|
||||
optional string name = 1;
|
||||
optional string value = 2;
|
||||
}
|
||||
|
||||
optional fixed64 steam_id = 1;
|
||||
optional uint32 app_id = 2;
|
||||
optional bool online = 3;
|
||||
optional fixed64 server_steam_id = 4;
|
||||
optional uint32 server_addr = 5;
|
||||
optional uint32 server_port = 6;
|
||||
optional uint32 os_type = 7;
|
||||
optional uint32 client_addr = 8;
|
||||
repeated .CMsgGCHUpdateSession.ExtraField extra_fields = 9;
|
||||
}
|
||||
|
||||
message CMsgNotificationOfSuspiciousActivity {
|
||||
message MultipleGameInstances {
|
||||
optional uint32 app_instance_count = 1;
|
||||
repeated fixed64 other_steamids = 2;
|
||||
}
|
||||
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional .CMsgNotificationOfSuspiciousActivity.MultipleGameInstances multiple_instances = 3;
|
||||
}
|
||||
|
||||
message CMsgGCHVacVerificationChange {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 appid = 2;
|
||||
optional bool is_verified = 3;
|
||||
}
|
||||
|
||||
message CMsgGCCheckClanMembership {
|
||||
optional fixed64 steamid = 1;
|
||||
optional uint32 clanid = 2;
|
||||
}
|
||||
|
||||
message CMsgGCCheckClanMembership_Response {
|
||||
optional bool ismember = 1;
|
||||
}
|
||||
|
||||
message CMsgGCHAppCheersReceived {
|
||||
message CheerTypeAmount {
|
||||
optional uint32 cheer_type = 1;
|
||||
optional uint32 cheer_amount = 2;
|
||||
}
|
||||
|
||||
message CheerTarget {
|
||||
optional uint64 cheer_target = 1;
|
||||
repeated .CMsgGCHAppCheersReceived.CheerTypeAmount cheer_types = 2;
|
||||
}
|
||||
|
||||
optional uint32 appid = 1;
|
||||
repeated .CMsgGCHAppCheersReceived.CheerTarget cheer_targets = 2;
|
||||
}
|
||||
|
||||
message CMsgGCHAppCheersGetAllowedTypes {
|
||||
optional uint32 appid = 1;
|
||||
optional uint64 cheer_target = 2;
|
||||
}
|
||||
|
||||
message CMsgGCHAppCheersGetAllowedTypesResponse {
|
||||
message CheerRemaps {
|
||||
optional uint32 original_cheer_type = 1;
|
||||
optional uint32 remapped_cheer_type = 2;
|
||||
repeated uint32 account_ids = 3;
|
||||
}
|
||||
|
||||
repeated uint32 cheer_types_valid_all_users = 1;
|
||||
repeated .CMsgGCHAppCheersGetAllowedTypesResponse.CheerRemaps cheer_remaps = 2;
|
||||
optional uint32 cache_duration = 3;
|
||||
}
|
||||
|
||||
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 CWorkshop_GetSpecialPayments_Request {
|
||||
optional uint32 appid = 1;
|
||||
optional uint32 gameitemid = 2;
|
||||
optional string date = 3;
|
||||
}
|
||||
|
||||
message CWorkshop_GetSpecialPayments_Response {
|
||||
message SpecialPayment {
|
||||
optional uint32 appid = 1;
|
||||
optional uint32 gameitemid = 2;
|
||||
optional string date = 3;
|
||||
optional uint64 net_payment_us_usd = 4;
|
||||
optional uint64 net_payment_row_usd = 5;
|
||||
}
|
||||
|
||||
repeated .CWorkshop_GetSpecialPayments_Response.SpecialPayment special_payments = 1;
|
||||
}
|
405
gcsdk/steammessages_steamlearn.steamworkssdk.proto
Normal file
405
gcsdk/steammessages_steamlearn.steamworkssdk.proto
Normal file
@ -0,0 +1,405 @@
|
||||
import "steammessages_unified_base.steamworkssdk.proto";
|
||||
|
||||
enum ESteamLearnDataType {
|
||||
STEAMLEARN_DATATYPE_INVALID = 0;
|
||||
STEAMLEARN_DATATYPE_INT32 = 1;
|
||||
STEAMLEARN_DATATYPE_FLOAT32 = 2;
|
||||
STEAMLEARN_DATATYPE_BOOL = 3;
|
||||
STEAMLEARN_DATATYPE_STRING = 4;
|
||||
STEAMLEARN_DATATYPE_OBJECT = 5;
|
||||
}
|
||||
|
||||
enum ESteammLearnRegisterDataSourceResult {
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR = 0;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_CREATED = 1;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_SUCCESS_FOUND = 2;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_GENERIC = 3;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_NAME = 4;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_VERSION = 5;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_CHANGED = 6;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_DATA_INVALID = 7;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_FORBIDDEN = 8;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR_INVALID_TIMESTAMP = 9;
|
||||
STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_DISABLED = 10;
|
||||
}
|
||||
|
||||
enum ESteamLearnCacheDataResult {
|
||||
STEAMLEARN_CACHE_DATA_ERROR = 0;
|
||||
STEAMLEARN_CACHE_DATA_SUCCESS = 1;
|
||||
STEAMLEARN_CACHE_DATA_ERROR_UNKNOWN_DATA_SOURCE = 2;
|
||||
STEAMLEARN_CACHE_DATA_ERROR_UNCACHED_DATA_SOURCE = 3;
|
||||
STEAMLEARN_CACHE_DATA_ERROR_INVALID_KEYS = 4;
|
||||
STEAMLEARN_CACHE_DATA_ERROR_FORBIDDEN = 5;
|
||||
STEAMLEARN_CACHE_DATA_ERROR_INVALID_TIMESTAMP = 6;
|
||||
STEAMLEARN_CACHE_DATA_DISABLED = 7;
|
||||
}
|
||||
|
||||
enum ESteamLearnSnapshotProjectResult {
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR = 0;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_STORED = 1;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_SUCCESS_QUEUED = 2;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PROJECT_ID = 3;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_UNKNOWN_DATA_SOURCE = 4;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_DATA_SOURCE_KEY = 5;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_MISSING_CACHE_DURATION = 6;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_NO_PUBLISHED_CONFIG = 7;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_FORBIDDEN = 8;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_TIMESTAMP = 9;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INTERNAL_DATA_SOURCE_ERROR = 10;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_DISABLED = 11;
|
||||
STEAMLEARN_SNAPSHOT_PROJECT_ERROR_INVALID_PUBLISHED_VERSION = 12;
|
||||
}
|
||||
|
||||
enum ESteamLearnGetAccessTokensResult {
|
||||
STEAMLEARN_GET_ACCESS_TOKENS_ERROR = 0;
|
||||
STEAMLEARN_GET_ACCESS_TOKENS_SUCCESS = 1;
|
||||
}
|
||||
|
||||
enum ESteamLearnInferenceResult {
|
||||
STEAMLEARN_INFERENCE_ERROR = 0;
|
||||
STEAMLEARN_INFERENCE_SUCCESS = 1;
|
||||
STEAMLEARN_INFERENCE_ERROR_INVALID_PROJECT_ID = 2;
|
||||
STEAMLEARN_INFERENCE_ERROR_MISSING_CACHED_SCHEMA_DATA = 3;
|
||||
STEAMLEARN_INFERENCE_ERROR_NO_PUBLISHED_CONFIG = 4;
|
||||
STEAMLEARN_INFERENCE_ERROR_FORBIDDEN = 5;
|
||||
STEAMLEARN_INFERENCE_ERROR_INVALID_TIMESTAMP = 6;
|
||||
STEAMLEARN_INFERENCE_ERROR_INVALID_PUBLISHED_VERSION = 7;
|
||||
STEAMLEARN_INFERENCE_ERROR_NO_FETCH_ID_FOUND = 8;
|
||||
STEAMLEARN_INFERENCE_ERROR_TOO_BUSY = 9;
|
||||
}
|
||||
|
||||
enum ESteamLearnInferenceMetadataResult {
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR = 0;
|
||||
STEAMLEARN_INFERENCE_METADATA_SUCCESS = 1;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PROJECT_ID = 2;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_NO_PUBLISHED_CONFIG = 3;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_FORBIDDEN = 4;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_TIMESTAMP = 5;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_INVALID_PUBLISHED_VERSION = 6;
|
||||
STEAMLEARN_INFERENCE_METADATA_ERROR_NO_FETCH_ID_FOUND = 7;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataSourceDescObject {
|
||||
repeated .CMsgSteamLearnDataSourceDescElement elements = 1;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataSourceDescElement {
|
||||
optional string name = 1;
|
||||
optional .ESteamLearnDataType data_type = 2 [default = STEAMLEARN_DATATYPE_INVALID];
|
||||
optional .CMsgSteamLearnDataSourceDescObject object = 3;
|
||||
optional uint32 count = 4;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataSource {
|
||||
optional uint32 id = 1;
|
||||
optional string name = 2;
|
||||
optional uint32 version = 3;
|
||||
optional string source_description = 4;
|
||||
optional .CMsgSteamLearnDataSourceDescObject structure = 5;
|
||||
optional uint32 structure_crc = 6;
|
||||
optional uint32 cache_duration_seconds = 7;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataObject {
|
||||
repeated .CMsgSteamLearnDataElement elements = 1;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataElement {
|
||||
optional string name = 1;
|
||||
repeated int32 data_int32s = 20;
|
||||
repeated float data_floats = 21;
|
||||
repeated bool data_bools = 22;
|
||||
repeated string data_strings = 23;
|
||||
repeated .CMsgSteamLearnDataObject data_objects = 24;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnData {
|
||||
optional uint32 data_source_id = 1;
|
||||
repeated uint64 keys = 2;
|
||||
optional .CMsgSteamLearnDataObject data_object = 3;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnDataList {
|
||||
repeated .CMsgSteamLearnData data = 1;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_RegisterDataSource_Request {
|
||||
optional string access_token = 1;
|
||||
optional .CMsgSteamLearnDataSource data_source = 3;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_RegisterDataSource_Response {
|
||||
optional .ESteammLearnRegisterDataSourceResult result = 1 [default = STEAMLEARN_REGISTER_DATA_SOURCE_RESULT_ERROR];
|
||||
optional .CMsgSteamLearnDataSource data_source = 2;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_CacheData_Request {
|
||||
optional string access_token = 1;
|
||||
optional .CMsgSteamLearnData data = 3;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_CacheData_Response {
|
||||
optional .ESteamLearnCacheDataResult cache_data_result = 1 [default = STEAMLEARN_CACHE_DATA_ERROR];
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_SnapshotProject_Request {
|
||||
optional string access_token = 1;
|
||||
optional uint32 project_id = 3;
|
||||
optional uint32 published_version = 7;
|
||||
repeated uint64 keys = 4;
|
||||
repeated .CMsgSteamLearnData data = 5;
|
||||
optional uint32 pending_data_limit_seconds = 6;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_SnapshotProject_Response {
|
||||
optional .ESteamLearnSnapshotProjectResult snapshot_result = 1 [default = STEAMLEARN_SNAPSHOT_PROJECT_ERROR];
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_BatchOperation_Request {
|
||||
repeated .CMsgSteamLearn_CacheData_Request cache_data_requests = 1;
|
||||
repeated .CMsgSteamLearn_SnapshotProject_Request snapshot_requests = 2;
|
||||
repeated .CMsgSteamLearn_Inference_Request inference_requests = 3;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_BatchOperation_Response {
|
||||
repeated .CMsgSteamLearn_CacheData_Response cache_data_responses = 1;
|
||||
repeated .CMsgSteamLearn_SnapshotProject_Response snapshot_responses = 2;
|
||||
repeated .CMsgSteamLearn_Inference_Response inference_responses = 3;
|
||||
}
|
||||
|
||||
message CMsgSteamLearnAccessTokens {
|
||||
message CacheDataAccessToken {
|
||||
optional uint32 data_source_id = 1;
|
||||
optional string access_token = 2;
|
||||
}
|
||||
|
||||
message SnapshotProjectAccessToken {
|
||||
optional uint32 project_id = 1;
|
||||
optional string access_token = 2;
|
||||
}
|
||||
|
||||
message InferenceAccessToken {
|
||||
optional uint32 project_id = 1;
|
||||
optional string access_token = 2;
|
||||
}
|
||||
|
||||
optional string register_data_source_access_token = 1;
|
||||
repeated .CMsgSteamLearnAccessTokens.CacheDataAccessToken cache_data_access_tokens = 2;
|
||||
repeated .CMsgSteamLearnAccessTokens.SnapshotProjectAccessToken snapshot_project_access_tokens = 3;
|
||||
repeated .CMsgSteamLearnAccessTokens.InferenceAccessToken inference_access_tokens = 4;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_GetAccessTokens_Request {
|
||||
optional uint32 appid = 1;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_GetAccessTokens_Response {
|
||||
optional .ESteamLearnGetAccessTokensResult result = 1 [default = STEAMLEARN_GET_ACCESS_TOKENS_ERROR];
|
||||
optional .CMsgSteamLearnAccessTokens access_tokens = 2;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_Inference_Request {
|
||||
optional string access_token = 1;
|
||||
optional uint32 project_id = 3;
|
||||
optional uint32 published_version = 4;
|
||||
optional uint32 override_train_id = 5;
|
||||
optional .CMsgSteamLearnDataList data = 6;
|
||||
repeated float additional_data = 7;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_InferenceMetadata_Request {
|
||||
optional string access_token = 1;
|
||||
optional uint32 project_id = 3;
|
||||
optional uint32 published_version = 4;
|
||||
optional uint32 override_train_id = 5;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_InferenceMetadataBackend_Request {
|
||||
optional uint32 project_id = 1;
|
||||
optional uint32 fetch_id = 2;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_InferenceMetadata_Response {
|
||||
message RowRange {
|
||||
optional uint64 min_row = 1;
|
||||
optional uint64 max_row = 2;
|
||||
}
|
||||
|
||||
message Range {
|
||||
optional string data_element_path = 1;
|
||||
optional float min_value = 2;
|
||||
optional float max_value = 3;
|
||||
}
|
||||
|
||||
message StdDev {
|
||||
optional string data_element_path = 1;
|
||||
optional float mean = 2;
|
||||
optional float std_dev = 3;
|
||||
}
|
||||
|
||||
message CompactTable {
|
||||
message Entry {
|
||||
optional uint32 value = 1;
|
||||
optional uint32 mapping = 2;
|
||||
optional uint64 count = 3;
|
||||
}
|
||||
|
||||
message MapValuesEntry {
|
||||
optional uint32 key = 1;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2;
|
||||
}
|
||||
|
||||
message MapMappingsEntry {
|
||||
optional uint32 key = 1;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.Entry value = 2;
|
||||
}
|
||||
|
||||
optional string name = 1;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapValuesEntry map_values = 2;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable.MapMappingsEntry map_mappings = 3;
|
||||
}
|
||||
|
||||
message SequenceTable {
|
||||
message Entry {
|
||||
repeated uint32 values = 1;
|
||||
optional uint32 crc = 2;
|
||||
optional uint32 count = 3;
|
||||
}
|
||||
|
||||
message MapValuesEntry {
|
||||
optional uint32 key = 1;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2;
|
||||
}
|
||||
|
||||
message MapMappingsEntry {
|
||||
optional string key = 1;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.Entry value = 2;
|
||||
}
|
||||
|
||||
optional string name = 1;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapValuesEntry map_values = 2;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable.MapMappingsEntry map_mappings = 3;
|
||||
optional uint64 total_count = 4;
|
||||
}
|
||||
|
||||
message KMeans {
|
||||
message Cluster {
|
||||
optional float x = 1;
|
||||
optional float y = 2;
|
||||
optional float radius = 3;
|
||||
optional float radius_75pct = 4;
|
||||
optional float radius_50pct = 5;
|
||||
optional float radius_25pct = 6;
|
||||
}
|
||||
|
||||
optional string name = 1;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans.Cluster clusters = 2;
|
||||
}
|
||||
|
||||
message SnapshotHistogram {
|
||||
optional float min_value = 1;
|
||||
optional float max_value = 2;
|
||||
optional uint32 num_buckets = 3;
|
||||
repeated uint32 bucket_counts = 4;
|
||||
}
|
||||
|
||||
message AppInfo {
|
||||
optional string country_allow = 1;
|
||||
optional string country_deny = 2;
|
||||
optional bool platform_win = 3;
|
||||
optional bool platform_mac = 4;
|
||||
optional bool platform_linux = 5;
|
||||
optional bool adult_violence = 6;
|
||||
optional bool adult_sex = 7;
|
||||
}
|
||||
|
||||
message AppInfoEntry {
|
||||
optional uint32 key = 1;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.AppInfo value = 2;
|
||||
}
|
||||
|
||||
optional .ESteamLearnInferenceMetadataResult inference_metadata_result = 1 [default = STEAMLEARN_INFERENCE_METADATA_ERROR];
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.RowRange row_range = 2;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.Range ranges = 3;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.StdDev std_devs = 4;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.CompactTable compact_tables = 5;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.SequenceTable sequence_tables = 9;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.KMeans kmeans = 6;
|
||||
repeated .CMsgSteamLearn_InferenceMetadata_Response.AppInfoEntry app_info = 8;
|
||||
optional .CMsgSteamLearn_InferenceMetadata_Response.SnapshotHistogram snapshot_histogram = 7;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_InferenceBackend_Response {
|
||||
message Sequence {
|
||||
repeated float value = 1;
|
||||
}
|
||||
|
||||
message RegressionOutput {
|
||||
optional float value = 1;
|
||||
}
|
||||
|
||||
message BinaryCrossEntropyOutput {
|
||||
optional float value = 1;
|
||||
}
|
||||
|
||||
message MutliBinaryCrossEntropyOutput {
|
||||
repeated float weight = 1;
|
||||
repeated float value = 2;
|
||||
repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3;
|
||||
}
|
||||
|
||||
message CategoricalCrossEntropyOutput {
|
||||
repeated float weight = 1;
|
||||
repeated float value = 2;
|
||||
repeated .CMsgSteamLearn_InferenceBackend_Response.Sequence value_sequence = 3;
|
||||
}
|
||||
|
||||
message Output {
|
||||
oneof ResponseType {
|
||||
.CMsgSteamLearn_InferenceBackend_Response.BinaryCrossEntropyOutput binary_crossentropy = 1;
|
||||
.CMsgSteamLearn_InferenceBackend_Response.CategoricalCrossEntropyOutput categorical_crossentropy = 2;
|
||||
.CMsgSteamLearn_InferenceBackend_Response.MutliBinaryCrossEntropyOutput multi_binary_crossentropy = 3;
|
||||
.CMsgSteamLearn_InferenceBackend_Response.RegressionOutput regression = 4;
|
||||
}
|
||||
}
|
||||
|
||||
repeated .CMsgSteamLearn_InferenceBackend_Response.Output outputs = 1;
|
||||
}
|
||||
|
||||
message CMsgSteamLearn_Inference_Response {
|
||||
optional .ESteamLearnInferenceResult inference_result = 1 [default = STEAMLEARN_INFERENCE_ERROR];
|
||||
optional .CMsgSteamLearn_InferenceBackend_Response backend_response = 2;
|
||||
repeated uint64 keys = 3;
|
||||
}
|
||||
|
||||
service SteamLearn {
|
||||
option (service_description) = "Service for submitting data, training, and inferencing with SteamLearn.";
|
||||
|
||||
rpc RegisterDataSource (.CMsgSteamLearn_RegisterDataSource_Request) returns (.CMsgSteamLearn_RegisterDataSource_Response) {
|
||||
option (method_description) = "Registers a data desc (or finds a data desc if it's already registered).";
|
||||
}
|
||||
|
||||
rpc CacheData (.CMsgSteamLearn_CacheData_Request) returns (.CMsgSteamLearn_CacheData_Response) {
|
||||
option (method_description) = "Updates a cached data entry.";
|
||||
}
|
||||
|
||||
rpc SnapshotProject (.CMsgSteamLearn_SnapshotProject_Request) returns (.CMsgSteamLearn_SnapshotProject_Response) {
|
||||
option (method_description) = "Snapshots the current data for a project.";
|
||||
}
|
||||
|
||||
rpc BatchOperation (.CMsgSteamLearn_BatchOperation_Request) returns (.CMsgSteamLearn_BatchOperation_Response) {
|
||||
option (method_description) = "Batches multiple data updates, snapshots, and inference requests into a single call";
|
||||
}
|
||||
|
||||
rpc GetAccessTokens (.CMsgSteamLearn_GetAccessTokens_Request) returns (.CMsgSteamLearn_GetAccessTokens_Response) {
|
||||
option (method_description) = "Gets the access tokens needed for registering data sources, submitting data to them, and snapshotting projects";
|
||||
}
|
||||
|
||||
rpc Inference (.CMsgSteamLearn_Inference_Request) returns (.CMsgSteamLearn_Inference_Response) {
|
||||
option (method_description) = "Inferences using supplied data, or data associated with the specified key.";
|
||||
}
|
||||
|
||||
rpc InferenceMetadata (.CMsgSteamLearn_InferenceMetadata_Request) returns (.CMsgSteamLearn_InferenceMetadata_Response) {
|
||||
option (method_description) = "Requests the metadata that was generated from a specified fetch.";
|
||||
}
|
||||
}
|
30
gcsdk/steammessages_unified_base.steamworkssdk.proto
Normal file
30
gcsdk/steammessages_unified_base.steamworkssdk.proto
Normal file
@ -0,0 +1,30 @@
|
||||
import "google/protobuf/descriptor.proto";
|
||||
|
||||
option optimize_for = SPEED;
|
||||
option cc_generic_services = false;
|
||||
|
||||
extend .google.protobuf.FieldOptions {
|
||||
optional string description = 50000;
|
||||
}
|
||||
|
||||
extend .google.protobuf.ServiceOptions {
|
||||
optional string service_description = 50000;
|
||||
optional .EProtoExecutionSite service_execution_site = 50008 [default = k_EProtoExecutionSiteUnknown];
|
||||
}
|
||||
|
||||
extend .google.protobuf.MethodOptions {
|
||||
optional string method_description = 50000;
|
||||
}
|
||||
|
||||
extend .google.protobuf.EnumOptions {
|
||||
optional string enum_description = 50000;
|
||||
}
|
||||
|
||||
extend .google.protobuf.EnumValueOptions {
|
||||
optional string enum_value_description = 50000;
|
||||
}
|
||||
|
||||
enum EProtoExecutionSite {
|
||||
k_EProtoExecutionSiteUnknown = 0;
|
||||
k_EProtoExecutionSiteSteamClient = 3;
|
||||
}
|
17
networksystem/networksystem_protomessages.proto
Normal file
17
networksystem/networksystem_protomessages.proto
Normal file
@ -0,0 +1,17 @@
|
||||
message NetMessageSplitscreenUserChanged {
|
||||
optional uint32 slot = 1;
|
||||
}
|
||||
|
||||
message NetMessageConnectionClosed {
|
||||
optional uint32 reason = 1;
|
||||
}
|
||||
|
||||
message NetMessageConnectionCrashed {
|
||||
optional uint32 reason = 1;
|
||||
}
|
||||
|
||||
message NetMessagePacketStart {
|
||||
}
|
||||
|
||||
message NetMessagePacketEnd {
|
||||
}
|
Reference in New Issue
Block a user