initial import from steam-vent repo
This commit is contained in:
commit
797e591c5d
162 changed files with 664233 additions and 0 deletions
1
.envrc
Normal file
1
.envrc
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
use flake
|
||||||
31
.forgejo/workflows/ci.yml
Normal file
31
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
name: "CI"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check-proto:
|
||||||
|
runs-on: nix
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
||||||
|
with:
|
||||||
|
name: link
|
||||||
|
instance: https://cache.icewind.link
|
||||||
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||||
|
- run: |
|
||||||
|
nix run .#proto-builder protos src/generated
|
||||||
|
- run: |
|
||||||
|
git diff
|
||||||
|
git diff-index --quiet HEAD --
|
||||||
|
|
||||||
|
checks:
|
||||||
|
runs-on: nix
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: https://codeberg.org/icewind/attic-action@v1
|
||||||
|
with:
|
||||||
|
name: link
|
||||||
|
instance: https://cache.icewind.link
|
||||||
|
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||||
|
- run: nix flake check --keep-going
|
||||||
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
target
|
||||||
|
.direnv
|
||||||
|
result
|
||||||
|
*.log
|
||||||
107
Cargo.lock
generated
Normal file
107
Cargo.lock
generated
Normal file
|
|
@ -0,0 +1,107 @@
|
||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 3
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bytes"
|
||||||
|
version = "1.10.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "once_cell"
|
||||||
|
version = "1.21.3"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "proc-macro2"
|
||||||
|
version = "1.0.101"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "89ae43fd86e4158d6db51ad8e2b80f313af9cc74f5c0e03ccb87de09998732de"
|
||||||
|
dependencies = [
|
||||||
|
"unicode-ident",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "protobuf"
|
||||||
|
version = "3.5.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "0bcc343da15609eaecd65f8aa76df8dc4209d325131d8219358c0aaaebab0bf6"
|
||||||
|
dependencies = [
|
||||||
|
"bytes",
|
||||||
|
"once_cell",
|
||||||
|
"protobuf-support",
|
||||||
|
"thiserror",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "protobuf-support"
|
||||||
|
version = "3.5.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f0766e3675a627c327e4b3964582594b0e8741305d628a98a5de75a1d15f99b9"
|
||||||
|
dependencies = [
|
||||||
|
"thiserror",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "quote"
|
||||||
|
version = "1.0.40"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "steam-vent-proto-common"
|
||||||
|
version = "0.5.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e0bdee4d988ea702f32e5f098f9cded0e0999b04230de3c37d54bf94b3f6fb86"
|
||||||
|
dependencies = [
|
||||||
|
"protobuf",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "steam-vent-proto-dota2"
|
||||||
|
version = "0.5.0"
|
||||||
|
dependencies = [
|
||||||
|
"steam-vent-proto-common",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "syn"
|
||||||
|
version = "2.0.106"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "ede7c438028d4436d71104916910f5bb611972c5cfd7f89b8300a8186e6fada6"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"unicode-ident",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "thiserror"
|
||||||
|
version = "1.0.69"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52"
|
||||||
|
dependencies = [
|
||||||
|
"thiserror-impl",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "thiserror-impl"
|
||||||
|
version = "1.0.69"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "unicode-ident"
|
||||||
|
version = "1.0.18"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
|
||||||
12
Cargo.toml
Normal file
12
Cargo.toml
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
[package]
|
||||||
|
name = "steam-vent-proto-dota2"
|
||||||
|
version = "0.5.0"
|
||||||
|
edition = "2021"
|
||||||
|
rust-version = "1.75.0"
|
||||||
|
description = "Protobuf structs used by the Steam client protocol"
|
||||||
|
authors = ["Robin Appelman <robin@icewind.nl>"]
|
||||||
|
license = "MIT"
|
||||||
|
repository = "https://codeberg.org/steam-vent/proto-dota2"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
steam-vent-proto-common = "0.5.0"
|
||||||
3
README.md
Normal file
3
README.md
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
# steam-vent-proto-dota2
|
||||||
|
|
||||||
|
steam-vent protobufs for dota2 specific messages
|
||||||
134
flake.lock
generated
Normal file
134
flake.lock
generated
Normal file
|
|
@ -0,0 +1,134 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"crane": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756705356,
|
||||||
|
"narHash": "sha256-dpBFe8SqYKr7W6KN5QOVCr8N76SBKwTslzjw+4BVBVs=",
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"rev": "305707bbc27d83aa1039378e91d7dd816f4cac10",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "ipetkov",
|
||||||
|
"repo": "crane",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flakelight": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756730985,
|
||||||
|
"narHash": "sha256-Uv5lLUZfFxQv6RHi1TqLTKso0j0eUVMQQwud29LTV/s=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "flakelight",
|
||||||
|
"rev": "950121d809b75c32e73684b32ccba8d4e8a67703",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "flakelight",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mill-scale": {
|
||||||
|
"inputs": {
|
||||||
|
"crane": "crane",
|
||||||
|
"flakelight": [
|
||||||
|
"flakelight"
|
||||||
|
],
|
||||||
|
"rust-overlay": "rust-overlay"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1757104647,
|
||||||
|
"narHash": "sha256-Xd/Y6fmBPvmsluVFSlwKvCBErNWAE+etJ5rOmDA6rPo=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "15c993e6bd77956f4e0b236bb1bef4010d6594eb",
|
||||||
|
"revCount": 61,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/icewind/mill-scale.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/icewind/mill-scale.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1757020766,
|
||||||
|
"narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"flakelight": "flakelight",
|
||||||
|
"mill-scale": "mill-scale",
|
||||||
|
"nixpkgs": "nixpkgs",
|
||||||
|
"steam-vent": "steam-vent"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rust-overlay": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"mill-scale",
|
||||||
|
"flakelight",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1757039615,
|
||||||
|
"narHash": "sha256-qm53+EUFfzyF8F0MEscHGqf9tx462GV3/zUZrn9wiQU=",
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"rev": "4486e04adbb4b0e39f593767f2c36e2211003d01",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "oxalica",
|
||||||
|
"repo": "rust-overlay",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"steam-vent": {
|
||||||
|
"inputs": {
|
||||||
|
"flakelight": [
|
||||||
|
"flakelight"
|
||||||
|
],
|
||||||
|
"mill-scale": [
|
||||||
|
"mill-scale"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1757192559,
|
||||||
|
"narHash": "sha256-6hkW2wRJ74uCIHlA7wXsSyiGVnZVYUsQJJvZ2HmH6iQ=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "c03aa0f82cd4a4bccd55de13696f8fd9bffaf2bb",
|
||||||
|
"revCount": 210,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/steam-vent/steam-vent.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://codeberg.org/steam-vent/steam-vent.git"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
34
flake.nix
Normal file
34
flake.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||||
|
flakelight = {
|
||||||
|
url = "github:nix-community/flakelight";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
mill-scale = {
|
||||||
|
url = "git+https://codeberg.org/icewind/mill-scale.git";
|
||||||
|
inputs.flakelight.follows = "flakelight";
|
||||||
|
};
|
||||||
|
steam-vent = {
|
||||||
|
url = "git+https://codeberg.org/steam-vent/steam-vent.git";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.flakelight.follows = "flakelight";
|
||||||
|
inputs.mill-scale.follows = "mill-scale";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
outputs = {
|
||||||
|
mill-scale,
|
||||||
|
steam-vent,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
mill-scale ./. {
|
||||||
|
packages = {
|
||||||
|
proto-builder = {craneLib, ...}:
|
||||||
|
craneLib.buildPackage {
|
||||||
|
src = craneLib.cleanCargoSource (steam-vent + "/protobuf/build");
|
||||||
|
doCheck = false;
|
||||||
|
strictDeps = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
401
protos/base_gcmessages.proto
Normal file
401
protos/base_gcmessages.proto
Normal file
|
|
@ -0,0 +1,401 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "gcsdk_gcmessages.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;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
57
protos/c_peer2peer_netmessages.proto
Normal file
57
protos/c_peer2peer_netmessages.proto
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
import "netmessages.proto";
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum P2P_Messages {
|
||||||
|
p2p_TextMessage = 256;
|
||||||
|
p2p_Voice = 257;
|
||||||
|
p2p_Ping = 258;
|
||||||
|
p2p_VRAvatarPosition = 259;
|
||||||
|
p2p_WatchSynchronization = 260;
|
||||||
|
p2p_FightingGame_GameData = 261;
|
||||||
|
p2p_FightingGame_Connection = 262;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_TextMessage {
|
||||||
|
optional bytes text = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSteam_Voice_Encoding {
|
||||||
|
optional bytes voice_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_Voice {
|
||||||
|
enum Handler_Flags {
|
||||||
|
Played_Audio = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgVoiceAudio audio = 1;
|
||||||
|
optional uint32 broadcast_group = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_Ping {
|
||||||
|
required uint64 send_time = 1;
|
||||||
|
required bool is_reply = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_VRAvatarPosition {
|
||||||
|
message COrientation {
|
||||||
|
optional .CMsgVector pos = 1;
|
||||||
|
optional .CMsgQAngle ang = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CP2P_VRAvatarPosition.COrientation body_parts = 1;
|
||||||
|
optional int32 hat_id = 2;
|
||||||
|
optional int32 scene_id = 3;
|
||||||
|
optional int32 world_scale = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_WatchSynchronization {
|
||||||
|
optional int32 demo_tick = 1;
|
||||||
|
optional bool paused = 2;
|
||||||
|
optional uint64 tv_listen_voice_indices = 3;
|
||||||
|
optional int32 dota_spectator_mode = 4;
|
||||||
|
optional bool dota_spectator_watching_broadcaster = 5;
|
||||||
|
optional int32 dota_spectator_hero_index = 6;
|
||||||
|
optional int32 dota_spectator_autospeed = 7;
|
||||||
|
optional int32 dota_replay_speed = 8;
|
||||||
|
}
|
||||||
53
protos/clientmessages.proto
Normal file
53
protos/clientmessages.proto
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
enum EBaseClientMessages {
|
||||||
|
CM_CustomGameEvent = 280;
|
||||||
|
CM_CustomGameEventBounce = 281;
|
||||||
|
CM_ClientUIEvent = 282;
|
||||||
|
CM_DevPaletteVisibilityChanged = 283;
|
||||||
|
CM_WorldUIControllerHasPanelChanged = 284;
|
||||||
|
CM_RotateAnchor = 285;
|
||||||
|
CM_ListenForResponseFound = 286;
|
||||||
|
CM_MAX_BASE = 300;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EClientUIEvent {
|
||||||
|
EClientUIEvent_Invalid = 0;
|
||||||
|
EClientUIEvent_DialogFinished = 1;
|
||||||
|
EClientUIEvent_FireOutput = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_CustomGameEvent {
|
||||||
|
optional string event_name = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_CustomGameEventBounce {
|
||||||
|
optional string event_name = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
optional int32 player_slot = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_ClientUIEvent {
|
||||||
|
optional .EClientUIEvent event = 1 [default = EClientUIEvent_Invalid];
|
||||||
|
optional uint32 ent_ehandle = 2;
|
||||||
|
optional uint32 client_ehandle = 3;
|
||||||
|
optional string data1 = 4;
|
||||||
|
optional string data2 = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_DevPaletteVisibilityChangedEvent {
|
||||||
|
optional bool visible = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_WorldUIControllerHasPanelChangedEvent {
|
||||||
|
optional bool has_panel = 1;
|
||||||
|
optional uint32 client_ehandle = 2;
|
||||||
|
optional uint32 literal_hand_type = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_RotateAnchor {
|
||||||
|
optional float angle = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClientMsg_ListenForResponseFound {
|
||||||
|
optional int32 player_slot = 1 [default = -1];
|
||||||
|
}
|
||||||
17
protos/connectionless_netmessages.proto
Normal file
17
protos/connectionless_netmessages.proto
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
import "netmessages.proto";
|
||||||
|
|
||||||
|
message C2S_CONNECT_Message {
|
||||||
|
optional uint32 host_version = 1;
|
||||||
|
optional uint32 auth_protocol = 2;
|
||||||
|
optional uint32 challenge_number = 3;
|
||||||
|
optional fixed64 reservation_cookie = 4;
|
||||||
|
optional bool low_violence = 5;
|
||||||
|
optional bytes encrypted_password = 6;
|
||||||
|
repeated .CCLCMsg_SplitPlayerConnect splitplayers = 7;
|
||||||
|
optional bytes auth_steam = 8;
|
||||||
|
optional string challenge_context = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message C2S_CONNECTION_Message {
|
||||||
|
optional string addon_name = 1;
|
||||||
|
}
|
||||||
173
protos/demo.proto
Normal file
173
protos/demo.proto
Normal file
|
|
@ -0,0 +1,173 @@
|
||||||
|
enum EDemoCommands {
|
||||||
|
DEM_Error = -1;
|
||||||
|
DEM_Stop = 0;
|
||||||
|
DEM_FileHeader = 1;
|
||||||
|
DEM_FileInfo = 2;
|
||||||
|
DEM_SyncTick = 3;
|
||||||
|
DEM_SendTables = 4;
|
||||||
|
DEM_ClassInfo = 5;
|
||||||
|
DEM_StringTables = 6;
|
||||||
|
DEM_Packet = 7;
|
||||||
|
DEM_SignonPacket = 8;
|
||||||
|
DEM_ConsoleCmd = 9;
|
||||||
|
DEM_CustomData = 10;
|
||||||
|
DEM_CustomDataCallbacks = 11;
|
||||||
|
DEM_UserCmd = 12;
|
||||||
|
DEM_FullPacket = 13;
|
||||||
|
DEM_SaveGame = 14;
|
||||||
|
DEM_SpawnGroups = 15;
|
||||||
|
DEM_AnimationData = 16;
|
||||||
|
DEM_AnimationHeader = 17;
|
||||||
|
DEM_Max = 18;
|
||||||
|
DEM_IsCompressed = 64;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoFileHeader {
|
||||||
|
required string demo_file_stamp = 1;
|
||||||
|
optional int32 network_protocol = 2;
|
||||||
|
optional string server_name = 3;
|
||||||
|
optional string client_name = 4;
|
||||||
|
optional string map_name = 5;
|
||||||
|
optional string game_directory = 6;
|
||||||
|
optional int32 fullpackets_version = 7;
|
||||||
|
optional bool allow_clientside_entities = 8;
|
||||||
|
optional bool allow_clientside_particles = 9;
|
||||||
|
optional string addons = 10;
|
||||||
|
optional string demo_version_name = 11;
|
||||||
|
optional string demo_version_guid = 12;
|
||||||
|
optional int32 build_num = 13;
|
||||||
|
optional string game = 14;
|
||||||
|
optional int32 server_start_tick = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGameInfo {
|
||||||
|
message CDotaGameInfo {
|
||||||
|
message CPlayerInfo {
|
||||||
|
optional string hero_name = 1;
|
||||||
|
optional string player_name = 2;
|
||||||
|
optional bool is_fake_client = 3;
|
||||||
|
optional uint64 steamid = 4;
|
||||||
|
optional int32 game_team = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CHeroSelectEvent {
|
||||||
|
optional bool is_pick = 1;
|
||||||
|
optional uint32 team = 2;
|
||||||
|
optional int32 hero_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional int32 game_mode = 2;
|
||||||
|
optional int32 game_winner = 3;
|
||||||
|
repeated .CGameInfo.CDotaGameInfo.CPlayerInfo player_info = 4;
|
||||||
|
optional uint32 leagueid = 5;
|
||||||
|
repeated .CGameInfo.CDotaGameInfo.CHeroSelectEvent picks_bans = 6;
|
||||||
|
optional uint32 radiant_team_id = 7;
|
||||||
|
optional uint32 dire_team_id = 8;
|
||||||
|
optional string radiant_team_tag = 9;
|
||||||
|
optional string dire_team_tag = 10;
|
||||||
|
optional uint32 end_time = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCSGameInfo {
|
||||||
|
repeated int32 round_start_ticks = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CGameInfo.CDotaGameInfo dota = 4;
|
||||||
|
optional .CGameInfo.CCSGameInfo cs = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoFileInfo {
|
||||||
|
optional float playback_time = 1;
|
||||||
|
optional int32 playback_ticks = 2;
|
||||||
|
optional int32 playback_frames = 3;
|
||||||
|
optional .CGameInfo game_info = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoPacket {
|
||||||
|
optional bytes data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoFullPacket {
|
||||||
|
optional .CDemoStringTables string_table = 1;
|
||||||
|
optional .CDemoPacket packet = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoSaveGame {
|
||||||
|
optional bytes data = 1;
|
||||||
|
optional fixed64 steam_id = 2;
|
||||||
|
optional fixed64 signature = 3;
|
||||||
|
optional int32 version = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoSyncTick {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoConsoleCmd {
|
||||||
|
optional string cmdstring = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoSendTables {
|
||||||
|
optional bytes data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoClassInfo {
|
||||||
|
message class_t {
|
||||||
|
optional int32 class_id = 1;
|
||||||
|
optional string network_name = 2;
|
||||||
|
optional string table_name = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CDemoClassInfo.class_t classes = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoCustomData {
|
||||||
|
optional int32 callback_index = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoCustomDataCallbacks {
|
||||||
|
repeated string save_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoAnimationHeader {
|
||||||
|
optional sint32 entity_id = 1;
|
||||||
|
optional int32 tick = 2;
|
||||||
|
optional bytes data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoAnimationData {
|
||||||
|
optional sint32 entity_id = 1;
|
||||||
|
optional int32 start_tick = 2;
|
||||||
|
optional int32 end_tick = 3;
|
||||||
|
optional bytes data = 4;
|
||||||
|
optional int64 data_checksum = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoStringTables {
|
||||||
|
message items_t {
|
||||||
|
optional string str = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message table_t {
|
||||||
|
optional string table_name = 1;
|
||||||
|
repeated .CDemoStringTables.items_t items = 2;
|
||||||
|
repeated .CDemoStringTables.items_t items_clientside = 3;
|
||||||
|
optional int32 table_flags = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CDemoStringTables.table_t tables = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoStop {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoUserCmd {
|
||||||
|
optional int32 cmd_number = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDemoSpawnGroups {
|
||||||
|
repeated bytes msgs = 3;
|
||||||
|
}
|
||||||
29
protos/dota_broadcastmessages.proto
Normal file
29
protos/dota_broadcastmessages.proto
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
enum EDotaBroadcastMessages {
|
||||||
|
DOTA_BM_LANLobbyRequest = 1;
|
||||||
|
DOTA_BM_LANLobbyReply = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTABroadcastMsg {
|
||||||
|
required .EDotaBroadcastMessages type = 1 [default = DOTA_BM_LANLobbyRequest];
|
||||||
|
optional bytes msg = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
message CLobbyMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional string player_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 id = 1;
|
||||||
|
optional uint32 tournament_id = 2;
|
||||||
|
optional uint32 tournament_game_id = 3;
|
||||||
|
repeated .CDOTABroadcastMsg_LANLobbyReply.CLobbyMember members = 4;
|
||||||
|
optional bool requires_pass_key = 5;
|
||||||
|
optional uint32 leader_account_id = 6;
|
||||||
|
optional uint32 game_mode = 7;
|
||||||
|
optional string name = 8;
|
||||||
|
optional uint32 players = 9;
|
||||||
|
}
|
||||||
93
protos/dota_client_enums.proto
Normal file
93
protos/dota_client_enums.proto
Normal file
|
|
@ -0,0 +1,93 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum ETournamentTemplate {
|
||||||
|
k_ETournamentTemplate_None = 0;
|
||||||
|
k_ETournamentTemplate_AutomatedWin3 = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETournamentGameState {
|
||||||
|
k_ETournamentGameState_Unknown = 0;
|
||||||
|
k_ETournamentGameState_Canceled = 1;
|
||||||
|
k_ETournamentGameState_Scheduled = 2;
|
||||||
|
k_ETournamentGameState_Active = 3;
|
||||||
|
k_ETournamentGameState_RadVictory = 20;
|
||||||
|
k_ETournamentGameState_DireVictory = 21;
|
||||||
|
k_ETournamentGameState_RadVictoryByForfeit = 22;
|
||||||
|
k_ETournamentGameState_DireVictoryByForfeit = 23;
|
||||||
|
k_ETournamentGameState_ServerFailure = 40;
|
||||||
|
k_ETournamentGameState_NotNeeded = 41;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETournamentTeamState {
|
||||||
|
k_ETournamentTeamState_Unknown = 0;
|
||||||
|
k_ETournamentTeamState_Node1 = 1;
|
||||||
|
k_ETournamentTeamState_NodeMax = 1024;
|
||||||
|
k_ETournamentTeamState_Eliminated = 14003;
|
||||||
|
k_ETournamentTeamState_Forfeited = 14004;
|
||||||
|
k_ETournamentTeamState_Finished1st = 15001;
|
||||||
|
k_ETournamentTeamState_Finished2nd = 15002;
|
||||||
|
k_ETournamentTeamState_Finished3rd = 15003;
|
||||||
|
k_ETournamentTeamState_Finished4th = 15004;
|
||||||
|
k_ETournamentTeamState_Finished5th = 15005;
|
||||||
|
k_ETournamentTeamState_Finished6th = 15006;
|
||||||
|
k_ETournamentTeamState_Finished7th = 15007;
|
||||||
|
k_ETournamentTeamState_Finished8th = 15008;
|
||||||
|
k_ETournamentTeamState_Finished9th = 15009;
|
||||||
|
k_ETournamentTeamState_Finished10th = 15010;
|
||||||
|
k_ETournamentTeamState_Finished11th = 15011;
|
||||||
|
k_ETournamentTeamState_Finished12th = 15012;
|
||||||
|
k_ETournamentTeamState_Finished13th = 15013;
|
||||||
|
k_ETournamentTeamState_Finished14th = 15014;
|
||||||
|
k_ETournamentTeamState_Finished15th = 15015;
|
||||||
|
k_ETournamentTeamState_Finished16th = 15016;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETournamentState {
|
||||||
|
k_ETournamentState_Unknown = 0;
|
||||||
|
k_ETournamentState_CanceledByAdmin = 1;
|
||||||
|
k_ETournamentState_Completed = 2;
|
||||||
|
k_ETournamentState_Merged = 3;
|
||||||
|
k_ETournamentState_ServerFailure = 4;
|
||||||
|
k_ETournamentState_TeamAbandoned = 5;
|
||||||
|
k_ETournamentState_TeamTimeoutForfeit = 6;
|
||||||
|
k_ETournamentState_TeamTimeoutRefund = 7;
|
||||||
|
k_ETournamentState_ServerFailureGrantedVictory = 8;
|
||||||
|
k_ETournamentState_TeamTimeoutGrantedVictory = 9;
|
||||||
|
k_ETournamentState_InProgress = 100;
|
||||||
|
k_ETournamentState_WaitingToMerge = 101;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETournamentNodeState {
|
||||||
|
k_ETournamentNodeState_Unknown = 0;
|
||||||
|
k_ETournamentNodeState_Canceled = 1;
|
||||||
|
k_ETournamentNodeState_TeamsNotYetAssigned = 2;
|
||||||
|
k_ETournamentNodeState_InBetweenGames = 3;
|
||||||
|
k_ETournamentNodeState_GameInProgress = 4;
|
||||||
|
k_ETournamentNodeState_A_Won = 5;
|
||||||
|
k_ETournamentNodeState_B_Won = 6;
|
||||||
|
k_ETournamentNodeState_A_WonByForfeit = 7;
|
||||||
|
k_ETournamentNodeState_B_WonByForfeit = 8;
|
||||||
|
k_ETournamentNodeState_A_Bye = 9;
|
||||||
|
k_ETournamentNodeState_A_Abandoned = 10;
|
||||||
|
k_ETournamentNodeState_ServerFailure = 11;
|
||||||
|
k_ETournamentNodeState_A_TimeoutForfeit = 12;
|
||||||
|
k_ETournamentNodeState_A_TimeoutRefund = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDOTAGroupMergeResult {
|
||||||
|
k_EDOTAGroupMergeResult_OK = 0;
|
||||||
|
k_EDOTAGroupMergeResult_FAILED_GENERIC = 1;
|
||||||
|
k_EDOTAGroupMergeResult_NOT_LEADER = 2;
|
||||||
|
k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS = 3;
|
||||||
|
k_EDOTAGroupMergeResult_TOO_MANY_COACHES = 4;
|
||||||
|
k_EDOTAGroupMergeResult_ENGINE_MISMATCH = 5;
|
||||||
|
k_EDOTAGroupMergeResult_NO_SUCH_GROUP = 6;
|
||||||
|
k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN = 7;
|
||||||
|
k_EDOTAGroupMergeResult_ALREADY_INVITED = 8;
|
||||||
|
k_EDOTAGroupMergeResult_NOT_INVITED = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPartyBeaconType {
|
||||||
|
k_EPartyBeaconType_Available = 0;
|
||||||
|
k_EPartyBeaconType_Joinable = 1;
|
||||||
|
}
|
||||||
623
protos/dota_clientmessages.proto
Normal file
623
protos/dota_clientmessages.proto
Normal file
|
|
@ -0,0 +1,623 @@
|
||||||
|
import "dota_commonmessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
|
||||||
|
enum EDotaClientMessages {
|
||||||
|
DOTA_CM_MapLine = 301;
|
||||||
|
DOTA_CM_AspectRatio = 302;
|
||||||
|
DOTA_CM_MapPing = 303;
|
||||||
|
DOTA_CM_UnitsAutoAttack = 304;
|
||||||
|
DOTA_CM_SearchString = 307;
|
||||||
|
DOTA_CM_Pause = 308;
|
||||||
|
DOTA_CM_ShopViewMode = 309;
|
||||||
|
DOTA_CM_SetUnitShareFlag = 310;
|
||||||
|
DOTA_CM_SwapRequest = 311;
|
||||||
|
DOTA_CM_SwapAccept = 312;
|
||||||
|
DOTA_CM_WorldLine = 313;
|
||||||
|
DOTA_CM_RequestGraphUpdate = 314;
|
||||||
|
DOTA_CM_ItemAlert = 315;
|
||||||
|
DOTA_CM_ChatWheel = 316;
|
||||||
|
DOTA_CM_SendStatPopup = 317;
|
||||||
|
DOTA_CM_BeginLastHitChallenge = 318;
|
||||||
|
DOTA_CM_UpdateQuickBuy = 319;
|
||||||
|
DOTA_CM_UpdateCoachListen = 320;
|
||||||
|
DOTA_CM_CoachHUDPing = 321;
|
||||||
|
DOTA_CM_RecordVote = 322;
|
||||||
|
DOTA_CM_UnitsAutoAttackAfterSpell = 323;
|
||||||
|
DOTA_CM_WillPurchaseAlert = 324;
|
||||||
|
DOTA_CM_PlayerShowCase = 325;
|
||||||
|
DOTA_CM_TeleportRequiresHalt = 326;
|
||||||
|
DOTA_CM_CameraZoomAmount = 327;
|
||||||
|
DOTA_CM_BroadcasterUsingCamerman = 328;
|
||||||
|
DOTA_CM_BroadcasterUsingAssistedCameraOperator = 329;
|
||||||
|
DOTA_CM_EnemyItemAlert = 330;
|
||||||
|
DOTA_CM_FreeInventory = 331;
|
||||||
|
DOTA_CM_BuyBackStateAlert = 332;
|
||||||
|
DOTA_CM_QuickBuyAlert = 333;
|
||||||
|
DOTA_CM_HeroStatueLike = 334;
|
||||||
|
DOTA_CM_ModifierAlert = 335;
|
||||||
|
DOTA_CM_TeamShowcaseEditor = 336;
|
||||||
|
DOTA_CM_HPManaAlert = 337;
|
||||||
|
DOTA_CM_GlyphAlert = 338;
|
||||||
|
DOTA_CM_TeamShowcaseClientData = 339;
|
||||||
|
DOTA_CM_PlayTeamShowcase = 340;
|
||||||
|
DOTA_CM_EventCNY2015Cmd = 341;
|
||||||
|
DOTA_CM_FillEmptySlotsWithBots = 342;
|
||||||
|
DOTA_CM_DemoHero = 343;
|
||||||
|
DOTA_CM_AbilityLearnModeToggled = 344;
|
||||||
|
DOTA_CM_AbilityStartUse = 345;
|
||||||
|
DOTA_CM_ChallengeSelect = 346;
|
||||||
|
DOTA_CM_ChallengeReroll = 347;
|
||||||
|
DOTA_CM_ClickedBuff = 348;
|
||||||
|
DOTA_CM_CoinWager = 349;
|
||||||
|
DOTA_CM_ExecuteOrders = 350;
|
||||||
|
DOTA_CM_XPAlert = 351;
|
||||||
|
DOTA_CM_EventPointsTip = 353;
|
||||||
|
DOTA_CM_KillMyHero = 355;
|
||||||
|
DOTA_CM_QuestStatus = 356;
|
||||||
|
DOTA_CM_ToggleAutoattack = 357;
|
||||||
|
DOTA_CM_SpecialAbility = 358;
|
||||||
|
DOTA_CM_KillcamDamageTaken = 359;
|
||||||
|
DOTA_CM_SetEnemyStartingPosition = 360;
|
||||||
|
DOTA_CM_SetDesiredWardPlacement = 361;
|
||||||
|
DOTA_CM_RollDice = 362;
|
||||||
|
DOTA_CM_FlipCoin = 363;
|
||||||
|
DOTA_CM_RequestItemSuggestions = 364;
|
||||||
|
DOTA_CM_MakeTeamCaptain = 365;
|
||||||
|
DOTA_CM_CoinWagerToken = 366;
|
||||||
|
DOTA_CM_RankWager = 367;
|
||||||
|
DOTA_CM_DismissAllStatPopups = 368;
|
||||||
|
DOTA_CM_HelpTipSystemStateChanged = 369;
|
||||||
|
DOTA_CM_ChannelRequiresHalt = 370;
|
||||||
|
DOTA_CM_RequestBulkCombatLog = 371;
|
||||||
|
DOTA_CM_AbilityDraftRequestAbility = 372;
|
||||||
|
DOTA_CM_GuideSelectOption = 373;
|
||||||
|
DOTA_CM_GuideSelected = 374;
|
||||||
|
DOTA_CM_DamageReport = 375;
|
||||||
|
DOTA_CM_SalutePlayer = 376;
|
||||||
|
DOTA_CM_SprayWheel = 377;
|
||||||
|
DOTA_CM_TipAlert = 378;
|
||||||
|
DOTA_CM_EmptyTeleportAlert = 379;
|
||||||
|
DOTA_CM_RadarAlert = 380;
|
||||||
|
DOTA_CM_TalentTreeAlert = 381;
|
||||||
|
DOTA_CM_SetCavernMapVariant = 382;
|
||||||
|
DOTA_CM_PauseGameOrder = 383;
|
||||||
|
DOTA_CM_VersusScene_PlayerBehavior = 384;
|
||||||
|
DOTA_CM_PlayerBounty = 385;
|
||||||
|
DOTA_CM_PlayerBountyCancel = 386;
|
||||||
|
DOTA_CM_EmptyItemSlotAlert = 388;
|
||||||
|
DOTA_CM_AddOverwatchReportMarker = 389;
|
||||||
|
DOTA_CM_AghsStatusAlert = 390;
|
||||||
|
DOTA_CM_PerfReport = 391;
|
||||||
|
DOTA_CM_ContextualTips_Subscribe = 393;
|
||||||
|
DOTA_CM_ChatMessage = 394;
|
||||||
|
DOTA_CM_AddCommunicationsReportMarker = 395;
|
||||||
|
DOTA_CM_AddCommunicationsBlockMarker = 396;
|
||||||
|
DOTA_CM_NeutralCampAlert = 397;
|
||||||
|
DOTA_CM_DuelAccepted = 398;
|
||||||
|
DOTA_CM_ChooseNeutralItem = 399;
|
||||||
|
DOTA_CM_PlayerDraftPick = 800;
|
||||||
|
DOTA_CM_PlayerDraftSuggest = 801;
|
||||||
|
DOTA_CM_PlayerDraftPreferRole = 802;
|
||||||
|
DOTA_CM_PlayerDraftPreferTeam = 803;
|
||||||
|
DOTA_CM_ChatWheelAlert = 804;
|
||||||
|
DOTA_CM_AbilityAlert = 805;
|
||||||
|
DOTA_CM_AllyAbilityAlert = 806;
|
||||||
|
DOTA_CM_GiftPlayer = 807;
|
||||||
|
DOTA_CM_GiftEveryone = 808;
|
||||||
|
DOTA_CM_SelectOverworldTokenRewards = 809;
|
||||||
|
DOTA_CM_FacetAlert = 810;
|
||||||
|
DOTA_CM_InnateAlert = 811;
|
||||||
|
DOTA_CM_SelectOverworldID = 812;
|
||||||
|
DOTA_CM_RerollNeutralItem = 813;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_MapPing {
|
||||||
|
optional .CDOTAMsg_LocationPing location_ping = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ItemAlert {
|
||||||
|
optional .CDOTAMsg_ItemAlert item_alert = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_EnemyItemAlert {
|
||||||
|
optional int32 item_entindex = 1 [default = -1];
|
||||||
|
optional int32 rune_type = 2 [default = -1];
|
||||||
|
optional int32 item_level = 3 [default = -1];
|
||||||
|
optional int32 primary_charges = 4 [default = -1];
|
||||||
|
optional int32 secondary_charges = 5 [default = -1];
|
||||||
|
optional int32 ability_id = 6 [default = -1];
|
||||||
|
optional int32 owner_entindex = 7 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ModifierAlert {
|
||||||
|
optional int32 buff_internal_index = 1;
|
||||||
|
optional int32 target_entindex = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ClickedBuff {
|
||||||
|
optional int32 buff_internal_index = 1;
|
||||||
|
optional int32 target_entindex = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_HPManaAlert {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional bool show_raw_values = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_NeutralCampAlert {
|
||||||
|
optional int32 spawner_entindex = 1 [default = -1];
|
||||||
|
optional int32 unit_entindex = 2 [default = -1];
|
||||||
|
optional bool stack_request = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_GlyphAlert {
|
||||||
|
optional bool negative = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RadarAlert {
|
||||||
|
optional bool negative = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_MapLine {
|
||||||
|
optional .CDOTAMsg_MapLine mapline = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AspectRatio {
|
||||||
|
optional float ratio = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_UnitsAutoAttackMode {
|
||||||
|
enum EMode {
|
||||||
|
INVALID = -1;
|
||||||
|
NEVER = 0;
|
||||||
|
AFTER_SPELLCAST = 1;
|
||||||
|
ALWAYS = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EUnitType {
|
||||||
|
NORMAL = 0;
|
||||||
|
SUMMONED = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CDOTAClientMsg_UnitsAutoAttackMode.EMode mode = 1 [default = INVALID];
|
||||||
|
optional .CDOTAClientMsg_UnitsAutoAttackMode.EUnitType unit_type = 2 [default = NORMAL];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_UnitsAutoAttackAfterSpell {
|
||||||
|
optional bool enabled = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_TeleportRequiresHalt {
|
||||||
|
optional bool enabled = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChannelRequiresHalt {
|
||||||
|
optional bool enabled = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SearchString {
|
||||||
|
optional string search = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_Pause {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ShopViewMode {
|
||||||
|
optional uint32 mode = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SetUnitShareFlag {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional uint32 flag = 2;
|
||||||
|
optional bool state = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SwapRequest {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SwapAccept {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_WorldLine {
|
||||||
|
optional .CDOTAMsg_WorldLine worldline = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RequestGraphUpdate {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChatWheel {
|
||||||
|
optional uint32 chat_message_id = 1 [default = 4294967295];
|
||||||
|
optional int32 param_hero_id = 2;
|
||||||
|
optional uint32 emoticon_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SendStatPopup {
|
||||||
|
optional .CDOTAMsg_SendStatPopup statpopup = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_DismissAllStatPopups {
|
||||||
|
optional .CDOTAMsg_DismissAllStatPopups dismissallmsg = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_BeginLastHitChallenge {
|
||||||
|
optional uint32 chosen_lane = 1;
|
||||||
|
optional bool helper_enabled = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_UpdateQuickBuyItem {
|
||||||
|
optional int32 item_ability_id = 1 [default = -1];
|
||||||
|
optional bool purchasable = 2 [default = false];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_UpdateQuickBuy {
|
||||||
|
repeated .CDOTAClientMsg_UpdateQuickBuyItem items = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RecordVote {
|
||||||
|
optional int32 choice_index = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_WillPurchaseAlert {
|
||||||
|
optional int32 item_ability_id = 1 [default = -1];
|
||||||
|
optional uint32 gold_remaining = 2;
|
||||||
|
optional int32 suggestion_player_id = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_BuyBackStateAlert {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_QuickBuyAlert {
|
||||||
|
optional int32 item_ability_id = 1 [default = -1];
|
||||||
|
optional int32 gold_cost = 2;
|
||||||
|
optional int32 item_cooldown_seconds = 3;
|
||||||
|
optional bool show_buyback = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerShowCase {
|
||||||
|
optional bool showcase = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_CameraZoomAmount {
|
||||||
|
optional float zoom_amount = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_BroadcasterUsingCameraman {
|
||||||
|
optional bool cameraman = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_BroadcasterUsingAssistedCameraOperator {
|
||||||
|
optional bool enabled = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_FillEmptySlotsWithBots {
|
||||||
|
optional bool fillwithbots = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_HeroStatueLike {
|
||||||
|
optional int32 owner_player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_EventCNY2015Cmd {
|
||||||
|
optional bytes data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_DemoHero {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional int32 hero_id_to_spawn = 2;
|
||||||
|
repeated uint32 item_defs = 3;
|
||||||
|
repeated uint64 item_ids = 4;
|
||||||
|
optional uint32 style_index = 5 [default = 255];
|
||||||
|
optional bool keep_existing_demohero = 6;
|
||||||
|
repeated .CSOEconItem item_data = 7;
|
||||||
|
optional int32 hero_variant = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChallengeSelect {
|
||||||
|
optional uint32 event_id = 1;
|
||||||
|
optional uint32 slot_id = 2;
|
||||||
|
optional uint32 sequence_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChallengeReroll {
|
||||||
|
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 slot_id = 2;
|
||||||
|
optional uint32 sequence_id = 3;
|
||||||
|
optional int32 hero_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_CoinWager {
|
||||||
|
optional uint32 wager_amount = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_CoinWagerToken {
|
||||||
|
optional uint64 wager_token_item_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RankWager {
|
||||||
|
optional bool announce_wager = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerBounty {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_EventPointsTip {
|
||||||
|
optional int32 recipient_player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ExecuteOrders {
|
||||||
|
repeated .CDOTAMsg_UnitOrder orders = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_XPAlert {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional uint32 damage_taken = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_TalentTreeAlert {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional int32 ability_id = 2 [default = -1];
|
||||||
|
optional int32 slot = 3;
|
||||||
|
optional bool learned = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_KillcamDamageTaken {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional uint32 damage_taken = 2;
|
||||||
|
optional uint32 item_type = 3;
|
||||||
|
optional int32 item_ability_id = 4 [default = -1];
|
||||||
|
optional string hero_name = 5;
|
||||||
|
optional string damage_color = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_KillMyHero {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_QuestStatus {
|
||||||
|
optional uint32 quest_id = 1;
|
||||||
|
optional uint32 challenge_id = 2;
|
||||||
|
optional uint32 progress = 3;
|
||||||
|
optional uint32 goal = 4;
|
||||||
|
optional uint32 query = 5;
|
||||||
|
optional float fail_gametime = 6;
|
||||||
|
optional int32 item_ability_id = 7 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ToggleAutoattack {
|
||||||
|
optional int32 mode = 1;
|
||||||
|
optional bool show_message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SpecialAbility {
|
||||||
|
optional uint32 ability_index = 1;
|
||||||
|
optional int32 target_entindex = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SetEnemyStartingPosition {
|
||||||
|
optional int32 enemy_player_id = 1 [default = -1];
|
||||||
|
optional uint32 enemy_starting_position = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SetDesiredWardPlacement {
|
||||||
|
optional uint32 ward_index = 1;
|
||||||
|
optional float ward_x = 2;
|
||||||
|
optional float ward_y = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RollDice {
|
||||||
|
optional uint32 channel_type = 1;
|
||||||
|
optional uint32 roll_min = 2;
|
||||||
|
optional uint32 roll_max = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_FlipCoin {
|
||||||
|
optional uint32 channel_type = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RequestItemSuggestions {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_MakeTeamCaptain {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_HelpTipSystemStateChanged {
|
||||||
|
optional bool tip_displayed = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RequestBulkCombatLog {
|
||||||
|
optional float game_time = 1;
|
||||||
|
optional float duration = 2;
|
||||||
|
optional bool recent_player_death = 3;
|
||||||
|
optional int32 player_id = 4 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AbilityDraftRequestAbility {
|
||||||
|
optional int32 requested_ability_id = 1 [default = -1];
|
||||||
|
optional bool ctrl_is_down = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_GuideSelectOption {
|
||||||
|
optional uint32 option = 1;
|
||||||
|
optional bool force_recalculate = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_GuideSelected {
|
||||||
|
optional uint64 guide_workshop_id = 1;
|
||||||
|
optional bool is_plus_guide = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_DamageReport {
|
||||||
|
optional int32 target_hero_id = 1;
|
||||||
|
optional int32 source_hero_id = 2;
|
||||||
|
optional int32 damage_amount = 3;
|
||||||
|
optional bool broadcast = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SalutePlayer {
|
||||||
|
optional int32 target_player_id = 1 [default = -1];
|
||||||
|
optional int32 event_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_GiftPlayer {
|
||||||
|
optional int32 target_player_id = 1 [default = -1];
|
||||||
|
optional uint32 item_def_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_GiftEveryone {
|
||||||
|
optional uint32 item_def_index = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_TipAlert {
|
||||||
|
optional string tip_text = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_EmptyTeleportAlert {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SetCavernMapVariant {
|
||||||
|
optional uint32 map_variant = 1 [default = 255];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PauseGameOrder {
|
||||||
|
optional int32 order_id = 1;
|
||||||
|
optional int32 data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_VersusScene_PlayerBehavior {
|
||||||
|
optional .EDOTAVersusScenePlayerBehavior behavior = 1 [default = VS_PLAYER_BEHAVIOR_PLAY_ACTIVITY];
|
||||||
|
optional .VersusScene_PlayActivity play_activity = 2;
|
||||||
|
optional .VersusScene_ChatWheel chat_wheel = 3;
|
||||||
|
optional .VersusScene_PlaybackRate playback_rate = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_EmptyItemSlotAlert {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional int32 slot_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AddOverwatchReportMarker {
|
||||||
|
optional int32 target_player_id = 1 [default = -1];
|
||||||
|
optional .EOverwatchReportReason reason = 2 [default = k_EOverwatchReportReason_Unknown];
|
||||||
|
optional uint32 seconds_ago = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AddCommunicationsReportMarker {
|
||||||
|
optional int32 target_player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AddCommunicationsBlockMarker {
|
||||||
|
optional int32 target_player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AghsStatusAlert {
|
||||||
|
optional int32 source_player_id = 1 [default = -1];
|
||||||
|
optional int32 target_player_id = 2 [default = -1];
|
||||||
|
optional int32 target_entindex = 3 [default = -1];
|
||||||
|
optional uint32 alert_type = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_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 CDOTAClientMsg_ContextualTips_Subscribe_Entry {
|
||||||
|
optional bool unsubscribe = 1;
|
||||||
|
optional int32 tip_id = 2;
|
||||||
|
optional int32 prior_display_count = 3;
|
||||||
|
repeated int32 variants_seen = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ContextualTips_Subscribe {
|
||||||
|
repeated .CDOTAClientMsg_ContextualTips_Subscribe_Entry tips = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChatMessage {
|
||||||
|
optional uint32 channel_type = 1;
|
||||||
|
optional string message_text = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_DuelAccepted {
|
||||||
|
optional int32 challenger_player_id = 1 [default = -1];
|
||||||
|
optional int32 accepter_player_id = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_ChooseNeutralItem {
|
||||||
|
optional int32 neutral_item_index = 1;
|
||||||
|
optional int32 target_entindex = 2 [default = -1];
|
||||||
|
optional int32 slot_index = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_RerollNeutralItem {
|
||||||
|
optional int32 target_entindex = 1 [default = -1];
|
||||||
|
optional int32 slot_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerDraftPick {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerDraftSuggest {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerDraftPreferRole {
|
||||||
|
optional int32 role_idx = 1;
|
||||||
|
optional bool desired = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_PlayerDraftPreferTeam {
|
||||||
|
optional int32 team = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_AbilityAlert {
|
||||||
|
optional uint32 ability_entindex = 1 [default = 16777215];
|
||||||
|
optional bool ctrl_held = 2;
|
||||||
|
optional int32 owner_entindex = 3 [default = -1];
|
||||||
|
optional int32 ability_id = 4 [default = -1];
|
||||||
|
optional uint32 primary_charges = 5;
|
||||||
|
optional uint32 secondary_charges = 6;
|
||||||
|
optional float reclaim_time = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SelectOverworldTokenRewards {
|
||||||
|
repeated uint32 token_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_FacetAlert {
|
||||||
|
optional uint32 facet_strhash = 1;
|
||||||
|
optional uint32 hero_entindex = 2 [default = 16777215];
|
||||||
|
optional bool ctrl_held = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_InnateAlert {
|
||||||
|
optional uint32 ability_entindex = 1 [default = 16777215];
|
||||||
|
optional bool ctrl_held = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientMsg_SelectOverworldID {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
}
|
||||||
147
protos/dota_commonmessages.proto
Normal file
147
protos/dota_commonmessages.proto
Normal file
|
|
@ -0,0 +1,147 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum EPingSource {
|
||||||
|
k_ePingSource_Default = 0;
|
||||||
|
k_ePingSource_Warning = 1;
|
||||||
|
k_ePingSource_Wheel = 2;
|
||||||
|
k_ePingSource_System = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDOTAStatPopupTypes {
|
||||||
|
k_EDOTA_SPT_Textline = 0;
|
||||||
|
k_EDOTA_SPT_Basic = 1;
|
||||||
|
k_EDOTA_SPT_Poll = 2;
|
||||||
|
k_EDOTA_SPT_Grid = 3;
|
||||||
|
k_EDOTA_SPT_DualImage = 4;
|
||||||
|
k_EDOTA_SPT_Movie = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum dotaunitorder_t {
|
||||||
|
DOTA_UNIT_ORDER_NONE = 0;
|
||||||
|
DOTA_UNIT_ORDER_MOVE_TO_POSITION = 1;
|
||||||
|
DOTA_UNIT_ORDER_MOVE_TO_TARGET = 2;
|
||||||
|
DOTA_UNIT_ORDER_ATTACK_MOVE = 3;
|
||||||
|
DOTA_UNIT_ORDER_ATTACK_TARGET = 4;
|
||||||
|
DOTA_UNIT_ORDER_CAST_POSITION = 5;
|
||||||
|
DOTA_UNIT_ORDER_CAST_TARGET = 6;
|
||||||
|
DOTA_UNIT_ORDER_CAST_TARGET_TREE = 7;
|
||||||
|
DOTA_UNIT_ORDER_CAST_NO_TARGET = 8;
|
||||||
|
DOTA_UNIT_ORDER_CAST_TOGGLE = 9;
|
||||||
|
DOTA_UNIT_ORDER_HOLD_POSITION = 10;
|
||||||
|
DOTA_UNIT_ORDER_TRAIN_ABILITY = 11;
|
||||||
|
DOTA_UNIT_ORDER_DROP_ITEM = 12;
|
||||||
|
DOTA_UNIT_ORDER_GIVE_ITEM = 13;
|
||||||
|
DOTA_UNIT_ORDER_PICKUP_ITEM = 14;
|
||||||
|
DOTA_UNIT_ORDER_PICKUP_RUNE = 15;
|
||||||
|
DOTA_UNIT_ORDER_PURCHASE_ITEM = 16;
|
||||||
|
DOTA_UNIT_ORDER_SELL_ITEM = 17;
|
||||||
|
DOTA_UNIT_ORDER_DISASSEMBLE_ITEM = 18;
|
||||||
|
DOTA_UNIT_ORDER_MOVE_ITEM = 19;
|
||||||
|
DOTA_UNIT_ORDER_CAST_TOGGLE_AUTO = 20;
|
||||||
|
DOTA_UNIT_ORDER_STOP = 21;
|
||||||
|
DOTA_UNIT_ORDER_TAUNT = 22;
|
||||||
|
DOTA_UNIT_ORDER_BUYBACK = 23;
|
||||||
|
DOTA_UNIT_ORDER_GLYPH = 24;
|
||||||
|
DOTA_UNIT_ORDER_EJECT_ITEM_FROM_STASH = 25;
|
||||||
|
DOTA_UNIT_ORDER_CAST_RUNE = 26;
|
||||||
|
DOTA_UNIT_ORDER_PING_ABILITY = 27;
|
||||||
|
DOTA_UNIT_ORDER_MOVE_TO_DIRECTION = 28;
|
||||||
|
DOTA_UNIT_ORDER_PATROL = 29;
|
||||||
|
DOTA_UNIT_ORDER_VECTOR_TARGET_POSITION = 30;
|
||||||
|
DOTA_UNIT_ORDER_RADAR = 31;
|
||||||
|
DOTA_UNIT_ORDER_SET_ITEM_COMBINE_LOCK = 32;
|
||||||
|
DOTA_UNIT_ORDER_CONTINUE = 33;
|
||||||
|
DOTA_UNIT_ORDER_VECTOR_TARGET_CANCELED = 34;
|
||||||
|
DOTA_UNIT_ORDER_CAST_RIVER_PAINT = 35;
|
||||||
|
DOTA_UNIT_ORDER_PREGAME_ADJUST_ITEM_ASSIGNMENT = 36;
|
||||||
|
DOTA_UNIT_ORDER_DROP_ITEM_AT_FOUNTAIN = 37;
|
||||||
|
DOTA_UNIT_ORDER_TAKE_ITEM_FROM_NEUTRAL_ITEM_STASH = 38;
|
||||||
|
DOTA_UNIT_ORDER_MOVE_RELATIVE = 39;
|
||||||
|
DOTA_UNIT_ORDER_CAST_TOGGLE_ALT = 40;
|
||||||
|
DOTA_UNIT_ORDER_CONSUME_ITEM = 41;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDOTAVersusScenePlayerBehavior {
|
||||||
|
VS_PLAYER_BEHAVIOR_PLAY_ACTIVITY = 1;
|
||||||
|
VS_PLAYER_BEHAVIOR_CHAT_WHEEL = 2;
|
||||||
|
VS_PLAYER_BEHAVIOR_PLAYBACK_RATE = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_LocationPing {
|
||||||
|
optional int32 x = 1;
|
||||||
|
optional int32 y = 2;
|
||||||
|
optional int32 target = 3 [default = -1];
|
||||||
|
optional bool direct_ping = 4;
|
||||||
|
optional uint32 type = 5 [default = 4294967295];
|
||||||
|
optional .EPingSource ping_source = 6 [default = k_ePingSource_Default];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_ItemAlert {
|
||||||
|
optional int32 x = 1;
|
||||||
|
optional int32 y = 2;
|
||||||
|
optional int32 item_ability_id = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_MapLine {
|
||||||
|
optional int32 x = 1;
|
||||||
|
optional int32 y = 2;
|
||||||
|
optional bool initial = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_WorldLine {
|
||||||
|
optional int32 x = 1;
|
||||||
|
optional int32 y = 2;
|
||||||
|
optional int32 z = 3;
|
||||||
|
optional bool initial = 4;
|
||||||
|
optional bool end = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_SendStatPopup {
|
||||||
|
optional .EDOTAStatPopupTypes style = 1 [default = k_EDOTA_SPT_Textline];
|
||||||
|
repeated string stat_strings = 2;
|
||||||
|
repeated int32 stat_images = 3;
|
||||||
|
repeated int32 stat_image_types = 4;
|
||||||
|
optional float duration = 5;
|
||||||
|
optional bool use_html = 6;
|
||||||
|
optional string movie_name = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_DismissAllStatPopups {
|
||||||
|
optional float time_delay = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_CoachHUDPing {
|
||||||
|
optional uint32 x = 1;
|
||||||
|
optional uint32 y = 2;
|
||||||
|
optional string tgtpath = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMsg_UnitOrder {
|
||||||
|
optional .dotaunitorder_t order_type = 2 [default = DOTA_UNIT_ORDER_NONE];
|
||||||
|
repeated int32 units = 3;
|
||||||
|
optional int32 target_index = 4 [default = 0];
|
||||||
|
optional int32 ability_index = 5 [default = -1];
|
||||||
|
optional .CMsgVector position = 6;
|
||||||
|
optional int32 sequence_number = 8;
|
||||||
|
optional uint32 flags = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VersusScene_PlayActivity {
|
||||||
|
message ActivityInfo {
|
||||||
|
optional string activity = 1;
|
||||||
|
optional bool disable_auto_kill = 2;
|
||||||
|
optional bool force_looping = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .VersusScene_PlayActivity.ActivityInfo activities = 1;
|
||||||
|
optional float playback_rate = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VersusScene_ChatWheel {
|
||||||
|
optional uint32 chat_message_id = 1 [default = 4294967295];
|
||||||
|
optional uint32 emoticon_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VersusScene_PlaybackRate {
|
||||||
|
optional float rate = 1;
|
||||||
|
}
|
||||||
54
protos/dota_fighting_game_p2p_messages.proto
Normal file
54
protos/dota_fighting_game_p2p_messages.proto
Normal file
|
|
@ -0,0 +1,54 @@
|
||||||
|
import "netmessages.proto";
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
message CMsgFightingGame_GameData_Fighting {
|
||||||
|
message InputSample {
|
||||||
|
optional uint32 button_mask = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 last_acked_frame = 1;
|
||||||
|
optional uint32 player_id = 2;
|
||||||
|
optional int32 last_crc_frame = 3;
|
||||||
|
optional uint32 last_crc_value = 4;
|
||||||
|
optional float now = 5;
|
||||||
|
optional float peer_ack_time = 6;
|
||||||
|
optional int32 input_start_frame = 7;
|
||||||
|
repeated .CMsgFightingGame_GameData_Fighting.InputSample input_sample = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgFightingGame_GameData_CharacterSelect {
|
||||||
|
message Item {
|
||||||
|
optional uint32 item_def = 1;
|
||||||
|
optional uint32 style_index = 2 [default = 255];
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 cursor_index = 1;
|
||||||
|
optional int32 selected_hero_id = 2;
|
||||||
|
optional uint32 selected_style = 3;
|
||||||
|
repeated .CMsgFightingGame_GameData_CharacterSelect.Item econ_item_refs = 4;
|
||||||
|
optional int64 message_ack = 5;
|
||||||
|
optional bool confirmed_style = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgFightingGame_GameData_Loaded {
|
||||||
|
optional float now = 1;
|
||||||
|
optional float peer_ack_time = 2;
|
||||||
|
optional float proposed_start_time = 3;
|
||||||
|
optional float accepted_start_time = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CP2P_FightingGame_GameData {
|
||||||
|
enum EState {
|
||||||
|
k_ChoosingCharacter = 1;
|
||||||
|
k_Loaded = 2;
|
||||||
|
k_Fighting = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CP2P_FightingGame_GameData.EState state = 1 [default = k_ChoosingCharacter];
|
||||||
|
|
||||||
|
oneof state_data {
|
||||||
|
.CMsgFightingGame_GameData_Fighting fight = 2;
|
||||||
|
.CMsgFightingGame_GameData_CharacterSelect character_select = 3;
|
||||||
|
.CMsgFightingGame_GameData_Loaded loaded = 4;
|
||||||
|
}
|
||||||
|
}
|
||||||
3326
protos/dota_gcmessages_client.proto
Normal file
3326
protos/dota_gcmessages_client.proto
Normal file
File diff suppressed because it is too large
Load diff
394
protos/dota_gcmessages_client_battle_report.proto
Normal file
394
protos/dota_gcmessages_client_battle_report.proto
Normal file
|
|
@ -0,0 +1,394 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_gcmessages_webapi.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "econ_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_client.proto";
|
||||||
|
import "valveextensions.proto";
|
||||||
|
|
||||||
|
enum CMsgBattleReport_HighlightType {
|
||||||
|
k_eHighlightTypeInvalid = -1 [(schema_suppress_enumerator) = true];
|
||||||
|
k_eGameWinrate = 0 [(schema_friendly_name) = "Game Winrate"];
|
||||||
|
k_eLaneWinrate = 1 [(schema_friendly_name) = "Lane Winrate"];
|
||||||
|
k_eMMRDelta = 2 [(schema_friendly_name) = "Ranked MMR Delta"];
|
||||||
|
k_eNumHeroesPlayed = 3 [(schema_friendly_name) = "Number of Heroes Played"];
|
||||||
|
k_eNumGamesPlayed = 4 [(schema_friendly_name) = "Number of Games Played"];
|
||||||
|
k_eAveragePowerRunesTaken = 5 [(schema_friendly_name) = "Average Power Runes Taken"];
|
||||||
|
k_eAverageBountyRunesTaken = 6 [(schema_friendly_name) = "Average Bounty Runes Taken"];
|
||||||
|
k_eTotalKillEnemyT1First = 7 [(schema_friendly_name) = "Total Enemy T1 Destroyed First"];
|
||||||
|
k_eTotalRoshanKills = 8 [(schema_friendly_name) = "Total Roshan Kills"];
|
||||||
|
k_eTotalDewards = 9 [(schema_friendly_name) = "Total Dewards"];
|
||||||
|
k_eTotalCampsStacked = 10 [(schema_friendly_name) = "Total Camps Stacked"];
|
||||||
|
k_eMaxWinstreak = 11 [(schema_friendly_name) = "Max Win Streak"];
|
||||||
|
k_eAverageDewards = 12 [(schema_friendly_name) = "Average Dewards"];
|
||||||
|
k_eAverageKills = 13 [(schema_friendly_name) = "Average Kills"];
|
||||||
|
k_eMaxKills = 14 [(schema_friendly_name) = "Max Kills"];
|
||||||
|
k_eAverageAssists = 15 [(schema_friendly_name) = "Average Assists"];
|
||||||
|
k_eMaxAssists = 16 [(schema_friendly_name) = "Max Assists"];
|
||||||
|
k_eAverageDeaths = 17 [(schema_friendly_name) = "Average Deaths"];
|
||||||
|
k_eMinDeaths = 18 [(schema_friendly_name) = "Min Deaths"];
|
||||||
|
k_eAverageCampsStacked = 19 [(schema_friendly_name) = "Average Camps Stacked"];
|
||||||
|
k_eTotalLastHits = 20 [(schema_friendly_name) = "Total Last Hits"];
|
||||||
|
k_eAverageLastHits = 21 [(schema_friendly_name) = "Average Last Hits"];
|
||||||
|
k_eTotalDenies = 22 [(schema_friendly_name) = "Total Denies"];
|
||||||
|
k_eAverageDenies = 23 [(schema_friendly_name) = "Average Denies"];
|
||||||
|
k_eTotalGamesWithRoshanAdvantage = 24 [(schema_friendly_name) = "Total Games With Roshan Advantage (Player team killed Roshan more times)"];
|
||||||
|
k_ePercentGamesWithRoshanAdvantage = 25 [(schema_friendly_name) = "Pct Games With Roshan Advantage (Player team killed Roshan more times)"];
|
||||||
|
k_eAverageStunDuration = 26 [(schema_friendly_name) = "Average Stun Duration"];
|
||||||
|
k_eTotalStunDuration = 27 [(schema_friendly_name) = "Total Stun Duration"];
|
||||||
|
k_eAverageTeleportsUsed = 28 [(schema_friendly_name) = "Average Teleports Used"];
|
||||||
|
k_eTotalTeleportsUsed = 29 [(schema_friendly_name) = "Total Teleports Used"];
|
||||||
|
k_eAverageHeroDamage = 30 [(schema_friendly_name) = "Average Hero Damage"];
|
||||||
|
k_eTotalHeroDamage = 31 [(schema_friendly_name) = "Total Hero Damage"];
|
||||||
|
k_eAverageHeroHealing = 32 [(schema_friendly_name) = "Average Hero Healing"];
|
||||||
|
k_eTotalHeroHealing = 33 [(schema_friendly_name) = "Total Hero Healing"];
|
||||||
|
k_eAverageTowerDamage = 34 [(schema_friendly_name) = "Average Tower Damage"];
|
||||||
|
k_eTotalTowerDamage = 35 [(schema_friendly_name) = "Total Tower Damage"];
|
||||||
|
k_eMaxLossStreak = 36 [(schema_friendly_name) = "Max Loss Streak"];
|
||||||
|
k_eAverageGameDuration = 37 [(schema_friendly_name) = "Average Game Duration"];
|
||||||
|
k_eMaxGameDuration = 38 [(schema_friendly_name) = "Max Game Duration"];
|
||||||
|
k_eMinGameDuration = 39 [(schema_friendly_name) = "Min Game Duration"];
|
||||||
|
k_eAverageWinDuration = 40 [(schema_friendly_name) = "Average Win Duration"];
|
||||||
|
k_eMaxWinDuration = 41 [(schema_friendly_name) = "Max Win Duration"];
|
||||||
|
k_eMinWinDuration = 42 [(schema_friendly_name) = "Min Win Duration"];
|
||||||
|
k_eAverageLossDuration = 43 [(schema_friendly_name) = "Average Loss Duration"];
|
||||||
|
k_eMaxLossDuration = 44 [(schema_friendly_name) = "Max Loss Duration"];
|
||||||
|
k_eMinLossDuration = 45 [(schema_friendly_name) = "Min Loss Duration"];
|
||||||
|
k_ePctGamesEnemyT1TakenFirst = 46 [(schema_friendly_name) = "Pct Games With Enemy Lane T1 Taken First"];
|
||||||
|
k_eMaxCampsStacked = 47 [(schema_friendly_name) = "Max Camps Stacked"];
|
||||||
|
k_eMaxDewards = 48 [(schema_friendly_name) = "Max Dewards"];
|
||||||
|
k_eMaxRoshanKills = 49 [(schema_friendly_name) = "Max Roshan Kills"];
|
||||||
|
k_eMaxBountyRunesTaken = 50 [(schema_friendly_name) = "Max Bounty Runes Taken"];
|
||||||
|
k_eMaxPowerRunesTaken = 51 [(schema_friendly_name) = "Max Power Runes Taken"];
|
||||||
|
k_eMaxDeaths = 52 [(schema_friendly_name) = "Max Deaths"];
|
||||||
|
k_eMaxLastHits = 53 [(schema_friendly_name) = "Max Last Hits"];
|
||||||
|
k_eMaxDenies = 54 [(schema_friendly_name) = "Max Denies"];
|
||||||
|
k_eRadiantWinRate = 55 [(schema_friendly_name) = "Radiant Winrate"];
|
||||||
|
k_eDireWinRate = 56 [(schema_friendly_name) = "Dire Winrate"];
|
||||||
|
k_eRadiantGameCount = 57 [(schema_friendly_name) = "Radiant Game Count"];
|
||||||
|
k_eDireGameCount = 58 [(schema_friendly_name) = "Dire Game Count"];
|
||||||
|
k_eMaxDamage = 59 [(schema_friendly_name) = "Max Hero Damage"];
|
||||||
|
k_eMaxHealing = 60 [(schema_friendly_name) = "Max Healing"];
|
||||||
|
k_eMaxTowerDamage = 61 [(schema_friendly_name) = "Max Tower Damage"];
|
||||||
|
k_eAverageGPM = 62 [(schema_friendly_name) = "Average GPM"];
|
||||||
|
k_eMaxGPM = 63 [(schema_friendly_name) = "Max GPM"];
|
||||||
|
k_eAverageXPM = 64 [(schema_friendly_name) = "Average XPM"];
|
||||||
|
k_eMaxXPM = 65 [(schema_friendly_name) = "Max XPM"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_HighlightCategory {
|
||||||
|
k_eHighlightGeneral = 0 [(schema_friendly_name) = "General"];
|
||||||
|
k_eHighlightHero = 1 [(schema_friendly_name) = "Hero"];
|
||||||
|
k_eHighlightRole = 2 [(schema_friendly_name) = "Role"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_Role {
|
||||||
|
k_eUnknownRole = -1 [(schema_suppress_enumerator) = true];
|
||||||
|
k_eSafelane = 0 [(schema_friendly_name) = "Safe Lane"];
|
||||||
|
k_eMidlane = 1 [(schema_friendly_name) = "Mid Lane"];
|
||||||
|
k_eOfflane = 2 [(schema_friendly_name) = "Off Lane"];
|
||||||
|
k_eSupport = 3 [(schema_friendly_name) = "Support"];
|
||||||
|
k_eHardSupport = 4 [(schema_friendly_name) = "Hard Support"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_CompareContext {
|
||||||
|
k_eCompareContextInvalid = -1 [(schema_suppress_enumerator) = true];
|
||||||
|
k_eAbsoluteValue = 0 [(schema_friendly_name) = "Overall Value"];
|
||||||
|
k_ePlayersOfSimilarRank = 1 [(schema_friendly_name) = "Vs Rank Population"];
|
||||||
|
k_eAllPlayers = 2 [(schema_friendly_name) = "Vs All Players"];
|
||||||
|
k_ePlayersPersonalHistory = 3 [(schema_friendly_name) = "Vs Personal History"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_HighlightTier {
|
||||||
|
k_eHighlightTierLow = -1 [(schema_friendly_name) = "Tier Low"];
|
||||||
|
k_eHighlightTierNone = 0 [(schema_suppress_enumerator) = true];
|
||||||
|
k_eHighlightTier1 = 1 [(schema_friendly_name) = "Tier 1"];
|
||||||
|
k_eHighlightTier2 = 2 [(schema_friendly_name) = "Tier 2"];
|
||||||
|
k_eHighlightTier3 = 3 [(schema_friendly_name) = "Tier 3"];
|
||||||
|
k_eHighlightTierCustom = 4 [(schema_friendly_name) = "Custom"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_HighlightRarity {
|
||||||
|
k_eHighlightCommon = 0 [(schema_friendly_name) = "Common"];
|
||||||
|
k_eHighlightUncommon = 1 [(schema_friendly_name) = "Uncommon"];
|
||||||
|
k_eHighlightRare = 2 [(schema_friendly_name) = "Rare"];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_EOutcome {
|
||||||
|
k_eWin = 0;
|
||||||
|
k_eLoss = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CMsgBattleReport_ELaneOutcome {
|
||||||
|
k_eUnknownLaneOutcome = -1;
|
||||||
|
k_eWonLane = 0;
|
||||||
|
k_eLostLane = 1;
|
||||||
|
k_eEvenLane = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReport {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReport_Game {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 kills = 2;
|
||||||
|
optional uint32 deaths = 3;
|
||||||
|
optional uint32 assists = 4;
|
||||||
|
optional int32 rank_change = 5;
|
||||||
|
optional uint32 last_hits = 6;
|
||||||
|
optional uint32 denies = 21;
|
||||||
|
optional uint32 gpm = 7;
|
||||||
|
optional uint32 xpm = 8;
|
||||||
|
optional .CMsgBattleReport_Role role = 9 [default = k_eUnknownRole];
|
||||||
|
optional .CMsgBattleReport_EOutcome outcome = 10 [default = k_eWin];
|
||||||
|
optional .CMsgBattleReport_ELaneOutcome lane_outcome = 11 [default = k_eUnknownLaneOutcome];
|
||||||
|
optional bool ranked = 12;
|
||||||
|
optional uint64 match_id = 13;
|
||||||
|
optional uint32 lane_selection_flags = 14;
|
||||||
|
optional uint32 predicted_position = 15;
|
||||||
|
optional uint32 seconds_dead = 16;
|
||||||
|
optional uint32 winning_team = 17;
|
||||||
|
optional uint32 player_slot = 28;
|
||||||
|
optional bool party_game = 19;
|
||||||
|
optional uint32 start_time = 20;
|
||||||
|
optional uint32 bounty_runes = 22;
|
||||||
|
optional uint32 water_runes = 23;
|
||||||
|
optional uint32 power_runes = 24;
|
||||||
|
optional uint32 time_enemy_t1_tower_destroyed = 25;
|
||||||
|
optional uint32 time_friendly_t1_tower_destroyed = 26;
|
||||||
|
optional uint32 enemy_roshan_kills = 27;
|
||||||
|
optional uint32 teleports_used = 29;
|
||||||
|
optional uint32 dewards = 30;
|
||||||
|
optional uint32 camps_stacked = 31;
|
||||||
|
optional uint32 support_gold = 32;
|
||||||
|
optional uint32 hero_damage = 33;
|
||||||
|
optional uint32 hero_healing = 34;
|
||||||
|
optional uint32 tower_damage = 35;
|
||||||
|
optional uint32 successful_smokes = 36;
|
||||||
|
optional uint32 stun_duration = 37;
|
||||||
|
optional uint32 duration = 38;
|
||||||
|
optional uint32 friendly_roshan_kills = 39;
|
||||||
|
optional int32 previous_rank = 40;
|
||||||
|
optional uint32 game_mode = 41;
|
||||||
|
optional uint32 lobby_type = 42;
|
||||||
|
optional float time_purchased_shard = 43;
|
||||||
|
optional float time_purchased_scepter = 44;
|
||||||
|
optional int32 item0 = 45 [default = -1];
|
||||||
|
optional int32 item1 = 46 [default = -1];
|
||||||
|
optional int32 item2 = 47 [default = -1];
|
||||||
|
optional int32 item3 = 48 [default = -1];
|
||||||
|
optional int32 item4 = 49 [default = -1];
|
||||||
|
optional int32 item5 = 50 [default = -1];
|
||||||
|
optional uint32 selected_facet = 51;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReport_GameList {
|
||||||
|
repeated .CMsgBattleReport_Game games = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReport {
|
||||||
|
message HighlightGeneral {
|
||||||
|
optional int32 win_loss_window = 1;
|
||||||
|
optional float win_percent = 2;
|
||||||
|
optional int32 mmr_delta = 3;
|
||||||
|
optional float highlight_score = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Highlight {
|
||||||
|
required uint32 highlight_id = 1;
|
||||||
|
required .CMsgBattleReport_HighlightCategory category = 2 [default = k_eHighlightGeneral];
|
||||||
|
optional .CMsgBattleReport_HighlightTier tier = 3 [default = k_eHighlightTierLow];
|
||||||
|
optional .CMsgBattleReport_HighlightRarity rarity = 4 [default = k_eHighlightCommon];
|
||||||
|
optional float score = 5;
|
||||||
|
optional float confidence = 6;
|
||||||
|
optional int32 hero_id = 7;
|
||||||
|
optional .CMsgBattleReport_Role role = 8 [default = k_eUnknownRole];
|
||||||
|
optional float comparison_delta_value = 9;
|
||||||
|
optional .CMsgBattleReport_CompareContext context = 10 [default = k_eCompareContextInvalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgBattleReport_Game games = 1;
|
||||||
|
optional .CMsgBattleReportHighlights highlights = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportInfo {
|
||||||
|
optional uint32 timestamp = 1;
|
||||||
|
optional uint32 duration = 2;
|
||||||
|
optional bool acknowledged = 3;
|
||||||
|
optional int32 featured_hero_id = 4;
|
||||||
|
optional uint32 featured_position = 5;
|
||||||
|
optional uint32 games_played = 6;
|
||||||
|
repeated uint32 medal_counts = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportInfoList {
|
||||||
|
repeated .CMsgBattleReportInfo battle_report_info = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportHighlights {
|
||||||
|
repeated .CMsgBattleReport.Highlight highlights = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportAggregateStats {
|
||||||
|
message CMsgBattleReportStat {
|
||||||
|
optional float mean = 1;
|
||||||
|
optional float stdev = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportAggregate {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 predicted_position = 2;
|
||||||
|
optional uint32 game_count = 3;
|
||||||
|
optional uint32 win_count = 4;
|
||||||
|
optional uint32 lane_win_count = 5;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat kills = 6;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat deaths = 7;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat assists = 8;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat rank_change = 9;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat last_hits = 10;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat denies = 11;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat gpm = 12;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat xpm = 13;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat seconds_dead = 14;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat bounty_runes = 15;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat water_runes = 16;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat power_runes = 17;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat time_enemy_t1_tower_destroyed = 18;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat time_friendly_t1_tower_destroyed = 19;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat enemy_roshan_kills = 20;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat teleports_used = 21;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat dewards = 22;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat camps_stacked = 23;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat support_gold = 24;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat hero_damage = 25;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat hero_healing = 26;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat tower_damage = 27;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat successful_smokes = 28;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat stun_duration = 29;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat duration = 30;
|
||||||
|
optional .CMsgBattleReportAggregateStats.CMsgBattleReportStat friendly_roshan_kills = 31;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgBattleReportAggregateStats.CMsgBattleReportAggregate result = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBattleReportAggregatedGeneralStats {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_ePermissionDenied = 4;
|
||||||
|
k_eNotSubscribedToDotaPlus = 5;
|
||||||
|
k_eInvalidParameters = 6;
|
||||||
|
k_eUnableToGetPlusSubInfo = 7;
|
||||||
|
k_eUnableToLoadBattleReport = 8;
|
||||||
|
k_eUnableToSaveBattleReport = 9;
|
||||||
|
k_eUnableToGetAggregates = 10;
|
||||||
|
k_eNotEnoughGamesPlayed = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgBattleReport report = 1;
|
||||||
|
optional .CMsgClientToGCGetBattleReportResponse.EResponse response = 2 [default = k_eInternalError];
|
||||||
|
optional .CMsgBattleReportAggregateStats aggregate_stats = 3;
|
||||||
|
optional .CMsgBattleReportInfo info = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportAggregateStats {
|
||||||
|
message CMsgBattleReportAggregateKey {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 predicted_position = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgClientToGCGetBattleReportAggregateStats.CMsgBattleReportAggregateKey aggregate_keys = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
optional uint32 rank = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportAggregateStatsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_ePermissionDenied = 4;
|
||||||
|
k_eInvalidParams = 5;
|
||||||
|
k_eNotSubscribedToDotaPlus = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgBattleReportAggregateStats aggregate_stats = 1;
|
||||||
|
optional .CMsgClientToGCGetBattleReportAggregateStatsResponse.EResponse response = 2 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportInfo {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportInfoResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_ePermissionDenied = 4;
|
||||||
|
k_eNotSubscribedToDotaPlus = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgBattleReportInfoList battle_report_info_list = 1;
|
||||||
|
optional .CMsgClientToGCGetBattleReportInfoResponse.EResponse response = 2 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcknowledgeBattleReport {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcknowledgeBattleReportResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_ePermissionDenied = 5;
|
||||||
|
k_eUnableToLoadBattleReport = 6;
|
||||||
|
k_eAlreadyAcknowledged = 7;
|
||||||
|
k_eUnknownReport = 8;
|
||||||
|
k_eNotSubscribedToDotaPlus = 9;
|
||||||
|
k_eNotEnoughGamesPlayed = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCAcknowledgeBattleReportResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 shards_awarded = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportMatchHistory {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetBattleReportMatchHistoryResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_ePermissionDenied = 5;
|
||||||
|
k_eNotSubscribedToDotaPlus = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCGetBattleReportMatchHistoryResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgBattleReport_GameList games = 2;
|
||||||
|
}
|
||||||
108
protos/dota_gcmessages_client_bingo.proto
Normal file
108
protos/dota_gcmessages_client_bingo.proto
Normal file
|
|
@ -0,0 +1,108 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_gcmessages_webapi.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "econ_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_client.proto";
|
||||||
|
import "valveextensions.proto";
|
||||||
|
|
||||||
|
message CMsgBingoSquare {
|
||||||
|
optional uint32 stat_id = 1;
|
||||||
|
optional int32 stat_threshold = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBingoUserData {
|
||||||
|
repeated .CMsgBingoSquare squares = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoGetUserData {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 league_phase = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoGetUserDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCBingoGetUserDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgBingoUserData user_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBingoIndividualStatData {
|
||||||
|
optional uint32 stat_id = 1;
|
||||||
|
optional int32 stat_value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBingoStatsData {
|
||||||
|
repeated .CMsgBingoIndividualStatData stats_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoGetStatsData {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 league_phase = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoGetStatsDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCBingoGetStatsDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgBingoStatsData stats_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientBingoUserDataUpdated {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 league_phase = 2;
|
||||||
|
optional .CMsgBingoUserData user_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoClaimRow {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 league_phase = 2;
|
||||||
|
optional uint32 row_index = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoClaimRowResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidRow = 5;
|
||||||
|
k_eExpiredCard = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCBingoClaimRowResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoDevRerollCard {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 league_phase = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBingoDevRerollCardResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eExpiredCard = 6;
|
||||||
|
k_eNotAllowed = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCBingoDevRerollCardResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
278
protos/dota_gcmessages_client_candy_shop.proto
Normal file
278
protos/dota_gcmessages_client_candy_shop.proto
Normal file
|
|
@ -0,0 +1,278 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_gcmessages_webapi.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "econ_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_client.proto";
|
||||||
|
import "valveextensions.proto";
|
||||||
|
|
||||||
|
enum ECandyShopAuditAction {
|
||||||
|
k_ECandyShopAuditAction_Invalid = 0;
|
||||||
|
k_ECandyShopAuditAction_SupportModify = 1;
|
||||||
|
k_ECandyShopAuditAction_PurchaseReward = 2;
|
||||||
|
k_ECandyShopAuditAction_OpenBags = 3;
|
||||||
|
k_ECandyShopAuditAction_RerollRewards = 4;
|
||||||
|
k_ECandyShopAuditAction_DoVariableExchange = 5;
|
||||||
|
k_ECandyShopAuditAction_DoExchange = 6;
|
||||||
|
k_ECandyShopAuditAction_DEPRECATED_EventActionGrantInventorySizeIncrease = 7;
|
||||||
|
k_ECandyShopAuditAction_EventActionGrantRerollChargesIncrease = 8;
|
||||||
|
k_ECandyShopAuditAction_EventActionGrantUpgrade_InventorySize = 100;
|
||||||
|
k_ECandyShopAuditAction_EventActionGrantUpgrade_RewardShelf = 101;
|
||||||
|
k_ECandyShopAuditAction_EventActionGrantUpgrade_ExtraExchangeRecipe = 102;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ECandyShopRewardType {
|
||||||
|
k_eCandyShopRewardType_None = 0;
|
||||||
|
k_eCandyShopRewardType_Item = 1;
|
||||||
|
k_eCandyShopRewardType_EventAction = 2;
|
||||||
|
k_eCandyShopRewardType_EventPoints = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopCandyCount {
|
||||||
|
optional uint32 candy_type = 1;
|
||||||
|
optional uint32 candy_count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopCandyQuantity {
|
||||||
|
repeated .CMsgCandyShopCandyCount candy_counts = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopExchangeRecipe {
|
||||||
|
optional uint32 recipe_id = 1;
|
||||||
|
optional .CMsgCandyShopCandyQuantity input = 2;
|
||||||
|
optional .CMsgCandyShopCandyQuantity output = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopRewardData_Item {
|
||||||
|
optional uint32 item_def = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopRewardData_EventAction {
|
||||||
|
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 action_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopRewardData_EventPoints {
|
||||||
|
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 points = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopReward {
|
||||||
|
optional uint32 reward_id = 1;
|
||||||
|
optional uint32 reward_option_id = 2;
|
||||||
|
optional .CMsgCandyShopCandyQuantity price = 3;
|
||||||
|
optional .ECandyShopRewardType reward_type = 4 [default = k_eCandyShopRewardType_None];
|
||||||
|
optional .CMsgCandyShopRewardData_Item item_data = 5;
|
||||||
|
optional .CMsgCandyShopRewardData_EventAction event_action_data = 6;
|
||||||
|
optional .CMsgCandyShopRewardData_EventPoints event_points_data = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCandyShopUserData {
|
||||||
|
optional uint32 inventory_max = 1;
|
||||||
|
optional .CMsgCandyShopCandyQuantity inventory = 2;
|
||||||
|
optional uint32 exchange_recipe_max = 3;
|
||||||
|
optional fixed32 exchange_reset_timestamp = 4;
|
||||||
|
repeated .CMsgCandyShopExchangeRecipe exchange_recipes = 5;
|
||||||
|
optional uint32 active_reward_max = 6;
|
||||||
|
repeated .CMsgCandyShopReward active_rewards = 7;
|
||||||
|
optional uint32 reroll_charges_max = 8;
|
||||||
|
optional uint32 reroll_charges = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopGetUserData {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopGetUserDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eExpiredShop = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopGetUserDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgCandyShopUserData user_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientCandyShopUserDataUpdated {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional .CMsgCandyShopUserData user_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopPurchaseReward {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional uint64 reward_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopPurchaseRewardResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eInvalidReward = 6;
|
||||||
|
k_eNotEnoughCandy = 7;
|
||||||
|
k_eExpiredShop = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopPurchaseRewardResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopOpenBags {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional uint32 bag_count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopOpenBagsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eInvalidItem = 6;
|
||||||
|
k_eNotEnoughBags = 7;
|
||||||
|
k_eNotEnoughSpace = 8;
|
||||||
|
k_eExpiredShop = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopOpenBagsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDoExchange {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional uint32 recipe_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDoExchangeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eNotEnoughCandy = 6;
|
||||||
|
k_eInvalidRecipe = 7;
|
||||||
|
k_eNotEnoughSpace = 8;
|
||||||
|
k_eExpiredShop = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopDoExchangeResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDoVariableExchange {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional .CMsgCandyShopCandyQuantity input = 2;
|
||||||
|
optional .CMsgCandyShopCandyQuantity output = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDoVariableExchangeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eNotEnoughCandy = 6;
|
||||||
|
k_eInvalidRecipe = 7;
|
||||||
|
k_eNotEnoughSpace = 8;
|
||||||
|
k_eExpiredShop = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopDoVariableExchangeResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopRerollRewards {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopRerollRewardsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidShop = 5;
|
||||||
|
k_eNoRerollCharges = 6;
|
||||||
|
k_eExpiredShop = 7;
|
||||||
|
k_eShopNotOpen = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCandyShopRerollRewardsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCandyShopDev {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidShop = 6;
|
||||||
|
k_eNotEnoughSpace = 7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantCandy {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional .CMsgCandyShopCandyQuantity candy_quantity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantCandyResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevClearInventory {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevClearInventoryResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantCandyBags {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional uint32 quantity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantCandyBagsResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevShuffleExchange {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevShuffleExchangeResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantRerollCharges {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
optional uint32 reroll_charges = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevGrantRerollChargesResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevResetShop {
|
||||||
|
optional uint32 candy_shop_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCandyShopDevResetShopResponse {
|
||||||
|
optional .CCandyShopDev.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
240
protos/dota_gcmessages_client_chat.proto
Normal file
240
protos/dota_gcmessages_client_chat.proto
Normal file
|
|
@ -0,0 +1,240 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
message CMsgClientToGCPrivateChatInvite {
|
||||||
|
optional string private_chat_channel_name = 1;
|
||||||
|
optional uint32 invited_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCPrivateChatKick {
|
||||||
|
optional string private_chat_channel_name = 1;
|
||||||
|
optional uint32 kick_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCPrivateChatPromote {
|
||||||
|
optional string private_chat_channel_name = 1;
|
||||||
|
optional uint32 promote_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCPrivateChatDemote {
|
||||||
|
optional string private_chat_channel_name = 1;
|
||||||
|
optional uint32 demote_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientPrivateChatResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
FAILURE_CREATION_LOCK = 1;
|
||||||
|
FAILURE_SQL_TRANSACTION = 2;
|
||||||
|
FAILURE_SDO_LOAD = 3;
|
||||||
|
FAILURE_NO_PERMISSION = 4;
|
||||||
|
FAILURE_ALREADY_MEMBER = 5;
|
||||||
|
FAILURE_NOT_A_MEMBER = 7;
|
||||||
|
FAILURE_NO_REMAINING_ADMINS = 8;
|
||||||
|
FAILURE_NO_ROOM = 9;
|
||||||
|
FAILURE_CREATION_RATE_LIMITED = 10;
|
||||||
|
FAILURE_UNKNOWN_CHANNEL_NAME = 11;
|
||||||
|
FAILURE_UNKNOWN_USER = 12;
|
||||||
|
FAILURE_UNKNOWN_ERROR = 13;
|
||||||
|
FAILURE_CANNOT_KICK_ADMIN = 14;
|
||||||
|
FAILURE_ALREADY_ADMIN = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string private_chat_channel_name = 1;
|
||||||
|
optional .CMsgGCToClientPrivateChatResponse.Result result = 2 [default = SUCCESS];
|
||||||
|
optional string username = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAJoinChatChannel {
|
||||||
|
optional string channel_name = 2;
|
||||||
|
optional .DOTAChatChannelType_t channel_type = 4 [default = DOTAChannelType_Regional];
|
||||||
|
optional bool silent_rejection = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeaveChatChannel {
|
||||||
|
optional uint64 channel_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCChatReportPublicSpam {
|
||||||
|
optional uint64 channel_id = 1;
|
||||||
|
optional uint32 channel_user_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatModeratorBan {
|
||||||
|
optional uint64 channel_id = 1;
|
||||||
|
optional uint32 account_id = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatMessage {
|
||||||
|
message DiceRoll {
|
||||||
|
optional int32 roll_min = 1;
|
||||||
|
optional int32 roll_max = 2;
|
||||||
|
optional int32 result = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TriviaAnswered {
|
||||||
|
optional uint32 question_id = 1;
|
||||||
|
optional uint32 answer_index = 2;
|
||||||
|
optional uint32 party_questions_correct = 3;
|
||||||
|
optional uint32 party_questions_viewed = 4;
|
||||||
|
optional uint32 party_trivia_points = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PlayerDraftPick {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional int32 team = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChatWheelMessage {
|
||||||
|
optional uint32 message_id = 1 [default = 4294967295];
|
||||||
|
optional uint32 emoticon_id = 2;
|
||||||
|
optional string message_text = 3;
|
||||||
|
optional uint32 hero_badge_tier = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint64 channel_id = 2;
|
||||||
|
optional string persona_name = 3;
|
||||||
|
optional string text = 4;
|
||||||
|
optional uint32 timestamp = 5;
|
||||||
|
optional uint32 suggest_invite_account_id = 6;
|
||||||
|
optional string suggest_invite_name = 7;
|
||||||
|
optional uint32 fantasy_draft_owner_account_id = 8;
|
||||||
|
optional uint32 fantasy_draft_player_account_id = 9;
|
||||||
|
optional uint32 event_id = 10;
|
||||||
|
optional bool suggest_invite_to_lobby = 11;
|
||||||
|
optional bool coin_flip = 13;
|
||||||
|
optional int32 player_id = 14 [default = -1];
|
||||||
|
optional uint32 share_profile_account_id = 15;
|
||||||
|
optional uint32 channel_user_id = 16;
|
||||||
|
optional .CMsgDOTAChatMessage.DiceRoll dice_roll = 17;
|
||||||
|
optional uint64 share_party_id = 18;
|
||||||
|
optional uint64 share_lobby_id = 19;
|
||||||
|
optional uint64 share_lobby_custom_game_id = 20;
|
||||||
|
optional string share_lobby_passkey = 21;
|
||||||
|
optional uint32 private_chat_channel_id = 22;
|
||||||
|
optional uint32 status = 23;
|
||||||
|
optional bool legacy_battle_cup_victory = 24;
|
||||||
|
optional uint32 battle_cup_streak = 29;
|
||||||
|
optional uint32 badge_level = 25;
|
||||||
|
optional int32 suggest_pick_hero_id = 26;
|
||||||
|
optional string suggest_pick_hero_role = 27;
|
||||||
|
optional int32 suggest_ban_hero_id = 30;
|
||||||
|
optional .CMsgDOTAChatMessage.TriviaAnswered trivia_answer = 32;
|
||||||
|
optional int32 requested_ability_id = 33 [default = -1];
|
||||||
|
optional uint32 chat_flags = 34;
|
||||||
|
optional bool started_finding_match = 35;
|
||||||
|
optional bool ctrl_is_down = 36;
|
||||||
|
optional uint32 favorite_team_id = 37;
|
||||||
|
optional uint32 favorite_team_quality = 38;
|
||||||
|
optional int32 suggest_player_draft_pick = 39 [default = -1];
|
||||||
|
optional .CMsgDOTAChatMessage.PlayerDraftPick player_draft_pick = 40;
|
||||||
|
optional .CMsgDOTAChatMessage.ChatWheelMessage chat_wheel_message = 41;
|
||||||
|
optional uint32 event_level = 42;
|
||||||
|
optional uint32 suggest_pick_hero_facet = 43;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatMember {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional string persona_name = 2;
|
||||||
|
optional uint32 channel_user_id = 3;
|
||||||
|
optional uint32 status = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAJoinChatChannelResponse {
|
||||||
|
enum Result {
|
||||||
|
JOIN_SUCCESS = 0;
|
||||||
|
INVALID_CHANNEL_TYPE = 1;
|
||||||
|
ACCOUNT_NOT_FOUND = 2;
|
||||||
|
ACH_FAILED = 3;
|
||||||
|
USER_IN_TOO_MANY_CHANNELS = 4;
|
||||||
|
RATE_LIMIT_EXCEEDED = 5;
|
||||||
|
CHANNEL_FULL = 6;
|
||||||
|
CHANNEL_FULL_OVERFLOWED = 7;
|
||||||
|
FAILED_TO_ADD_USER = 8;
|
||||||
|
CHANNEL_TYPE_DISABLED = 9;
|
||||||
|
PRIVATE_CHAT_CREATE_FAILED = 10;
|
||||||
|
PRIVATE_CHAT_NO_PERMISSION = 11;
|
||||||
|
PRIVATE_CHAT_CREATE_LOCK_FAILED = 12;
|
||||||
|
PRIVATE_CHAT_KICKED = 13;
|
||||||
|
USER_NOT_ALLOWED = 14;
|
||||||
|
ENSURE_SPECIAL_PRIVILEGES_FAILED = 15;
|
||||||
|
NEW_PLAYER_USER_NOT_ELIGIBLE = 16;
|
||||||
|
SILENT_ERROR = 17;
|
||||||
|
NEW_PLAYER_USER_BANNED = 18;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 response = 1;
|
||||||
|
optional string channel_name = 2;
|
||||||
|
optional fixed64 channel_id = 3;
|
||||||
|
optional uint32 max_members = 4;
|
||||||
|
repeated .CMsgDOTAChatMember members = 5;
|
||||||
|
optional .DOTAChatChannelType_t channel_type = 6 [default = DOTAChannelType_Regional];
|
||||||
|
optional .CMsgDOTAJoinChatChannelResponse.Result result = 7 [default = JOIN_SUCCESS];
|
||||||
|
optional bool gc_initiated_join = 8;
|
||||||
|
optional uint32 channel_user_id = 9;
|
||||||
|
optional string welcome_message = 10;
|
||||||
|
optional .EChatSpecialPrivileges special_privileges = 11 [default = k_EChatSpecialPrivileges_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAOtherJoinedChatChannel {
|
||||||
|
optional fixed64 channel_id = 1;
|
||||||
|
optional string persona_name = 2;
|
||||||
|
optional fixed64 steam_id = 3;
|
||||||
|
optional uint32 channel_user_id = 4;
|
||||||
|
optional uint32 status = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAOtherLeftChatChannel {
|
||||||
|
optional fixed64 channel_id = 1;
|
||||||
|
optional fixed64 steam_id = 2;
|
||||||
|
optional uint32 channel_user_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTARequestChatChannelList {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTARequestChatChannelListResponse {
|
||||||
|
message ChatChannel {
|
||||||
|
optional string channel_name = 1;
|
||||||
|
optional uint32 num_members = 2;
|
||||||
|
optional .DOTAChatChannelType_t channel_type = 3 [default = DOTAChannelType_Regional];
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTARequestChatChannelListResponse.ChatChannel channels = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatGetUserListResponse {
|
||||||
|
message Member {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional string persona_name = 2;
|
||||||
|
optional uint32 channel_user_id = 3;
|
||||||
|
optional uint32 status = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed64 channel_id = 1;
|
||||||
|
repeated .CMsgDOTAChatGetUserListResponse.Member members = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatGetMemberCount {
|
||||||
|
optional string channel_name = 1;
|
||||||
|
optional .DOTAChatChannelType_t channel_type = 2 [default = DOTAChannelType_Regional];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatGetMemberCountResponse {
|
||||||
|
optional string channel_name = 1;
|
||||||
|
optional .DOTAChatChannelType_t channel_type = 2 [default = DOTAChannelType_Regional];
|
||||||
|
optional uint32 member_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAChatRegionsEnabled {
|
||||||
|
message Region {
|
||||||
|
optional float min_latitude = 1;
|
||||||
|
optional float max_latitude = 2;
|
||||||
|
optional float min_longitude = 3;
|
||||||
|
optional float max_longitude = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool enable_all_regions = 1;
|
||||||
|
repeated .CMsgDOTAChatRegionsEnabled.Region enabled_regions = 2;
|
||||||
|
}
|
||||||
376
protos/dota_gcmessages_client_coaching.proto
Normal file
376
protos/dota_gcmessages_client_coaching.proto
Normal file
|
|
@ -0,0 +1,376 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common_lobby.proto";
|
||||||
|
|
||||||
|
enum ECoachTeammateRating {
|
||||||
|
k_ECoachTeammateRating_None = 0;
|
||||||
|
k_ECoachTeammateRating_Positive = 1;
|
||||||
|
k_ECoachTeammateRating_Negative = 2;
|
||||||
|
k_ECoachTeammateRating_Abusive = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPrivateCoachingSessionState {
|
||||||
|
k_ePrivateCoachingSessionState_Invalid = 0;
|
||||||
|
k_ePrivateCoachingSessionState_SearchingForCoach = 1;
|
||||||
|
k_ePrivateCoachingSessionState_CoachAssigned = 2;
|
||||||
|
k_ePrivateCoachingSessionState_Finished = 3;
|
||||||
|
k_ePrivateCoachingSessionState_Expired = 4;
|
||||||
|
k_ePrivateCoachingSessionState_Abandoned = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPrivateCoachingSessionMemberFlag {
|
||||||
|
k_EPrivateCoachingSessionMemberFlag_Requester = 1;
|
||||||
|
k_EPrivateCoachingSessionMemberFlag_Coach = 2;
|
||||||
|
k_EPrivateCoachingSessionMemberFlag_LeftSession = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPlayerCoachMatchFlag {
|
||||||
|
k_EPlayerCoachMatchFlag_EligibleForRewards = 1;
|
||||||
|
k_EPlayerCoachMatchFlag_PrivateCoach = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPlayerCoachMatch {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional .EMatchOutcome match_outcome = 2 [default = k_EMatchOutcome_Unknown];
|
||||||
|
optional uint32 coached_team = 3;
|
||||||
|
optional fixed32 start_time = 4;
|
||||||
|
optional uint32 duration = 5;
|
||||||
|
repeated .ECoachTeammateRating teammate_ratings = 6;
|
||||||
|
optional uint32 coach_flags = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPrivateCoachingSessionMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 member_flags = 2;
|
||||||
|
optional .ECoachTeammateRating member_session_rating = 3 [default = k_ECoachTeammateRating_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPrivateCoachingSession {
|
||||||
|
optional uint64 private_coaching_session_id = 1;
|
||||||
|
optional fixed32 requested_timestamp = 2;
|
||||||
|
optional uint32 requested_language = 3;
|
||||||
|
optional .EPrivateCoachingSessionState coaching_session_state = 4 [default = k_ePrivateCoachingSessionState_Invalid];
|
||||||
|
repeated .CMsgPrivateCoachingSessionMember session_members = 5;
|
||||||
|
optional uint64 current_lobby_id = 6;
|
||||||
|
optional uint64 current_server_steam_id = 7;
|
||||||
|
optional fixed32 accepted_timestamp = 8;
|
||||||
|
optional fixed32 completed_timestamp = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPrivateCoachingSessionStatus {
|
||||||
|
optional uint32 requester_competitive_rank_tier = 1;
|
||||||
|
optional uint32 requester_games_played = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAvailablePrivateCoachingSession {
|
||||||
|
optional .CMsgPrivateCoachingSession coaching_session = 1;
|
||||||
|
optional .CMsgPrivateCoachingSessionStatus coaching_session_status = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAvailablePrivateCoachingSessionList {
|
||||||
|
repeated .CMsgAvailablePrivateCoachingSession available_coaching_sessions = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAvailablePrivateCoachingSessionSummary {
|
||||||
|
optional uint32 coaching_session_count = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPlayerCoachMatches {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPlayerCoachMatchesResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestPlayerCoachMatchesResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
repeated .CMsgPlayerCoachMatch coach_matches = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPlayerCoachMatch {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPlayerCoachMatchResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestPlayerCoachMatchResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgPlayerCoachMatch coach_match = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSubmitCoachTeammateRating {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional uint32 coach_account_id = 2;
|
||||||
|
optional .ECoachTeammateRating rating = 3 [default = k_ECoachTeammateRating_None];
|
||||||
|
optional string reason = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSubmitCoachTeammateRatingResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eInvalidInput = 4;
|
||||||
|
k_eAlreadySubmitted = 5;
|
||||||
|
k_eVotingFinished = 6;
|
||||||
|
k_ePlayerNotInMatch = 7;
|
||||||
|
k_eCoachNotInMatch = 8;
|
||||||
|
k_ePlayerNotOnCoachTeam = 9;
|
||||||
|
k_ePlayerInSamePartyAsCoach = 10;
|
||||||
|
k_eMatchNotEligible = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSubmitCoachTeammateRatingResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientCoachTeammateRatingsChanged {
|
||||||
|
optional .CMsgPlayerCoachMatch coach_match = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPrivateCoachingSession {
|
||||||
|
optional uint32 language = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestPrivateCoachingSessionResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eAlreadyInSession = 5;
|
||||||
|
k_eBehaviorScoreTooLow = 6;
|
||||||
|
k_eInvalidLobbyType = 7;
|
||||||
|
k_eLowPriorityPlayer = 8;
|
||||||
|
k_eLowPriorityLobby = 9;
|
||||||
|
k_eLowPriorityParty = 10;
|
||||||
|
k_eTextChatBan = 11;
|
||||||
|
k_eVoiceChatBan = 12;
|
||||||
|
k_eMatchBan = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestPrivateCoachingSessionResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgPrivateCoachingSession coaching_session = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcceptPrivateCoachingSession {
|
||||||
|
optional uint64 coaching_session_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcceptPrivateCoachingSessionResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eUnknownSession = 5;
|
||||||
|
k_eAlreadyHasCoach = 6;
|
||||||
|
k_eAlreadyHasSession = 7;
|
||||||
|
k_eInvalidUser = 8;
|
||||||
|
k_eAlreadyFinished = 9;
|
||||||
|
k_eInvalidLobbyType = 10;
|
||||||
|
k_eAlreadyInLobby = 11;
|
||||||
|
k_eLobbyIsLan = 12;
|
||||||
|
k_eLobbyIsLeague = 13;
|
||||||
|
k_eInvalidLobbyState = 14;
|
||||||
|
k_eRequesterIsNotPlayer = 15;
|
||||||
|
k_eTooManyCoaches = 16;
|
||||||
|
k_eCoachWasPlayer = 17;
|
||||||
|
k_eCoachBehaviorScoreTooLow = 18;
|
||||||
|
k_eCoachRankNotCalibrated = 19;
|
||||||
|
k_eCoachRankNotEligible = 20;
|
||||||
|
k_eCoachRankTooLow = 21;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCAcceptPrivateCoachingSessionResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgPrivateCoachingSession coaching_session = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCLeavePrivateCoachingSession {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCLeavePrivateCoachingSessionResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoSession = 5;
|
||||||
|
k_eAlreadyLeft = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCLeavePrivateCoachingSessionResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetCurrentPrivateCoachingSession {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetCurrentPrivateCoachingSessionResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCGetCurrentPrivateCoachingSessionResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgPrivateCoachingSession current_session = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientPrivateCoachingSessionUpdated {
|
||||||
|
optional .CMsgPrivateCoachingSession coaching_session = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSubmitPrivateCoachingSessionRating {
|
||||||
|
optional uint64 coaching_session_id = 1;
|
||||||
|
optional .ECoachTeammateRating session_rating = 2 [default = k_ECoachTeammateRating_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSubmitPrivateCoachingSessionRatingResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eUnknownSession = 5;
|
||||||
|
k_eNotMember = 6;
|
||||||
|
k_eAlreadySubmitted = 7;
|
||||||
|
k_eSessionActive = 8;
|
||||||
|
k_eSessionTooShort = 9;
|
||||||
|
k_eNoCoach = 10;
|
||||||
|
k_eInvalidRating = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSubmitPrivateCoachingSessionRatingResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetAvailablePrivateCoachingSessions {
|
||||||
|
optional uint32 language = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetAvailablePrivateCoachingSessionsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCGetAvailablePrivateCoachingSessionsResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgAvailablePrivateCoachingSessionList available_sessions_list = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetAvailablePrivateCoachingSessionsSummary {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgAvailablePrivateCoachingSessionSummary coaching_session_summary = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCJoinPrivateCoachingSessionLobby {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCJoinPrivateCoachingSessionLobbyResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoSession = 5;
|
||||||
|
k_eSessionFinished = 6;
|
||||||
|
k_eAlreadyLeft = 7;
|
||||||
|
k_eNotACoach = 8;
|
||||||
|
k_eNoLobby = 9;
|
||||||
|
k_eCoachInThisLobby = 10;
|
||||||
|
k_eCoachInALobby = 11;
|
||||||
|
k_eLobbyIsLan = 12;
|
||||||
|
k_eLobbyIsLeague = 13;
|
||||||
|
k_eInvalidLobbyType = 14;
|
||||||
|
k_eInvalidLobbyState = 15;
|
||||||
|
k_eRequesterIsNotPlayer = 16;
|
||||||
|
k_eTooManyCoaches = 17;
|
||||||
|
k_eCoachWasPlayer = 18;
|
||||||
|
k_eJoinFailed = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCJoinPrivateCoachingSessionLobbyResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCoachFriend {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCoachFriendResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eCoachNotSubscriber = 5;
|
||||||
|
k_eLobbyNotFound = 6;
|
||||||
|
k_eFriendsOnBothSides = 7;
|
||||||
|
k_eNotFriends = 8;
|
||||||
|
k_eCoachInThisLobby = 9;
|
||||||
|
k_eCoachInALobby = 10;
|
||||||
|
k_eLobbyIsLan = 11;
|
||||||
|
k_eInvalidLobbyType = 12;
|
||||||
|
k_eInvalidLobbyState = 13;
|
||||||
|
k_eFriendIsNotAPlayer = 14;
|
||||||
|
k_eTooManyCoaches = 15;
|
||||||
|
k_eCoachSwitchedTeams = 16;
|
||||||
|
k_eLobbyIsLeague = 17;
|
||||||
|
k_eCoachWasPlayer = 18;
|
||||||
|
k_eRequestRejected = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCoachFriendResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRespondToCoachFriendRequest {
|
||||||
|
optional uint32 coach_account_id = 1;
|
||||||
|
optional .ELobbyMemberCoachRequestState response = 2 [default = k_eLobbyMemberCoachRequestState_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRespondToCoachFriendRequestResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eLobbyNotFound = 5;
|
||||||
|
k_eInvalidLobbyState = 6;
|
||||||
|
k_eCoachNotInLobby = 7;
|
||||||
|
k_ePlayerInvalidTeam = 8;
|
||||||
|
k_eCoachInvalidTeam = 9;
|
||||||
|
k_eNoRequest = 10;
|
||||||
|
k_eInvalidResponse = 11;
|
||||||
|
k_eAlreadyResponded = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRespondToCoachFriendRequestResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
564
protos/dota_gcmessages_client_fantasy.proto
Normal file
564
protos/dota_gcmessages_client_fantasy.proto
Normal file
|
|
@ -0,0 +1,564 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum DOTA_2013PassportSelectionIndices {
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_0 = 0;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_1 = 1;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_2 = 2;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_3 = 3;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_4 = 4;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_5 = 5;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_6 = 6;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_7 = 7;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_8 = 8;
|
||||||
|
PP13_SEL_ALLSTAR_PLAYER_9 = 9;
|
||||||
|
PP13_SEL_QUALPRED_WEST_0 = 10;
|
||||||
|
PP13_SEL_QUALPRED_WEST_1 = 11;
|
||||||
|
PP13_SEL_QUALPRED_WEST_2 = 12;
|
||||||
|
PP13_SEL_QUALPRED_WEST_3 = 13;
|
||||||
|
PP13_SEL_QUALPRED_WEST_4 = 14;
|
||||||
|
PP13_SEL_QUALPRED_WEST_5 = 15;
|
||||||
|
PP13_SEL_QUALPRED_WEST_6 = 16;
|
||||||
|
PP13_SEL_QUALPRED_WEST_7 = 17;
|
||||||
|
PP13_SEL_QUALPRED_WEST_8 = 18;
|
||||||
|
PP13_SEL_QUALPRED_WEST_9 = 19;
|
||||||
|
PP13_SEL_QUALPRED_WEST_10 = 20;
|
||||||
|
PP13_SEL_QUALPRED_WEST_11 = 21;
|
||||||
|
PP13_SEL_QUALPRED_WEST_12 = 22;
|
||||||
|
PP13_SEL_QUALPRED_WEST_13 = 23;
|
||||||
|
PP13_SEL_QUALPRED_WEST_14 = 24;
|
||||||
|
PP13_SEL_QUALPRED_EAST_0 = 25;
|
||||||
|
PP13_SEL_QUALPRED_EAST_1 = 26;
|
||||||
|
PP13_SEL_QUALPRED_EAST_2 = 27;
|
||||||
|
PP13_SEL_QUALPRED_EAST_3 = 28;
|
||||||
|
PP13_SEL_QUALPRED_EAST_4 = 29;
|
||||||
|
PP13_SEL_QUALPRED_EAST_5 = 30;
|
||||||
|
PP13_SEL_QUALPRED_EAST_6 = 31;
|
||||||
|
PP13_SEL_QUALPRED_EAST_7 = 32;
|
||||||
|
PP13_SEL_QUALPRED_EAST_8 = 33;
|
||||||
|
PP13_SEL_QUALPRED_EAST_9 = 34;
|
||||||
|
PP13_SEL_QUALPRED_EAST_10 = 35;
|
||||||
|
PP13_SEL_QUALPRED_EAST_11 = 36;
|
||||||
|
PP13_SEL_QUALPRED_EAST_12 = 37;
|
||||||
|
PP13_SEL_QUALPRED_EAST_13 = 38;
|
||||||
|
PP13_SEL_QUALPRED_EAST_14 = 39;
|
||||||
|
PP13_SEL_TEAMCUP_TEAM = 40;
|
||||||
|
PP13_SEL_TEAMCUP_PLAYER = 41;
|
||||||
|
PP13_SEL_TEAMCUP_TEAM_LOCK = 42;
|
||||||
|
PP13_SEL_TEAMCUP_PLAYER_LOCK = 43;
|
||||||
|
PP13_SEL_EVENTPRED_0 = 44;
|
||||||
|
PP13_SEL_EVENTPRED_1 = 45;
|
||||||
|
PP13_SEL_EVENTPRED_2 = 46;
|
||||||
|
PP13_SEL_EVENTPRED_3 = 47;
|
||||||
|
PP13_SEL_EVENTPRED_4 = 48;
|
||||||
|
PP13_SEL_EVENTPRED_5 = 49;
|
||||||
|
PP13_SEL_EVENTPRED_6 = 50;
|
||||||
|
PP13_SEL_EVENTPRED_7 = 51;
|
||||||
|
PP13_SEL_EVENTPRED_8 = 52;
|
||||||
|
PP13_SEL_EVENTPRED_9 = 53;
|
||||||
|
PP13_SEL_EVENTPRED_10 = 54;
|
||||||
|
PP13_SEL_EVENTPRED_11 = 55;
|
||||||
|
PP13_SEL_EVENTPRED_12 = 56;
|
||||||
|
PP13_SEL_EVENTPRED_13 = 57;
|
||||||
|
PP13_SEL_EVENTPRED_14 = 58;
|
||||||
|
PP13_SEL_EVENTPRED_15 = 59;
|
||||||
|
PP13_SEL_EVENTPRED_16 = 60;
|
||||||
|
PP13_SEL_EVENTPRED_17 = 61;
|
||||||
|
PP13_SEL_EVENTPRED_18 = 62;
|
||||||
|
PP13_SEL_EVENTPRED_19 = 63;
|
||||||
|
PP13_SEL_EVENTPRED_20 = 64;
|
||||||
|
PP13_SEL_EVENTPRED_21 = 65;
|
||||||
|
PP13_SEL_EVENTPRED_22 = 66;
|
||||||
|
PP13_SEL_EVENTPRED_23 = 67;
|
||||||
|
PP13_SEL_EVENTPRED_24 = 68;
|
||||||
|
PP13_SEL_EVENTPRED_25 = 69;
|
||||||
|
PP13_SEL_EVENTPRED_26 = 70;
|
||||||
|
PP13_SEL_EVENTPRED_27 = 71;
|
||||||
|
PP13_SEL_EVENTPRED_28 = 72;
|
||||||
|
PP13_SEL_EVENTPRED_29 = 73;
|
||||||
|
PP13_SEL_EVENTPRED_30 = 74;
|
||||||
|
PP13_SEL_EVENTPRED_31 = 75;
|
||||||
|
PP13_SEL_EVENTPRED_32 = 76;
|
||||||
|
PP13_SEL_EVENTPRED_33 = 77;
|
||||||
|
PP13_SEL_EVENTPRED_34 = 78;
|
||||||
|
PP13_SEL_EVENTPRED_35 = 79;
|
||||||
|
PP13_SEL_EVENTPRED_36 = 80;
|
||||||
|
PP13_SEL_EVENTPRED_37 = 81;
|
||||||
|
PP13_SEL_EVENTPRED_38 = 82;
|
||||||
|
PP13_SEL_EVENTPRED_39 = 83;
|
||||||
|
PP13_SEL_EVENTPRED_40 = 84;
|
||||||
|
PP13_SEL_EVENTPRED_41 = 85;
|
||||||
|
PP13_SEL_EVENTPRED_42 = 86;
|
||||||
|
PP13_SEL_EVENTPRED_43 = 87;
|
||||||
|
PP13_SEL_SOLO_0 = 88;
|
||||||
|
PP13_SEL_SOLO_1 = 89;
|
||||||
|
PP13_SEL_SOLO_2 = 90;
|
||||||
|
PP13_SEL_SOLO_3 = 91;
|
||||||
|
PP13_SEL_SOLO_4 = 92;
|
||||||
|
PP13_SEL_SOLO_5 = 93;
|
||||||
|
PP13_SEL_SOLO_6 = 94;
|
||||||
|
PP13_SEL_SOLO_7 = 95;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPlayerInfo {
|
||||||
|
message Results {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 placement = 2;
|
||||||
|
optional uint32 earnings = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message AuditEntry {
|
||||||
|
optional uint32 start_timestamp = 1;
|
||||||
|
optional uint32 end_timestamp = 2;
|
||||||
|
optional uint32 team_id = 3;
|
||||||
|
optional string team_name = 4;
|
||||||
|
optional string team_tag = 5;
|
||||||
|
optional string team_url_logo = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional string country_code = 3;
|
||||||
|
optional .Fantasy_Roles fantasy_role = 4 [default = FANTASY_ROLE_UNDEFINED];
|
||||||
|
optional uint32 team_id = 5;
|
||||||
|
optional string team_name = 6;
|
||||||
|
optional string team_tag = 7;
|
||||||
|
optional string sponsor = 8;
|
||||||
|
optional bool is_locked = 9;
|
||||||
|
optional bool is_pro = 10;
|
||||||
|
optional string real_name = 11;
|
||||||
|
optional uint32 total_earnings = 13;
|
||||||
|
repeated .CMsgDOTAPlayerInfo.Results results = 14;
|
||||||
|
optional string team_url_logo = 15;
|
||||||
|
repeated .CMsgDOTAPlayerInfo.AuditEntry audit_entries = 16;
|
||||||
|
optional string team_abbreviation = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPlayerInfoList {
|
||||||
|
repeated .CMsgDOTAPlayerInfo player_infos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamRoster {
|
||||||
|
optional uint32 timestamp = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
repeated uint32 member_account_ids = 3;
|
||||||
|
optional uint32 coach_account_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCProfileInfo {
|
||||||
|
message PredictionInfo {
|
||||||
|
optional uint32 percent = 1;
|
||||||
|
optional int32 shard_winnings = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FantasyInfo {
|
||||||
|
optional uint32 top_90_finishes = 1;
|
||||||
|
optional uint32 top_75_finishes = 2;
|
||||||
|
optional uint32 top_50_finishes = 3;
|
||||||
|
optional uint32 shard_winnings = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTAPlayerInfo player_info = 1;
|
||||||
|
optional .CMsgDOTADPCProfileInfo.PredictionInfo prediction_info = 2;
|
||||||
|
optional .CMsgDOTADPCProfileInfo.FantasyInfo fantasy_info = 3;
|
||||||
|
repeated uint32 disabled_notifications = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeaderboards {
|
||||||
|
message RegionLeaderboard {
|
||||||
|
optional uint32 division = 1;
|
||||||
|
repeated uint32 account_ids = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTALeaderboards.RegionLeaderboard leaderboards = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPassportVoteTeamGuess {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 winner_id = 2;
|
||||||
|
optional uint32 runnerup_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPassportVoteGenericSelection {
|
||||||
|
optional .DOTA_2013PassportSelectionIndices selection_index = 1 [default = PP13_SEL_ALLSTAR_PLAYER_0];
|
||||||
|
optional uint32 selection = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPassportStampedPlayer {
|
||||||
|
optional uint64 steam_id = 1;
|
||||||
|
optional uint32 stamp_level = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPassportPlayerCardChallenge {
|
||||||
|
optional uint32 challenge_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPassportVote {
|
||||||
|
repeated .CMsgDOTAPassportVoteTeamGuess team_votes = 1;
|
||||||
|
repeated .CMsgDOTAPassportVoteGenericSelection generic_selections = 2;
|
||||||
|
repeated .CMsgDOTAPassportStampedPlayer stamped_players = 3;
|
||||||
|
repeated .CMsgDOTAPassportPlayerCardChallenge player_card_challenges = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetPlayerCardRosterRequest {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 fantasy_period = 3 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGetPlayerCardRosterResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
ERROR_UNSPECIFIED = 1;
|
||||||
|
ERROR_INVALID_LEAGUE_ID = 2;
|
||||||
|
ERROR_INVALID_TIMESTAMP = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCGetPlayerCardRosterResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
repeated uint64 player_card_item_id = 2;
|
||||||
|
optional float score = 3;
|
||||||
|
optional bool finalized = 4;
|
||||||
|
optional float percentile = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBatchGetPlayerCardRosterRequest {
|
||||||
|
message LeagueTimestamp {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 fantasy_period = 3 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgClientToGCBatchGetPlayerCardRosterRequest.LeagueTimestamp league_timestamps = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCBatchGetPlayerCardRosterResponse {
|
||||||
|
message RosterResponse {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 deprecated_timestamp = 2;
|
||||||
|
optional .CMsgClientToGCBatchGetPlayerCardRosterResponse.Result result = 3 [default = SUCCESS];
|
||||||
|
repeated uint64 player_card_item_id = 4;
|
||||||
|
optional float score = 5;
|
||||||
|
optional bool finalized = 6;
|
||||||
|
optional float percentile = 7;
|
||||||
|
optional uint32 fantasy_period = 8 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
ERROR_UNSPECIFIED = 1;
|
||||||
|
ERROR_INVALID_LEAGUE_ID = 2;
|
||||||
|
ERROR_INVALID_TIMESTAMP = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgClientToGCBatchGetPlayerCardRosterResponse.RosterResponse responses = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetPlayerCardRosterRequest {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 deprecated_timestamp = 2;
|
||||||
|
optional uint32 slot = 3;
|
||||||
|
optional uint64 player_card_item_id = 4;
|
||||||
|
optional uint32 event_id = 5;
|
||||||
|
optional uint32 fantasy_period = 6 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetPlayerCardRosterResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
ERROR_UNSPECIFIED = 1;
|
||||||
|
ERROR_INVALID_LEAGUE_ID = 2;
|
||||||
|
ERROR_INVALID_TIMESTAMP = 3;
|
||||||
|
ERROR_PLAYER_CARD_NOT_OWNED = 4;
|
||||||
|
ERROR_INVALID_SLOT = 5;
|
||||||
|
ERROR_FAILED_CARD_INFO = 6;
|
||||||
|
ERROR_ACCOUNT_DUPLICATE = 7;
|
||||||
|
ERROR_LOCKED_TIMESTAMP = 8;
|
||||||
|
ERROR_INVALID_LEAGUE_FOR_PERIOD = 9;
|
||||||
|
ERROR_INVALID_EVENT = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSetPlayerCardRosterResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAFantasyDPCLeagueStatus {
|
||||||
|
message LeagueInfo {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional string league_name = 2;
|
||||||
|
optional uint32 start_timestamp = 3;
|
||||||
|
optional uint32 end_timestamp = 4;
|
||||||
|
repeated uint32 day_timestamps = 5;
|
||||||
|
optional .CMsgDOTAFantasyDPCLeagueStatus.ERosterStatus status = 8 [default = UNSET];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ERosterStatus {
|
||||||
|
UNSET = 0;
|
||||||
|
PARTIAL = 1;
|
||||||
|
FULL = 2;
|
||||||
|
CONCLUDED = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTAFantasyDPCLeagueStatus.LeagueInfo league_infos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCSearchResults {
|
||||||
|
message Player {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional string real_name = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Team {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional string url = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message League {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ESearchResultsDesired {
|
||||||
|
k_ESearchResultsDesired_Players = 1;
|
||||||
|
k_ESearchResultsDesired_Teams = 2;
|
||||||
|
k_ESearchResultsDesired_Leagues = 4;
|
||||||
|
k_ESearchResultsDesired_All = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCSearchResults.Player players = 1;
|
||||||
|
repeated .CMsgDOTADPCSearchResults.Team teams = 2;
|
||||||
|
repeated .CMsgDOTADPCSearchResults.League leagues = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCTeamFavoriteRankings {
|
||||||
|
message Team {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional uint32 favorites = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCTeamFavoriteRankings.Team teams = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDotaFantasyCraftingTabletPeriodData {
|
||||||
|
message Gem {
|
||||||
|
optional .Fantasy_Gem_Type type = 1 [default = FANTASY_GEM_TYPE_RUBY];
|
||||||
|
optional uint32 slot = 2;
|
||||||
|
optional uint32 shape = 3;
|
||||||
|
optional uint32 quality = 4;
|
||||||
|
optional .Fantasy_Scoring stat = 5 [default = FANTASY_SCORING_KILLS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message Tablet {
|
||||||
|
optional uint32 tablet_id = 1;
|
||||||
|
optional uint32 tablet_level = 2;
|
||||||
|
optional .Fantasy_Roles fantasy_role = 3 [default = FANTASY_ROLE_UNDEFINED];
|
||||||
|
optional uint32 account_id = 4;
|
||||||
|
optional uint32 prefix = 5;
|
||||||
|
optional uint32 suffix = 6;
|
||||||
|
repeated .CMsgDotaFantasyCraftingTabletPeriodData.Gem gems = 7;
|
||||||
|
optional float score = 8;
|
||||||
|
optional uint32 best_series = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 fantasy_period = 1 [default = 4294967295];
|
||||||
|
repeated .CMsgDotaFantasyCraftingTabletPeriodData.Tablet tablets = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDotaFantasyCraftingTabletData {
|
||||||
|
message TabletPeriodDataEntry {
|
||||||
|
optional uint32 key = 1;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletPeriodData value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDotaFantasyCraftingTabletData.TabletPeriodDataEntry tablet_period_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDotaFantasyCraftingUserData {
|
||||||
|
message PeriodScore {
|
||||||
|
optional float total_score = 1;
|
||||||
|
optional float percentile = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PeriodRollTokensEntry {
|
||||||
|
optional uint32 key = 1;
|
||||||
|
optional uint32 value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PeriodScoresEntry {
|
||||||
|
optional uint32 key = 1;
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData.PeriodScore value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated uint32 available_rolls = 1;
|
||||||
|
repeated .CMsgDotaFantasyCraftingUserData.PeriodRollTokensEntry period_roll_tokens = 2;
|
||||||
|
repeated .CMsgDotaFantasyCraftingUserData.PeriodScoresEntry period_scores = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDotaFantasyCraftingDataCache {
|
||||||
|
message CacheEntry {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 fantasy_league = 2;
|
||||||
|
optional .CMsgGCToClientFantasyCraftingDataUpdated cache_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDotaFantasyCraftingDataCache.CacheEntry cache_entries = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingGetData {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
optional uint32 account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingGetDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingGetDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 2;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingPerformOperation {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
optional uint32 tablet_id = 2;
|
||||||
|
optional uint32 operation_id = 3;
|
||||||
|
optional uint64 extra_data = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingPerformOperationResponse {
|
||||||
|
message TitleChoice {
|
||||||
|
optional uint32 prefix_choice = 1;
|
||||||
|
optional uint32 suffix_choice = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
k_eNoTokens = 6;
|
||||||
|
k_eMoreInfo = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingPerformOperationResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 operation_id = 2;
|
||||||
|
optional uint32 tablet_id = 7;
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 8;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 9;
|
||||||
|
repeated uint32 player_choices = 3;
|
||||||
|
repeated uint32 prefix_choices = 4;
|
||||||
|
repeated uint32 suffix_choices = 5;
|
||||||
|
repeated .CMsgClientToGCFantasyCraftingPerformOperationResponse.TitleChoice title_choices = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientFantasyCraftingDataUpdated {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 2;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingDevModifyTablet {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
optional bool reset_tablet = 2;
|
||||||
|
optional uint32 modify_tokens = 3;
|
||||||
|
optional bool upgrade_tablets = 6;
|
||||||
|
optional uint32 fantasy_period = 5 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingDevModifyTabletResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingDevModifyTabletResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 2;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingSelectPlayer {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
optional uint32 account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingSelectPlayerResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
k_eInvalidPlayer = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingSelectPlayerResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingGenerateTablets {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
repeated uint32 account_ids = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingGenerateTabletsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
k_eInvalidPlayer = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingGenerateTabletsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 2;
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGcFantasyCraftingUpgradeTablets {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGcFantasyCraftingUpgradeTabletsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGcFantasyCraftingUpgradeTabletsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingTabletData tablet_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingRerollOptions {
|
||||||
|
optional uint32 fantasy_league = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFantasyCraftingRerollOptionsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidLeague = 5;
|
||||||
|
k_eInsufficientTokens = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFantasyCraftingRerollOptionsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDotaFantasyCraftingUserData user_data = 2;
|
||||||
|
}
|
||||||
651
protos/dota_gcmessages_client_guild.proto
Normal file
651
protos/dota_gcmessages_client_guild.proto
Normal file
|
|
@ -0,0 +1,651 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum EGuildAuditAction {
|
||||||
|
k_EGuildAuditAction_Invalid = 0;
|
||||||
|
k_EGuildAuditAction_GuildCreated = 1;
|
||||||
|
k_EGuildAuditAction_GuildLanguageChanged = 2;
|
||||||
|
k_EGuildAuditAction_GuildFlagsChanged = 3;
|
||||||
|
k_EGuildAuditAction_GuildMemberJoined = 5;
|
||||||
|
k_EGuildAuditAction_GuildMemberLeft = 6;
|
||||||
|
k_EGuildAuditAction_GuildMemberKicked = 7;
|
||||||
|
k_EGuildAuditAction_GuildMemberRoleChanged = 8;
|
||||||
|
k_EGuildAuditAction_GuildLogoChanged = 9;
|
||||||
|
k_EGuildAuditAction_GuildRegionChanged = 10;
|
||||||
|
k_EGuildAuditAction_GuildDescriptionChanged = 11;
|
||||||
|
k_EGuildAuditAction_GuildPrimaryColorChanged = 12;
|
||||||
|
k_EGuildAuditAction_GuildSecondaryColorChanged = 13;
|
||||||
|
k_EGuildAuditAction_GuildPatternChanged = 14;
|
||||||
|
k_EGuildAuditAction_AdminClearedLogo = 15;
|
||||||
|
k_EGuildAuditAction_GuildRequiredRankChanged = 16;
|
||||||
|
k_EGuildAuditAction_GuildMotDChanged = 18;
|
||||||
|
k_EGuildAuditAction_AdminResetName = 19;
|
||||||
|
k_EGuildAuditAction_AdminResetTag = 20;
|
||||||
|
k_EGuildAuditAction_AdminLock = 21;
|
||||||
|
k_EGuildAuditAction_GuildNameChanged = 22;
|
||||||
|
k_EGuildAuditAction_GuildTagChanged = 23;
|
||||||
|
k_EGuildAuditAction_AdminPermitted = 24;
|
||||||
|
k_EGuildAuditAction_AdminBlocked = 25;
|
||||||
|
k_EGuildAuditAction_AdminBannedUser = 26;
|
||||||
|
k_EGuildAuditAction_AdminExonerated = 27;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EGuildChatType {
|
||||||
|
k_EGuildChatType_Unspecified = 0;
|
||||||
|
k_EGuildChatType_SteamChatGroup = 1;
|
||||||
|
k_EGuildChatType_GC = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildInfo {
|
||||||
|
optional string guild_name = 1;
|
||||||
|
optional string guild_tag = 2;
|
||||||
|
optional uint32 created_timestamp = 3;
|
||||||
|
optional uint32 guild_language = 4;
|
||||||
|
optional uint32 guild_flags = 5;
|
||||||
|
optional uint64 guild_logo = 7;
|
||||||
|
optional uint32 guild_region = 8;
|
||||||
|
optional uint64 guild_chat_group_id = 9;
|
||||||
|
optional string guild_description = 10;
|
||||||
|
optional uint64 default_chat_channel_id = 11;
|
||||||
|
optional uint32 guild_primary_color = 12;
|
||||||
|
optional uint32 guild_secondary_color = 13;
|
||||||
|
optional uint32 guild_pattern = 14;
|
||||||
|
optional uint32 guild_refresh_time_offset = 15;
|
||||||
|
optional uint32 guild_required_rank_tier = 16;
|
||||||
|
optional uint32 guild_motd_timestamp = 17;
|
||||||
|
optional string guild_motd = 18;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildSummary {
|
||||||
|
message EventPoints {
|
||||||
|
optional uint32 event_id = 1;
|
||||||
|
optional uint32 guild_points = 2;
|
||||||
|
optional uint32 guild_rank = 3;
|
||||||
|
optional uint32 guild_weekly_rank = 4;
|
||||||
|
optional uint32 guild_weekly_percentile = 5;
|
||||||
|
optional uint32 guild_current_percentile = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgGuildInfo guild_info = 1;
|
||||||
|
optional uint32 member_count = 2;
|
||||||
|
repeated .CMsgGuildSummary.EventPoints event_points = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildRole {
|
||||||
|
optional uint32 role_id = 1;
|
||||||
|
optional string role_name = 2;
|
||||||
|
optional uint32 role_flags = 3;
|
||||||
|
optional uint32 role_order = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildMember {
|
||||||
|
optional uint32 member_account_id = 1;
|
||||||
|
optional uint32 member_role_id = 2;
|
||||||
|
optional uint32 member_joined_timestamp = 3;
|
||||||
|
optional uint32 member_last_active_timestamp = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildInvite {
|
||||||
|
optional uint32 requester_account_id = 1;
|
||||||
|
optional uint32 target_account_id = 2;
|
||||||
|
optional uint32 timestamp_sent = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildData {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .CMsgGuildInfo guild_info = 2;
|
||||||
|
repeated .CMsgGuildRole guild_roles = 3;
|
||||||
|
repeated .CMsgGuildMember guild_members = 4;
|
||||||
|
repeated .CMsgGuildInvite guild_invites = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAccountGuildInvite {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 requester_account_id = 2;
|
||||||
|
optional uint32 timestamp_sent = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAccountGuildMemberships {
|
||||||
|
repeated uint32 guild_ids = 1;
|
||||||
|
repeated .CMsgAccountGuildInvite guild_invites = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildPersonaInfo {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional string guild_tag = 2;
|
||||||
|
optional uint32 guild_flags = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAccountGuildsPersonaInfo {
|
||||||
|
repeated .CMsgGuildPersonaInfo guild_persona_infos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildFeedEvent {
|
||||||
|
optional uint64 feed_event_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 event_type = 3;
|
||||||
|
optional uint32 param_uint_1 = 4;
|
||||||
|
optional uint32 param_uint_2 = 5;
|
||||||
|
optional uint32 param_uint_3 = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCreateGuild {
|
||||||
|
optional .CMsgGuildInfo guild_info = 1;
|
||||||
|
optional .EGuildChatType guild_chat_type = 2 [default = k_EGuildChatType_Unspecified];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCreateGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidName = 5;
|
||||||
|
k_eNameAlreadyUsed = 6;
|
||||||
|
k_eInvalidTag = 7;
|
||||||
|
k_eTagAlreadyUsed = 8;
|
||||||
|
k_eInvalidDescription = 9;
|
||||||
|
k_eInvalidRegion = 10;
|
||||||
|
k_eInvalidLogo = 11;
|
||||||
|
k_eDoesNotOwnEvent = 12;
|
||||||
|
k_eGuildLimit = 13;
|
||||||
|
k_eInvalidMotD = 14;
|
||||||
|
k_eBlocked = 15;
|
||||||
|
k_eFreeTrialNotAllowed = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCreateGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 guild_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildInfo {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .CMsgGuildInfo guild_info = 2;
|
||||||
|
optional .EGuildChatType guild_chat_type = 3 [default = k_EGuildChatType_Unspecified];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildInfoResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNotMember = 6;
|
||||||
|
k_eNoPermission = 7;
|
||||||
|
k_eMotDTooLong = 8;
|
||||||
|
k_eNameChangeNoPermissions = 9;
|
||||||
|
k_eTagChangeNoPermissions = 10;
|
||||||
|
k_eNameInvalid = 11;
|
||||||
|
k_eTagInvalid = 12;
|
||||||
|
k_eDescriptionInvalid = 13;
|
||||||
|
k_eBlocked = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSetGuildInfoResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildData {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNotMember = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestGuildDataResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgGuildData guild_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientGuildDataUpdated {
|
||||||
|
optional .CMsgGuildData guild_data = 1;
|
||||||
|
optional uint32 update_flags = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientGuildMembersDataUpdated {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
repeated .CMsgGuildMember members_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildMembership {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildMembershipResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestGuildMembershipResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgAccountGuildMemberships guild_memberships = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientGuildMembershipUpdated {
|
||||||
|
optional .CMsgAccountGuildMemberships guild_memberships = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCJoinGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCJoinGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eGuildFull = 6;
|
||||||
|
k_eAlreadyMember = 7;
|
||||||
|
k_eGuildLimit = 8;
|
||||||
|
k_eGuildRequiresInvite = 9;
|
||||||
|
k_eGuildRankTooLow = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCJoinGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCLeaveGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCLeaveGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNotMember = 6;
|
||||||
|
k_eLastAdmin = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCLeaveGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCKickGuildMember {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 target_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCKickGuildMemberResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eRequesterNotMember = 6;
|
||||||
|
k_eTargetNotMember = 7;
|
||||||
|
k_eNoPermission = 8;
|
||||||
|
k_eCantKickSelf = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCKickGuildMemberResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildMemberRole {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 target_account_id = 2;
|
||||||
|
optional uint32 target_role_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildMemberRoleResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eRequesterNotMember = 6;
|
||||||
|
k_eTargetNotMember = 7;
|
||||||
|
k_eNoPermission = 8;
|
||||||
|
k_eInvalidRole = 9;
|
||||||
|
k_eAdminViolation = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSetGuildMemberRoleResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCInviteToGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 target_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCInviteToGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eGuildFull = 6;
|
||||||
|
k_eRequesterNotMember = 7;
|
||||||
|
k_eAlreadyAMember = 8;
|
||||||
|
k_eAlreadyInvited = 9;
|
||||||
|
k_eNoInvitePermissions = 10;
|
||||||
|
k_eTooManyInvites = 11;
|
||||||
|
k_eInvalidUser = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCInviteToGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCDeclineInviteToGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCDeclineInviteToGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNoInviteFound = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCDeclineInviteToGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcceptInviteToGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAcceptInviteToGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNoInviteFound = 6;
|
||||||
|
k_eGuildFull = 7;
|
||||||
|
k_eGuildLimit = 8;
|
||||||
|
k_eInvalidInviter = 9;
|
||||||
|
k_eAlreadyInGuild = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCAcceptInviteToGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCancelInviteToGuild {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 target_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCCancelInviteToGuildResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNoInviteFound = 6;
|
||||||
|
k_eNoPermissions = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCCancelInviteToGuildResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAddGuildRole {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional string role_name = 2;
|
||||||
|
optional uint32 role_flags = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAddGuildRoleResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNameAlreadyUsed = 6;
|
||||||
|
k_eNoPermissions = 7;
|
||||||
|
k_eInvalidFlags = 8;
|
||||||
|
k_eInvalidName = 9;
|
||||||
|
k_eAdminViolation = 10;
|
||||||
|
k_eTooManyRoles = 11;
|
||||||
|
k_eBlocked = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCAddGuildRoleResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 role_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCModifyGuildRole {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 role_id = 2;
|
||||||
|
optional string role_name = 3;
|
||||||
|
optional uint32 role_flags = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCModifyGuildRoleResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eInvalidRole = 6;
|
||||||
|
k_eNameAlreadyUsed = 7;
|
||||||
|
k_eInvalidFlags = 8;
|
||||||
|
k_eInvalidName = 9;
|
||||||
|
k_eNoPermissions = 10;
|
||||||
|
k_eAdminViolation = 11;
|
||||||
|
k_eBlocked = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCModifyGuildRoleResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRemoveGuildRole {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 role_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRemoveGuildRoleResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eInvalidRole = 6;
|
||||||
|
k_eRoleNotEmpty = 7;
|
||||||
|
k_eNoPermissions = 8;
|
||||||
|
k_eAdminViolation = 9;
|
||||||
|
k_eCantRemoveDefaultRole = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRemoveGuildRoleResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildRoleOrder {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
repeated uint32 requested_role_ids = 2;
|
||||||
|
repeated uint32 previous_role_ids = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSetGuildRoleOrderResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eInvalidRole = 6;
|
||||||
|
k_eInvalidOrder = 7;
|
||||||
|
k_eNoPermissions = 8;
|
||||||
|
k_eAdminViolation = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSetGuildRoleOrderResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
repeated uint32 confirmed_role_ids = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCGuildFeedRequest {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint64 last_seen_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildFeedResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNoPermissions = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestGuildFeedResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 guild_id = 2;
|
||||||
|
repeated .CMsgGuildFeedEvent feed_events = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientGuildFeedUpdated {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAddPlayerToGuildChat {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCAddPlayerToGuildChatResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidGuild = 5;
|
||||||
|
k_eNotMember = 6;
|
||||||
|
k_eSteamChatNotEnabled = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCAddPlayerToGuildChatResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgFindGuildByTagResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidTag = 5;
|
||||||
|
k_eGuildNotFound = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgFindGuildByTagResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 guild_id = 2;
|
||||||
|
optional .CMsgGuildSummary guild_summary = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSearchForOpenGuildsResponse {
|
||||||
|
message SearchResult {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .CMsgGuildSummary guild_summary = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSearchForOpenGuildsResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
repeated .CMsgSearchForOpenGuildsResponse.SearchResult search_results = 2;
|
||||||
|
optional bool use_whitelist = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCReportGuildContent {
|
||||||
|
enum EContentFlags {
|
||||||
|
k_eNone = 0;
|
||||||
|
k_eInappropriateName = 1;
|
||||||
|
k_eInappropriateTag = 2;
|
||||||
|
k_eInappropriateLogo = 4;
|
||||||
|
k_eValidFlags = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 guild_content_flags = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCReportGuildContentResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eGuildNotFound = 5;
|
||||||
|
k_eFlagsInvalid = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCReportGuildContentResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildPersonaInfo {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildPersonaInfoResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidAccount = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestAccountGuildPersonaInfoResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgAccountGuildsPersonaInfo persona_info = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildPersonaInfoBatch {
|
||||||
|
repeated uint32 account_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildPersonaInfoBatchResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidRequest = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestAccountGuildPersonaInfoBatchResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
repeated .CMsgAccountGuildsPersonaInfo persona_infos = 2;
|
||||||
|
}
|
||||||
231
protos/dota_gcmessages_client_guild_events.proto
Normal file
231
protos/dota_gcmessages_client_guild_events.proto
Normal file
|
|
@ -0,0 +1,231 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum EGuildEventAuditAction {
|
||||||
|
k_EGuildEventAuditAction_Invalid = 0;
|
||||||
|
k_EGuildEventAuditAction_DevGrant = 1;
|
||||||
|
k_EGuildEventAuditAction_CompleteContract = 2;
|
||||||
|
k_EGuildEventAuditAction_CompleteChallenge = 3;
|
||||||
|
k_EGuildEventAuditAction_CompleteMatch_Winner = 4;
|
||||||
|
k_EGuildEventAuditAction_ChallengeProgress = 5;
|
||||||
|
k_EGuildEventAuditAction_CompleteMatch_Loser = 6;
|
||||||
|
k_EGuildEventAuditAction_WeeklyLeaderboard = 7;
|
||||||
|
k_EGuildEventAuditAction_ManualGrant = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildContract {
|
||||||
|
optional uint64 contract_id = 1;
|
||||||
|
optional uint32 challenge_instance_id = 2;
|
||||||
|
optional uint32 challenge_parameter = 3;
|
||||||
|
optional uint32 challenge_timestamp = 4;
|
||||||
|
optional uint32 assigned_account_id = 5;
|
||||||
|
optional uint32 contract_flags = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildContractSlot {
|
||||||
|
optional .CMsgGuildContract contract = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAccountGuildEventData {
|
||||||
|
optional uint32 guild_points = 1;
|
||||||
|
optional uint32 contracts_refreshed_timestamp = 2;
|
||||||
|
repeated .CMsgGuildContractSlot contract_slots = 3;
|
||||||
|
optional uint32 completed_challenge_count = 4;
|
||||||
|
optional uint32 challenges_refresh_timestamp = 5;
|
||||||
|
optional uint32 guild_weekly_percentile = 6;
|
||||||
|
optional uint32 guild_weekly_last_timestamp = 7;
|
||||||
|
optional uint32 last_weekly_claim_time = 8;
|
||||||
|
optional uint32 guild_current_percentile = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildActiveContracts {
|
||||||
|
optional uint32 contracts_refreshed_timestamp = 1;
|
||||||
|
repeated .CMsgGuildContract contracts = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildChallenge {
|
||||||
|
optional uint32 challenge_instance_id = 1;
|
||||||
|
optional uint32 challenge_parameter = 2;
|
||||||
|
optional uint32 challenge_timestamp = 3;
|
||||||
|
optional uint32 challenge_progress = 4;
|
||||||
|
optional uint32 challenge_flags = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildEventMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 guild_points_earned = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildEventData {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestAccountGuildEventDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestAccountGuildEventDataResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional .CMsgAccountGuildEventData event_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientAccountGuildEventDataUpdated {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 update_flags = 3;
|
||||||
|
optional .CMsgAccountGuildEventData guild_event_data = 4;
|
||||||
|
optional bool contracts_updated = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestActiveGuildContracts {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestActiveGuildContractsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestActiveGuildContractsResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgGuildActiveContracts active_contracts = 2;
|
||||||
|
optional .CMsgGuildChallenge active_challenges = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientActiveGuildContractsUpdated {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSelectGuildContract {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional uint64 contract_id = 3;
|
||||||
|
optional uint32 contract_slot = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCSelectGuildContractResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
k_eInvalidContractID = 9;
|
||||||
|
k_eAlreadyAssigned = 10;
|
||||||
|
k_eInvalidContractSlot = 11;
|
||||||
|
k_eContractSlotLockedGuild = 12;
|
||||||
|
k_eContractSlotCooldown = 13;
|
||||||
|
k_eContractDuplicate = 14;
|
||||||
|
k_eContractSlotTimeError = 15;
|
||||||
|
k_eContractSlotLockedDotaPlus = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCSelectGuildContractResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestActiveGuildChallenge {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestActiveGuildChallengeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestActiveGuildChallengeResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgGuildChallenge active_challenge = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientActiveGuildChallengeUpdated {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional .CMsgGuildChallenge active_challenge = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildEventMembers {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestGuildEventMembersResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCRequestGuildEventMembersResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
repeated .CMsgGuildEventMember members = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGuildLeaderboardCombinedResponse {
|
||||||
|
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 region = 2;
|
||||||
|
optional uint32 last_updated = 3;
|
||||||
|
repeated uint32 guild_id = 4 [packed = true];
|
||||||
|
repeated uint32 rank = 5 [packed = true];
|
||||||
|
repeated uint32 current_percentile = 6 [packed = true];
|
||||||
|
repeated uint32 weekly_percentile = 7 [packed = true];
|
||||||
|
repeated uint32 points = 8 [packed = true];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCClaimLeaderboardRewards {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCClaimLeaderboardRewardsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidEvent = 5;
|
||||||
|
k_eInvalidGuild = 6;
|
||||||
|
k_eNotMember = 7;
|
||||||
|
k_eInvalidGuildEvent = 8;
|
||||||
|
k_eDoesNotQualify = 9;
|
||||||
|
k_eAlreadyClaimed = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCClaimLeaderboardRewardsResponse.EResponse result = 1 [default = k_eInternalError];
|
||||||
|
optional uint32 event_points = 2;
|
||||||
|
}
|
||||||
471
protos/dota_gcmessages_client_match_management.proto
Normal file
471
protos/dota_gcmessages_client_match_management.proto
Normal file
|
|
@ -0,0 +1,471 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_client_enums.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_common_lobby.proto";
|
||||||
|
|
||||||
|
enum EStartFindingMatchResult {
|
||||||
|
k_EStartFindingMatchResult_Invalid = 0;
|
||||||
|
k_EStartFindingMatchResult_OK = 1;
|
||||||
|
k_EStartFindingMatchResult_AlreadySearching = 2;
|
||||||
|
k_EStartFindingMatchResult_FailGeneric = 100;
|
||||||
|
k_EStartFindingMatchResult_FailedIgnore = 101;
|
||||||
|
k_EStartFindingMatchResult_MatchmakingDisabled = 102;
|
||||||
|
k_EStartFindingMatchResult_RegionOffline = 103;
|
||||||
|
k_EStartFindingMatchResult_MatchmakingCooldown = 104;
|
||||||
|
k_EStartFindingMatchResult_ClientOutOfDate = 105;
|
||||||
|
k_EStartFindingMatchResult_CompetitiveNoLowPriority = 106;
|
||||||
|
k_EStartFindingMatchResult_CompetitiveNotUnlocked = 107;
|
||||||
|
k_EStartFindingMatchResult_GameModeNotUnlocked = 108;
|
||||||
|
k_EStartFindingMatchResult_CompetitiveNotEnoughPlayTime = 109;
|
||||||
|
k_EStartFindingMatchResult_MissingInitialSkill = 110;
|
||||||
|
k_EStartFindingMatchResult_CompetitiveRankSpreadTooLarge = 111;
|
||||||
|
k_EStartFindingMatchResult_MemberAlreadyInLobby = 112;
|
||||||
|
k_EStartFindingMatchResult_MemberNotVACVerified = 113;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyBadPartySize = 114;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyTeamBuyInTooSmall = 115;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyIndividualBuyInTooLarge = 116;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyTeamBuyInTooLarge = 117;
|
||||||
|
k_EStartFindingMatchResult_MemberMissingEventOwnership = 118;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyNotUnlocked = 119;
|
||||||
|
k_EStartFindingMatchResult_WeekendTourneyRecentParticipation = 120;
|
||||||
|
k_EStartFindingMatchResult_MemberMissingAnchoredPhoneNumber = 121;
|
||||||
|
k_EStartFindingMatchResult_NotMemberOfClan = 122;
|
||||||
|
k_EStartFindingMatchResult_CoachesChallengeBadPartySize = 123;
|
||||||
|
k_EStartFindingMatchResult_CoachesChallengeRequirementsNotMet = 124;
|
||||||
|
k_EStartFindingMatchResult_InvalidRoleSelections = 125;
|
||||||
|
k_EStartFindingMatchResult_PhoneNumberDiscrepancy = 126;
|
||||||
|
k_EStartFindingMatchResult_NoQueuePoints = 127;
|
||||||
|
k_EStartFindingMatchResult_MemberMissingGauntletFlag = 128;
|
||||||
|
k_EStartFindingMatchResult_MemberGauntletTooRecent = 129;
|
||||||
|
k_EStartFindingMatchResult_DifficultyNotUnlocked = 130;
|
||||||
|
k_EStartFindingMatchResult_CoachesNotAllowedInParty = 131;
|
||||||
|
k_EStartFindingMatchResult_MatchmakingBusy = 132;
|
||||||
|
k_EStartFindingMatchResult_SteamChinaBanned = 133;
|
||||||
|
k_EStartFindingMatchResult_SteamChinaInvalidMixedParty = 134;
|
||||||
|
k_EStartFindingMatchResult_RestrictedFromRanked = 135;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgStartFindingMatch {
|
||||||
|
optional string key = 1;
|
||||||
|
optional uint32 matchgroups = 2 [default = 4294967295];
|
||||||
|
optional uint32 client_version = 3;
|
||||||
|
optional uint32 game_modes = 4 [default = 4294967295];
|
||||||
|
optional .MatchType match_type = 6 [default = MATCH_TYPE_CASUAL];
|
||||||
|
optional uint32 matchlanguages = 7 [default = 4294967295];
|
||||||
|
optional uint32 team_id = 8;
|
||||||
|
optional .MatchLanguages game_language_enum = 10 [default = MATCH_LANGUAGE_INVALID];
|
||||||
|
optional string game_language_name = 11;
|
||||||
|
optional .CMsgClientPingData ping_data = 12;
|
||||||
|
optional uint32 region_select_flags = 13;
|
||||||
|
optional bool solo_queue = 14;
|
||||||
|
optional uint32 steam_clan_account_id = 16;
|
||||||
|
optional bool is_challenge_match = 17;
|
||||||
|
optional uint32 lane_selection_flags = 18;
|
||||||
|
optional bool high_priority_disabled = 19;
|
||||||
|
optional bool disable_experimental_gameplay = 20;
|
||||||
|
optional uint32 custom_game_difficulty_mask = 21;
|
||||||
|
optional uint32 bot_difficulty_mask = 22;
|
||||||
|
optional uint32 bot_script_index_mask = 23;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgStartFindingMatchResult {
|
||||||
|
optional uint32 legacy_generic_eresult = 1 [default = 2];
|
||||||
|
optional .EStartFindingMatchResult result = 2 [default = k_EStartFindingMatchResult_Invalid];
|
||||||
|
optional string error_token = 3;
|
||||||
|
optional string debug_message = 4;
|
||||||
|
repeated fixed64 responsible_party_members = 5;
|
||||||
|
optional uint32 result_metadata = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgStopFindingMatch {
|
||||||
|
optional bool accept_cooldown = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPartyBuilderOptions {
|
||||||
|
optional uint32 additional_slots = 1;
|
||||||
|
optional .MatchType match_type = 2 [default = MATCH_TYPE_CASUAL];
|
||||||
|
optional uint32 matchgroups = 3;
|
||||||
|
optional uint32 client_version = 4;
|
||||||
|
optional .MatchLanguages language = 5 [default = MATCH_LANGUAGE_INVALID];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgReadyUp {
|
||||||
|
optional .DOTALobbyReadyState state = 1 [default = DOTALobbyReadyState_UNDECLARED];
|
||||||
|
optional fixed64 ready_up_key = 2;
|
||||||
|
optional .CDOTAClientHardwareSpecs hardware_specs = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgReadyUpStatus {
|
||||||
|
optional fixed64 lobby_id = 1;
|
||||||
|
repeated uint32 accepted_ids = 2;
|
||||||
|
repeated uint32 declined_ids = 3;
|
||||||
|
repeated uint32 accepted_indices = 4;
|
||||||
|
repeated uint32 declined_indices = 5;
|
||||||
|
optional .DOTALobbyReadyState local_ready_state = 6 [default = DOTALobbyReadyState_UNDECLARED];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAbandonCurrentGame {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyScenarioSave {
|
||||||
|
optional int32 version = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbySetDetails {
|
||||||
|
message AbilityDraftSpecificDetails {
|
||||||
|
optional bool shuffle_draft_order = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 lobby_id = 1;
|
||||||
|
optional string game_name = 2;
|
||||||
|
repeated .CLobbyTeamDetails team_details = 3;
|
||||||
|
optional uint32 server_region = 4;
|
||||||
|
optional uint32 game_mode = 5;
|
||||||
|
optional .DOTA_CM_PICK cm_pick = 6 [default = DOTA_CM_RANDOM];
|
||||||
|
optional .DOTABotDifficulty bot_difficulty_radiant = 9 [default = BOT_DIFFICULTY_PASSIVE];
|
||||||
|
optional bool allow_cheats = 10;
|
||||||
|
optional bool fill_with_bots = 11;
|
||||||
|
optional bool intro_mode = 12;
|
||||||
|
optional bool allow_spectating = 13;
|
||||||
|
optional string pass_key = 15;
|
||||||
|
optional uint32 leagueid = 16;
|
||||||
|
optional uint32 penalty_level_radiant = 17;
|
||||||
|
optional uint32 penalty_level_dire = 18;
|
||||||
|
optional uint32 load_game_id = 19;
|
||||||
|
optional uint32 series_type = 20;
|
||||||
|
optional uint32 radiant_series_wins = 21;
|
||||||
|
optional uint32 dire_series_wins = 22;
|
||||||
|
optional bool allchat = 23 [default = false];
|
||||||
|
optional .LobbyDotaTVDelay dota_tv_delay = 24 [default = LobbyDotaTV_120];
|
||||||
|
optional bool lan = 25;
|
||||||
|
optional string custom_game_mode = 26;
|
||||||
|
optional string custom_map_name = 27;
|
||||||
|
optional uint32 custom_difficulty = 28;
|
||||||
|
optional uint64 custom_game_id = 29;
|
||||||
|
optional uint32 custom_min_players = 30;
|
||||||
|
optional uint32 custom_max_players = 31;
|
||||||
|
optional .DOTALobbyVisibility visibility = 33 [default = DOTALobbyVisibility_Public];
|
||||||
|
optional fixed64 custom_game_crc = 34;
|
||||||
|
optional fixed32 custom_game_timestamp = 37;
|
||||||
|
optional uint64 previous_match_override = 38;
|
||||||
|
optional .LobbyDotaPauseSetting pause_setting = 42 [default = LobbyDotaPauseSetting_Unlimited];
|
||||||
|
optional .DOTABotDifficulty bot_difficulty_dire = 43 [default = BOT_DIFFICULTY_PASSIVE];
|
||||||
|
optional uint64 bot_radiant = 44;
|
||||||
|
optional uint64 bot_dire = 45;
|
||||||
|
optional .DOTASelectionPriorityRules selection_priority_rules = 46 [default = k_DOTASelectionPriorityRules_Manual];
|
||||||
|
optional bool custom_game_penalties = 47;
|
||||||
|
optional string lan_host_ping_location = 48;
|
||||||
|
optional uint32 league_node_id = 49;
|
||||||
|
repeated int32 requested_hero_ids = 50;
|
||||||
|
optional .CMsgLobbyScenarioSave scenario_save = 51;
|
||||||
|
optional .CMsgPracticeLobbySetDetails.AbilityDraftSpecificDetails ability_draft_specific_details = 52;
|
||||||
|
optional bool do_player_draft = 53;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyCreate {
|
||||||
|
message SaveGame {
|
||||||
|
optional bytes data = 1;
|
||||||
|
optional int32 version = 2;
|
||||||
|
optional fixed64 steam_id = 3;
|
||||||
|
optional fixed64 signature = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string search_key = 1;
|
||||||
|
optional string pass_key = 5;
|
||||||
|
optional uint32 client_version = 6;
|
||||||
|
optional .CMsgPracticeLobbySetDetails lobby_details = 7;
|
||||||
|
optional .CMsgPracticeLobbyCreate.SaveGame save_game = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbySetTeamSlot {
|
||||||
|
optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional uint32 slot = 2;
|
||||||
|
optional .DOTABotDifficulty bot_difficulty = 3 [default = BOT_DIFFICULTY_PASSIVE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbySetCoach {
|
||||||
|
optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyJoinBroadcastChannel {
|
||||||
|
optional uint32 channel = 1;
|
||||||
|
optional string preferred_description = 2;
|
||||||
|
optional string preferred_country_code = 3;
|
||||||
|
optional string preferred_language_code = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyCloseBroadcastChannel {
|
||||||
|
optional uint32 channel = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyToggleBroadcastChannelCameramanStatus {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyKick {
|
||||||
|
optional uint32 account_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyKickFromTeam {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyLeave {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyLaunch {
|
||||||
|
optional uint32 client_version = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgApplyTeamToPracticeLobby {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyList {
|
||||||
|
optional string pass_key = 2;
|
||||||
|
optional uint32 region = 3;
|
||||||
|
optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyListResponseEntry {
|
||||||
|
message CLobbyMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional string player_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 id = 1 [(key_field) = true];
|
||||||
|
repeated .CMsgPracticeLobbyListResponseEntry.CLobbyMember members = 5;
|
||||||
|
optional bool requires_pass_key = 6;
|
||||||
|
optional uint32 leader_account_id = 7;
|
||||||
|
optional string name = 10;
|
||||||
|
optional string custom_game_mode = 11;
|
||||||
|
optional .DOTA_GameMode game_mode = 12 [default = DOTA_GAMEMODE_NONE];
|
||||||
|
optional bool friend_present = 13;
|
||||||
|
optional uint32 players = 14;
|
||||||
|
optional string custom_map_name = 15;
|
||||||
|
optional uint32 max_player_count = 16;
|
||||||
|
optional uint32 server_region = 17;
|
||||||
|
optional uint32 league_id = 19;
|
||||||
|
optional string lan_host_ping_location = 20;
|
||||||
|
optional uint32 min_player_count = 21;
|
||||||
|
optional bool penalties_enabled = 22;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyListResponse {
|
||||||
|
repeated .CMsgPracticeLobbyListResponseEntry lobbies = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyList {
|
||||||
|
optional uint32 server_region = 1 [default = 0];
|
||||||
|
optional .DOTA_GameMode game_mode = 2 [default = DOTA_GAMEMODE_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyListResponse {
|
||||||
|
repeated .CMsgPracticeLobbyListResponseEntry lobbies = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyJoin {
|
||||||
|
optional uint64 lobby_id = 1;
|
||||||
|
optional uint32 client_version = 2;
|
||||||
|
optional string pass_key = 3;
|
||||||
|
optional fixed64 custom_game_crc = 4;
|
||||||
|
optional fixed32 custom_game_timestamp = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPracticeLobbyJoinResponse {
|
||||||
|
optional .DOTAJoinLobbyResult result = 1 [default = DOTA_JOIN_RESULT_SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgFriendPracticeLobbyListRequest {
|
||||||
|
repeated uint32 friends = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgFriendPracticeLobbyListResponse {
|
||||||
|
repeated .CMsgPracticeLobbyListResponseEntry lobbies = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomGameModesRequest {
|
||||||
|
optional uint32 server_region = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomGameModesResponseEntry {
|
||||||
|
optional uint64 custom_game_id = 1;
|
||||||
|
optional uint32 lobby_count = 2;
|
||||||
|
optional uint32 player_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomGameModesResponse {
|
||||||
|
repeated .CMsgJoinableCustomGameModesResponseEntry game_modes = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomLobbiesRequest {
|
||||||
|
optional uint32 server_region = 1;
|
||||||
|
optional uint64 custom_game_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomLobbiesResponseEntry {
|
||||||
|
optional fixed64 lobby_id = 1;
|
||||||
|
optional uint64 custom_game_id = 2;
|
||||||
|
optional string lobby_name = 3;
|
||||||
|
optional uint32 member_count = 4;
|
||||||
|
optional uint32 leader_account_id = 5;
|
||||||
|
optional string leader_name = 6;
|
||||||
|
optional string custom_map_name = 7;
|
||||||
|
optional uint32 max_player_count = 8;
|
||||||
|
optional uint32 server_region = 9;
|
||||||
|
optional bool has_pass_key = 11;
|
||||||
|
optional string lan_host_ping_location = 12;
|
||||||
|
optional uint32 lobby_creation_time = 13;
|
||||||
|
optional uint32 custom_game_timestamp = 14;
|
||||||
|
optional uint64 custom_game_crc = 15;
|
||||||
|
optional uint32 min_player_count = 16;
|
||||||
|
optional bool penalties_enabled = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgJoinableCustomLobbiesResponse {
|
||||||
|
repeated .CMsgJoinableCustomLobbiesResponseEntry lobbies = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgQuickJoinCustomLobby {
|
||||||
|
message LegacyRegionPing {
|
||||||
|
optional uint32 server_region = 1;
|
||||||
|
optional uint32 ping = 2;
|
||||||
|
optional fixed32 region_code = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 legacy_server_region = 1;
|
||||||
|
optional uint64 custom_game_id = 2;
|
||||||
|
optional uint32 client_version = 3;
|
||||||
|
optional .CMsgPracticeLobbySetDetails create_lobby_details = 4;
|
||||||
|
optional bool allow_any_map = 5;
|
||||||
|
repeated .CMsgQuickJoinCustomLobby.LegacyRegionPing legacy_region_pings = 6;
|
||||||
|
optional .CMsgClientPingData ping_data = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgQuickJoinCustomLobbyResponse {
|
||||||
|
optional .DOTAJoinLobbyResult result = 1 [default = DOTA_JOIN_RESULT_SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgBotGameCreate {
|
||||||
|
optional string search_key = 1;
|
||||||
|
optional uint32 client_version = 2;
|
||||||
|
optional .DOTABotDifficulty difficulty_radiant = 3 [default = BOT_DIFFICULTY_PASSIVE];
|
||||||
|
optional .DOTA_GC_TEAM team = 4 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional uint32 game_mode = 5;
|
||||||
|
optional .DOTABotDifficulty difficulty_dire = 6 [default = BOT_DIFFICULTY_PASSIVE];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAPartyMemberSetCoach {
|
||||||
|
optional bool wants_coach = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTASetGroupLeader {
|
||||||
|
optional fixed64 new_leader_steamid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTACancelGroupInvites {
|
||||||
|
repeated fixed64 invited_steamids = 1;
|
||||||
|
repeated fixed64 invited_groupids = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTASetGroupOpenStatus {
|
||||||
|
optional bool open = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAGroupMergeInvite {
|
||||||
|
optional fixed64 other_group_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAGroupMergeResponse {
|
||||||
|
optional fixed64 initiator_group_id = 1;
|
||||||
|
optional bool accept = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAGroupMergeReply {
|
||||||
|
optional .EDOTAGroupMergeResult result = 1 [default = k_EDOTAGroupMergeResult_OK];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSpectatorLobbyGameDetails {
|
||||||
|
message Team {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional string team_name = 2;
|
||||||
|
optional fixed64 team_logo = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 language = 1;
|
||||||
|
optional uint64 match_id = 2;
|
||||||
|
optional fixed64 server_steam_id = 3;
|
||||||
|
optional string stream_url = 4;
|
||||||
|
optional string stream_name = 5;
|
||||||
|
optional uint32 league_id = 6;
|
||||||
|
optional uint32 series_type = 7;
|
||||||
|
optional uint32 series_game = 8;
|
||||||
|
optional .CMsgSpectatorLobbyGameDetails.Team radiant_team = 9;
|
||||||
|
optional .CMsgSpectatorLobbyGameDetails.Team dire_team = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSetSpectatorLobbyDetails {
|
||||||
|
optional uint64 lobby_id = 1;
|
||||||
|
optional string lobby_name = 2;
|
||||||
|
optional string pass_key = 3;
|
||||||
|
optional .CMsgSpectatorLobbyGameDetails game_details = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCreateSpectatorLobby {
|
||||||
|
optional uint32 client_version = 1;
|
||||||
|
optional .CMsgSetSpectatorLobbyDetails details = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSpectatorLobbyList {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSpectatorLobbyListResponse {
|
||||||
|
message SpectatorLobby {
|
||||||
|
optional uint64 lobby_id = 1;
|
||||||
|
optional string game_name = 2;
|
||||||
|
optional bool requires_pass_key = 3;
|
||||||
|
optional uint32 leader_account_id = 4;
|
||||||
|
optional uint32 member_count = 5;
|
||||||
|
optional .CMsgSpectatorLobbyGameDetails game_details = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgSpectatorLobbyListResponse.SpectatorLobby lobbies = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestSteamDatagramTicket {
|
||||||
|
optional fixed64 server_steam_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCRequestSteamDatagramTicketResponse {
|
||||||
|
optional bytes serialized_ticket = 1;
|
||||||
|
optional string message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientSteamDatagramTicket {
|
||||||
|
optional fixed32 legacy_time_expiry = 1;
|
||||||
|
optional fixed64 legacy_authorized_steam_id = 2;
|
||||||
|
optional fixed32 legacy_authorized_public_ip = 3;
|
||||||
|
optional fixed64 legacy_gameserver_steam_id = 4;
|
||||||
|
optional fixed64 legacy_gameserver_net_id = 5;
|
||||||
|
optional bytes legacy_signature = 6;
|
||||||
|
optional uint32 legacy_app_id = 7;
|
||||||
|
repeated bytes legacy_extra_fields = 8;
|
||||||
|
optional bytes serialized_ticket = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientRequestLaneSelection {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientRequestLaneSelectionResponse {
|
||||||
|
optional uint32 lane_selection_flags = 1;
|
||||||
|
optional bool high_priority_disabled = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientRequestMMInfo {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCMMInfo {
|
||||||
|
optional uint32 lane_selection_flags = 1;
|
||||||
|
optional bool high_priority_disabled = 2;
|
||||||
|
}
|
||||||
529
protos/dota_gcmessages_client_showcase.proto
Normal file
529
protos/dota_gcmessages_client_showcase.proto
Normal file
|
|
@ -0,0 +1,529 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_gcmessages_webapi.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "econ_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_client.proto";
|
||||||
|
import "valveextensions.proto";
|
||||||
|
|
||||||
|
enum EShowcaseHeroPlusFlag {
|
||||||
|
k_eShowcaseHeroPlusFlag_None = 0;
|
||||||
|
k_eShowcaseHeroPlusFlag_BadgePosTop = 1;
|
||||||
|
k_eShowcaseHeroPlusFlag_BadgePosBottom = 2;
|
||||||
|
k_eShowcaseHeroPlusFlag_BadgePosLeft = 4;
|
||||||
|
k_eShowcaseHeroPlusFlag_BadgePosRight = 8;
|
||||||
|
k_eShowcaseHeroPlusFlag_ShowRelics = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EShowcaseType {
|
||||||
|
k_eShowcaseType_Invalid = 0;
|
||||||
|
k_eShowcaseType_Profile = 1;
|
||||||
|
k_eShowcaseType_MiniProfile = 2;
|
||||||
|
k_eShowcaseType_DefaultProfile = 3;
|
||||||
|
k_eShowcaseType_DefaultMiniProfile = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EShowcaseItemState {
|
||||||
|
k_eShowcaseItemState_Ok = 0;
|
||||||
|
k_eShowcaseItemState_MinorModifications = 1;
|
||||||
|
k_eShowcaseItemState_ValidityUnknown = 2;
|
||||||
|
k_eShowcaseItemState_PartiallyInvalid = 3;
|
||||||
|
k_eShowcaseItemState_Invalid = 4;
|
||||||
|
k_eShowcaseItemState_Failure = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EShowcaseAuditAction {
|
||||||
|
k_eShowcaseAuditAction_Invalid = 0;
|
||||||
|
k_eShowcaseAuditAction_ShowcaseChanged = 1;
|
||||||
|
k_eShowcaseAuditAction_AdminShowcaseReset = 2;
|
||||||
|
k_eShowcaseAuditAction_AdminShowcaseAccountLocked = 3;
|
||||||
|
k_eShowcaseAuditAction_AdminShowcaseExonerated = 4;
|
||||||
|
k_eShowcaseAuditAction_AdminShowcaseConvicted = 5;
|
||||||
|
k_eShowcaseAuditAction_AdminModerationApproved = 6;
|
||||||
|
k_eShowcaseAuditAction_AdminModerationRejected = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EShowcaseItemFlag {
|
||||||
|
k_eShowcaseItemFlag_None = 0;
|
||||||
|
k_eShowcaseItemFlag_FlipHorizontally = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EShowcaseItemFlag_Hero {
|
||||||
|
k_eShowcaseItemFlag_Hero_None = 0;
|
||||||
|
k_eShowcaseItemFlag_Hero_ShowPedestal = 1;
|
||||||
|
k_eShowcaseItemFlag_Hero_UseCurrentLoadout = 2;
|
||||||
|
k_eShowcaseItemFlag_Hero_ShowHeroCard = 4;
|
||||||
|
k_eShowcaseItemFlag_Hero_HeroCardHideName = 8;
|
||||||
|
k_eShowcaseItemFlag_Hero_HeroCardUseMovie = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseEconItemReference {
|
||||||
|
optional uint64 id = 1;
|
||||||
|
optional uint64 original_id = 2;
|
||||||
|
optional uint32 definition_index = 3;
|
||||||
|
optional int32 equipment_slot_index = 4 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgHeroPlusInfo {
|
||||||
|
optional uint32 flags = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_Trophy {
|
||||||
|
message Data {
|
||||||
|
optional uint32 trophy_score = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_Trophy.Data data = 1;
|
||||||
|
optional uint32 trophy_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_EconItem {
|
||||||
|
message Data {
|
||||||
|
optional .CSOEconItem econ_item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_EconItem.Data data = 1;
|
||||||
|
optional .CMsgShowcaseEconItemReference ref = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_Hero {
|
||||||
|
message Data {
|
||||||
|
repeated .CSOEconItem econ_items = 1;
|
||||||
|
optional int32 actual_hero_id = 2;
|
||||||
|
optional uint32 plus_hero_xp = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_Hero.Data data = 1;
|
||||||
|
optional int32 hero_id = 2;
|
||||||
|
repeated .CMsgShowcaseEconItemReference econ_item_refs = 3;
|
||||||
|
optional uint32 rotation = 4;
|
||||||
|
optional uint32 flags = 5;
|
||||||
|
optional .CMsgHeroPlusInfo plus_info = 6;
|
||||||
|
optional string animation_name = 7;
|
||||||
|
optional uint32 animation_playback_speed = 8 [default = 100];
|
||||||
|
optional uint32 animation_offset = 9;
|
||||||
|
optional uint32 zoom = 10 [default = 100];
|
||||||
|
optional uint32 slot_index = 11;
|
||||||
|
optional uint32 model_index = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_HeroIcon {
|
||||||
|
message Data {
|
||||||
|
optional .CSOEconItem econ_item = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_HeroIcon.Data data = 1;
|
||||||
|
optional int32 hero_id = 2;
|
||||||
|
optional .CMsgShowcaseEconItemReference econ_item_ref = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_PlayerMatch {
|
||||||
|
message Data {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 duration = 3;
|
||||||
|
optional .DOTA_GameMode game_mode = 4 [default = DOTA_GAMEMODE_NONE];
|
||||||
|
optional .CMsgShowcaseItem_PlayerMatch.EPlayerOutcome outcome = 5 [default = k_eInvalid];
|
||||||
|
optional uint32 kills = 6;
|
||||||
|
optional uint32 deaths = 7;
|
||||||
|
optional uint32 assists = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPlayerOutcome {
|
||||||
|
k_eInvalid = 0;
|
||||||
|
k_eWin = 1;
|
||||||
|
k_eLoss = 2;
|
||||||
|
k_eNotScored = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_PlayerMatch.Data data = 1;
|
||||||
|
optional uint64 match_id = 2;
|
||||||
|
optional uint32 player_slot = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_ChatWheel {
|
||||||
|
message Data {
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_ChatWheel.Data data = 1;
|
||||||
|
optional uint32 chat_wheel_message_id = 2 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_Emoticon {
|
||||||
|
message Data {
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_Emoticon.Data data = 1;
|
||||||
|
optional uint32 emoticon_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_SpiderGraph {
|
||||||
|
message Data {
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_SpiderGraph.Data data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_UserFeed {
|
||||||
|
message Data {
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_UserFeed.Data data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem_Stat {
|
||||||
|
message Data {
|
||||||
|
optional uint32 stat_score = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseItem_Stat.Data data = 1;
|
||||||
|
optional .CMsgDOTAProfileCard.EStatID stat_id = 2 [default = k_eStat_Wins];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseBackground {
|
||||||
|
message Data {
|
||||||
|
optional .CSOEconItem loading_screen = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgShowcaseBackground.Data data = 1;
|
||||||
|
optional .CMsgShowcaseEconItemReference loading_screen_ref = 2;
|
||||||
|
optional uint32 dim = 3;
|
||||||
|
optional uint32 blur = 4;
|
||||||
|
optional uint32 background_id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItemData {
|
||||||
|
oneof item {
|
||||||
|
.CMsgShowcaseItem_Trophy trophy = 1;
|
||||||
|
.CMsgShowcaseItem_EconItem econ_item_icon = 2;
|
||||||
|
.CMsgShowcaseItem_EconItem sticker = 3;
|
||||||
|
.CMsgShowcaseItem_Hero hero_model = 4;
|
||||||
|
.CMsgShowcaseItem_PlayerMatch player_match = 5;
|
||||||
|
.CMsgShowcaseItem_ChatWheel chat_wheel = 6;
|
||||||
|
.CMsgShowcaseItem_ChatWheel spray = 7;
|
||||||
|
.CMsgShowcaseItem_Emoticon emoticon = 8;
|
||||||
|
.CMsgShowcaseItem_EconItem courier = 10;
|
||||||
|
.CMsgShowcaseItem_EconItem ward = 11;
|
||||||
|
.CMsgShowcaseItem_HeroIcon hero_icon = 12;
|
||||||
|
.CMsgShowcaseItem_SpiderGraph spider_graph = 13;
|
||||||
|
.CMsgShowcaseItem_UserFeed user_feed = 14;
|
||||||
|
.CMsgShowcaseItem_Stat stat = 15;
|
||||||
|
.CMsgShowcaseItem_EconItem roshan = 16;
|
||||||
|
.CMsgShowcaseItem_EconItem creep = 17;
|
||||||
|
.CMsgShowcaseItem_EconItem tower = 18;
|
||||||
|
.CMsgShowcaseItem_EconItem effigy = 19;
|
||||||
|
.CMsgShowcaseItem_EconItem decoration = 20;
|
||||||
|
.CMsgShowcaseBackground background = 100;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItemPosition {
|
||||||
|
optional int32 position_x = 1;
|
||||||
|
optional int32 position_y = 2;
|
||||||
|
optional uint32 scale = 3;
|
||||||
|
optional uint32 width = 4;
|
||||||
|
optional uint32 height = 5;
|
||||||
|
optional uint32 rotation = 6;
|
||||||
|
optional uint32 parent_id = 7;
|
||||||
|
optional uint32 parent_attachment_point_id = 8;
|
||||||
|
optional uint32 attachment_anchor_x = 9;
|
||||||
|
optional uint32 attachment_anchor_y = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseItem {
|
||||||
|
optional uint32 showcase_item_id = 1;
|
||||||
|
optional .CMsgShowcaseItemPosition item_position = 2;
|
||||||
|
optional .CMsgShowcaseItemData item_data = 3;
|
||||||
|
optional .EShowcaseItemState state = 4 [default = k_eShowcaseItemState_Ok];
|
||||||
|
optional uint32 flags = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcase {
|
||||||
|
enum EModerationState {
|
||||||
|
k_eModerationState_Ok = 0;
|
||||||
|
k_eModerationState_PendingApproval = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgShowcaseItem showcase_items = 1;
|
||||||
|
optional .CMsgShowcaseItem background = 3;
|
||||||
|
optional .CMsgShowcase.EModerationState moderation_state = 4 [default = k_eModerationState_Ok];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseGetUserData {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseGetUserDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eUnknownShowcase = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseGetUserDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgShowcase showcase = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseSetUserData {
|
||||||
|
optional .EShowcaseType showcase_type = 1 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional .CMsgShowcase showcase = 2;
|
||||||
|
optional uint32 format_version = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseSetUserDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalid = 5;
|
||||||
|
k_eLockedFromEditing = 6;
|
||||||
|
k_eBudgetExceeded = 7;
|
||||||
|
k_eCommunicationScoreTooLow = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseSetUserDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgShowcase validated_showcase = 2;
|
||||||
|
optional uint32 locked_until_timestamp = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseSubmitReport {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional string report_comment = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseSubmitReportResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eAlreadyReported = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseSubmitReportResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseReportsRollupInfo {
|
||||||
|
optional uint32 rollup_id = 1;
|
||||||
|
optional uint32 start_timestamp = 2;
|
||||||
|
optional uint32 end_timestamp = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseReportsRollupList {
|
||||||
|
repeated .CMsgShowcaseReportsRollupInfo rollups = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseReportsRollupEntry {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional uint32 report_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseReportsRollup {
|
||||||
|
optional .CMsgShowcaseReportsRollupInfo rollup_info = 1;
|
||||||
|
repeated .CMsgShowcaseReportsRollupEntry rollup_entries = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetReportsRollupList {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetReportsRollupListResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminGetReportsRollupListResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgShowcaseReportsRollupList rollup_list = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetReportsRollup {
|
||||||
|
optional uint32 rollup_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetReportsRollupResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
k_eNotFound = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminGetReportsRollupResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgShowcaseReportsRollup rollup = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseAuditEntry {
|
||||||
|
optional .EShowcaseType showcase_type = 1 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional .EShowcaseAuditAction audit_action = 2 [default = k_eShowcaseAuditAction_Invalid];
|
||||||
|
optional uint64 audit_data = 3;
|
||||||
|
optional uint32 timestamp = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseReport {
|
||||||
|
optional uint32 reporter_account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional uint32 report_timestamp = 3;
|
||||||
|
optional string report_comment = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseAdminUserDetails {
|
||||||
|
optional uint32 locked_until_timestamp = 1;
|
||||||
|
repeated .CMsgShowcaseAuditEntry audit_entries = 2;
|
||||||
|
repeated .CMsgShowcaseReport reports = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetUserDetails {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminGetUserDetailsResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminGetUserDetailsResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgShowcaseAdminUserDetails user_details = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminReset {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminResetResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminResetResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminLockAccount {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
optional uint32 locked_until_timestamp = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminLockAccountResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminLockAccountResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminConvict {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminConvictResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
k_eAlreadyConvicted = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminConvictResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminExonerate {
|
||||||
|
optional uint32 target_account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseAdminExonerateResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
k_eAlreadyExonerated = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseAdminExonerateResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgShowcaseModerationInfo {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional uint32 showcase_timestamp = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseModerationGetQueue {
|
||||||
|
optional uint32 start_timestamp = 1;
|
||||||
|
optional uint32 result_count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseModerationGetQueueResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseModerationGetQueueResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
repeated .CMsgShowcaseModerationInfo showcases = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseModerationApplyModeration {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .EShowcaseType showcase_type = 2 [default = k_eShowcaseType_Invalid];
|
||||||
|
optional uint32 showcase_timestamp = 3;
|
||||||
|
optional bool approve = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCShowcaseModerationApplyModerationResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNoPermission = 5;
|
||||||
|
k_eGone = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCShowcaseModerationApplyModerationResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
275
protos/dota_gcmessages_client_team.proto
Normal file
275
protos/dota_gcmessages_client_team.proto
Normal file
|
|
@ -0,0 +1,275 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum ETeamInviteResult {
|
||||||
|
TEAM_INVITE_SUCCESS = 0;
|
||||||
|
TEAM_INVITE_FAILURE_INVITE_REJECTED = 1;
|
||||||
|
TEAM_INVITE_FAILURE_INVITE_TIMEOUT = 2;
|
||||||
|
TEAM_INVITE_ERROR_TEAM_AT_MEMBER_LIMIT = 3;
|
||||||
|
TEAM_INVITE_ERROR_TEAM_LOCKED = 4;
|
||||||
|
TEAM_INVITE_ERROR_INVITEE_NOT_AVAILABLE = 5;
|
||||||
|
TEAM_INVITE_ERROR_INVITEE_BUSY = 6;
|
||||||
|
TEAM_INVITE_ERROR_INVITEE_ALREADY_MEMBER = 7;
|
||||||
|
TEAM_INVITE_ERROR_INVITEE_AT_TEAM_LIMIT = 8;
|
||||||
|
TEAM_INVITE_ERROR_INVITEE_INSUFFICIENT_PLAY_TIME = 9;
|
||||||
|
TEAM_INVITE_ERROR_INVITER_INVALID_ACCOUNT_TYPE = 10;
|
||||||
|
TEAM_INVITE_ERROR_INVITER_NOT_ADMIN = 11;
|
||||||
|
TEAM_INVITE_ERROR_INCORRECT_USER_RESPONDED = 12;
|
||||||
|
TEAM_INVITE_ERROR_UNSPECIFIED = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInfo {
|
||||||
|
message HeroStats {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 picks = 2;
|
||||||
|
optional uint32 wins = 3;
|
||||||
|
optional uint32 bans = 4;
|
||||||
|
optional float avg_kills = 5;
|
||||||
|
optional float avg_deaths = 6;
|
||||||
|
optional float avg_assists = 7;
|
||||||
|
optional float avg_gpm = 8;
|
||||||
|
optional float avg_xpm = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message MemberStats {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 wins_with_team = 2;
|
||||||
|
optional uint32 losses_with_team = 3;
|
||||||
|
repeated .CMsgDOTATeamInfo.HeroStats top_heroes = 4;
|
||||||
|
optional float avg_kills = 5;
|
||||||
|
optional float avg_deaths = 6;
|
||||||
|
optional float avg_assists = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeamStats {
|
||||||
|
repeated .CMsgDOTATeamInfo.HeroStats played_heroes = 1;
|
||||||
|
optional float farming = 2;
|
||||||
|
optional float fighting = 3;
|
||||||
|
optional float versatility = 4;
|
||||||
|
optional float avg_kills = 5;
|
||||||
|
optional float avg_deaths = 6;
|
||||||
|
optional float avg_duration = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DPCResult {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 standing = 2;
|
||||||
|
optional uint32 points = 3;
|
||||||
|
optional uint32 earnings = 4;
|
||||||
|
optional uint32 timestamp = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Member {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 time_joined = 2;
|
||||||
|
optional bool admin = 3;
|
||||||
|
optional string pro_name = 6;
|
||||||
|
optional .Fantasy_Roles role = 8 [default = FANTASY_ROLE_UNDEFINED];
|
||||||
|
optional string real_name = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message AuditEntry {
|
||||||
|
optional uint32 audit_action = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 account_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTATeamInfo.Member members = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
optional string name = 3;
|
||||||
|
optional string tag = 4;
|
||||||
|
optional uint32 time_created = 5;
|
||||||
|
optional bool pro = 6;
|
||||||
|
optional bool pickup_team = 8;
|
||||||
|
optional uint64 ugc_logo = 9;
|
||||||
|
optional uint64 ugc_base_logo = 10;
|
||||||
|
optional uint64 ugc_banner_logo = 11;
|
||||||
|
optional uint64 ugc_sponsor_logo = 12;
|
||||||
|
optional string country_code = 13;
|
||||||
|
optional string url = 14;
|
||||||
|
optional uint32 wins = 15;
|
||||||
|
optional uint32 losses = 16;
|
||||||
|
optional uint32 games_played_total = 19;
|
||||||
|
optional uint32 games_played_matchmaking = 20;
|
||||||
|
optional string url_logo = 24;
|
||||||
|
repeated uint32 registered_member_account_ids = 30;
|
||||||
|
optional uint32 coach_account_id = 36;
|
||||||
|
repeated .CMsgDOTATeamInfo.AuditEntry audit_entries = 31;
|
||||||
|
optional .ELeagueRegion region = 29 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional string abbreviation = 32;
|
||||||
|
repeated .CMsgDOTATeamInfo.MemberStats member_stats = 33;
|
||||||
|
optional .CMsgDOTATeamInfo.TeamStats team_stats = 34;
|
||||||
|
repeated .CMsgDOTATeamInfo.DPCResult dpc_results = 35;
|
||||||
|
optional string color_primary = 37;
|
||||||
|
optional string color_secondary = 38;
|
||||||
|
optional uint32 team_captain = 39;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamsInfo {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
repeated .CMsgDOTATeamInfo teams = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInfoList {
|
||||||
|
repeated .CMsgDOTATeamInfo teams = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInfoCache {
|
||||||
|
optional uint32 cache_timestamp = 1;
|
||||||
|
optional .CMsgDOTATeamInfoList team_list = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAMyTeamInfoRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTACreateTeam {
|
||||||
|
optional string name = 1;
|
||||||
|
optional string tag = 2;
|
||||||
|
optional uint64 logo = 3;
|
||||||
|
optional uint64 base_logo = 4;
|
||||||
|
optional uint64 banner_logo = 5;
|
||||||
|
optional uint64 sponsor_logo = 6;
|
||||||
|
optional string country_code = 7;
|
||||||
|
optional string url = 8;
|
||||||
|
optional bool pickup_team = 9;
|
||||||
|
optional string abbreviation = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTACreateTeamResponse {
|
||||||
|
enum Result {
|
||||||
|
INVALID = -1;
|
||||||
|
SUCCESS = 0;
|
||||||
|
NAME_EMPTY = 1;
|
||||||
|
NAME_BAD_CHARACTERS = 2;
|
||||||
|
NAME_TAKEN = 3;
|
||||||
|
NAME_TOO_LONG = 4;
|
||||||
|
TAG_EMPTY = 5;
|
||||||
|
TAG_BAD_CHARACTERS = 6;
|
||||||
|
TAG_TAKEN = 7;
|
||||||
|
TAG_TOO_LONG = 8;
|
||||||
|
CREATOR_BUSY = 9;
|
||||||
|
UNSPECIFIED_ERROR = 10;
|
||||||
|
CREATOR_TEAM_LIMIT_REACHED = 11;
|
||||||
|
NO_LOGO = 12;
|
||||||
|
CREATOR_TEAM_CREATION_COOLDOWN = 13;
|
||||||
|
LOGO_UPLOAD_FAILED = 14;
|
||||||
|
NAME_CHANGED_TOO_RECENTLY = 15;
|
||||||
|
CREATOR_INSUFFICIENT_LEVEL = 16;
|
||||||
|
INVALID_ACCOUNT_TYPE = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTACreateTeamResponse.Result result = 1 [default = INVALID];
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAEditTeamDetails {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional string tag = 3;
|
||||||
|
optional uint64 logo = 4;
|
||||||
|
optional uint64 base_logo = 5;
|
||||||
|
optional uint64 banner_logo = 6;
|
||||||
|
optional uint64 sponsor_logo = 7;
|
||||||
|
optional string country_code = 8;
|
||||||
|
optional string url = 9;
|
||||||
|
optional bool in_use_by_party = 10;
|
||||||
|
optional string abbreviation = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAEditTeamDetailsResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
FAILURE_INVALID_ACCOUNT_TYPE = 1;
|
||||||
|
FAILURE_NOT_MEMBER = 2;
|
||||||
|
FAILURE_TEAM_LOCKED = 3;
|
||||||
|
FAILURE_UNSPECIFIED_ERROR = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTAEditTeamDetailsResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_InviterToGC {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_GCImmediateResponseToInviter {
|
||||||
|
optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS];
|
||||||
|
optional string invitee_name = 2;
|
||||||
|
optional uint32 required_play_time = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_GCRequestToInvitee {
|
||||||
|
optional uint32 inviter_account_id = 1;
|
||||||
|
optional string team_name = 2;
|
||||||
|
optional string team_tag = 3;
|
||||||
|
optional uint64 logo = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_InviteeResponseToGC {
|
||||||
|
optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_GCResponseToInviter {
|
||||||
|
optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS];
|
||||||
|
optional string invitee_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATeamInvite_GCResponseToInvitee {
|
||||||
|
optional .ETeamInviteResult result = 1 [default = TEAM_INVITE_SUCCESS];
|
||||||
|
optional string team_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAKickTeamMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAKickTeamMemberResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
FAILURE_INVALID_ACCOUNT_TYPE = 1;
|
||||||
|
FAILURE_KICKER_NOT_ADMIN = 2;
|
||||||
|
FAILURE_KICKEE_NOT_MEMBER = 3;
|
||||||
|
FAILURE_TEAM_LOCKED = 4;
|
||||||
|
FAILURE_UNSPECIFIED_ERROR = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTAKickTeamMemberResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATransferTeamAdmin {
|
||||||
|
optional uint32 new_admin_account_id = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATransferTeamAdminResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
FAILURE_INVALID_ACCOUNT_TYPE = 1;
|
||||||
|
FAILURE_NOT_ADMIN = 2;
|
||||||
|
FAILURE_SAME_ACCOUNT = 3;
|
||||||
|
FAILURE_NOT_MEMBER = 4;
|
||||||
|
FAILURE_UNSPECIFIED_ERROR = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTATransferTeamAdminResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeaveTeam {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeaveTeamResponse {
|
||||||
|
enum Result {
|
||||||
|
SUCCESS = 0;
|
||||||
|
FAILURE_NOT_MEMBER = 1;
|
||||||
|
FAILURE_TEAM_LOCKED = 2;
|
||||||
|
FAILURE_UNSPECIFIED_ERROR = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTALeaveTeamResponse.Result result = 1 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTABetaParticipation {
|
||||||
|
optional uint32 access_rights = 1;
|
||||||
|
}
|
||||||
173
protos/dota_gcmessages_client_tournament.proto
Normal file
173
protos/dota_gcmessages_client_tournament.proto
Normal file
|
|
@ -0,0 +1,173 @@
|
||||||
|
import "dota_client_enums.proto";
|
||||||
|
|
||||||
|
enum ETournamentEvent {
|
||||||
|
k_ETournamentEvent_None = 0;
|
||||||
|
k_ETournamentEvent_TournamentCreated = 1;
|
||||||
|
k_ETournamentEvent_TournamentsMerged = 2;
|
||||||
|
k_ETournamentEvent_GameOutcome = 3;
|
||||||
|
k_ETournamentEvent_TeamGivenBye = 4;
|
||||||
|
k_ETournamentEvent_TournamentCanceledByAdmin = 5;
|
||||||
|
k_ETournamentEvent_TeamAbandoned = 6;
|
||||||
|
k_ETournamentEvent_ScheduledGameStarted = 7;
|
||||||
|
k_ETournamentEvent_Canceled = 8;
|
||||||
|
k_ETournamentEvent_TeamParticipationTimedOut_EntryFeeRefund = 9;
|
||||||
|
k_ETournamentEvent_TeamParticipationTimedOut_EntryFeeForfeit = 10;
|
||||||
|
k_ETournamentEvent_TeamParticipationTimedOut_GrantedVictory = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgRequestWeekendTourneySchedule {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgWeekendTourneySchedule {
|
||||||
|
message Division {
|
||||||
|
optional uint32 division_code = 1;
|
||||||
|
optional uint32 time_window_open = 2;
|
||||||
|
optional uint32 time_window_close = 3;
|
||||||
|
optional uint32 time_window_open_next = 4;
|
||||||
|
optional uint32 trophy_id = 5;
|
||||||
|
optional bool free_weekend = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgWeekendTourneySchedule.Division divisions = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgWeekendTourneyOpts {
|
||||||
|
optional bool participating = 1;
|
||||||
|
optional uint32 division_id = 2;
|
||||||
|
optional uint32 buyin = 3;
|
||||||
|
optional uint32 skill_level = 4;
|
||||||
|
optional uint32 match_groups = 5;
|
||||||
|
optional uint32 team_id = 6;
|
||||||
|
optional string pickup_team_name = 7;
|
||||||
|
optional uint64 pickup_team_logo = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgWeekendTourneyLeave {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATournament {
|
||||||
|
message Team {
|
||||||
|
optional fixed64 team_gid = 1;
|
||||||
|
optional uint32 node_or_state = 2;
|
||||||
|
repeated uint32 players = 3 [packed = true];
|
||||||
|
repeated uint32 player_buyin = 9 [packed = true];
|
||||||
|
repeated uint32 player_skill_level = 10 [packed = true];
|
||||||
|
optional uint32 match_group_mask = 12;
|
||||||
|
optional uint32 team_id = 4;
|
||||||
|
optional string team_name = 5;
|
||||||
|
optional uint64 team_base_logo = 7;
|
||||||
|
optional uint64 team_ui_logo = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Game {
|
||||||
|
optional uint32 node_idx = 1;
|
||||||
|
optional fixed64 lobby_id = 2;
|
||||||
|
optional uint64 match_id = 3;
|
||||||
|
optional bool team_a_good = 4;
|
||||||
|
optional .ETournamentGameState state = 5 [default = k_ETournamentGameState_Unknown];
|
||||||
|
optional uint32 start_time = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Node {
|
||||||
|
optional uint32 node_id = 1;
|
||||||
|
optional uint32 team_idx_a = 2;
|
||||||
|
optional uint32 team_idx_b = 3;
|
||||||
|
optional .ETournamentNodeState node_state = 4 [default = k_ETournamentNodeState_Unknown];
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 tournament_id = 1;
|
||||||
|
optional uint32 division_id = 2;
|
||||||
|
optional uint32 schedule_time = 3;
|
||||||
|
optional uint32 skill_level = 4;
|
||||||
|
optional .ETournamentTemplate tournament_template = 5 [default = k_ETournamentTemplate_None];
|
||||||
|
optional .ETournamentState state = 6 [default = k_ETournamentState_Unknown];
|
||||||
|
optional uint32 state_seq_num = 10;
|
||||||
|
optional uint32 season_trophy_id = 11;
|
||||||
|
repeated .CMsgDOTATournament.Team teams = 7;
|
||||||
|
repeated .CMsgDOTATournament.Game games = 8;
|
||||||
|
repeated .CMsgDOTATournament.Node nodes = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTATournamentStateChange {
|
||||||
|
message GameChange {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional .ETournamentGameState new_state = 2 [default = k_ETournamentGameState_Unknown];
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeamChange {
|
||||||
|
optional uint64 team_gid = 1;
|
||||||
|
optional uint32 new_node_or_state = 2;
|
||||||
|
optional uint32 old_node_or_state = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 new_tournament_id = 1;
|
||||||
|
optional .ETournamentEvent event = 2 [default = k_ETournamentEvent_None];
|
||||||
|
optional .ETournamentState new_tournament_state = 3 [default = k_ETournamentState_Unknown];
|
||||||
|
repeated .CMsgDOTATournamentStateChange.GameChange game_changes = 4;
|
||||||
|
repeated .CMsgDOTATournamentStateChange.TeamChange team_changes = 5;
|
||||||
|
repeated uint32 merged_tournament_ids = 6 [packed = true];
|
||||||
|
optional uint32 state_seq_num = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAWeekendTourneyPlayerSkillLevelStats {
|
||||||
|
optional uint32 skill_level = 1;
|
||||||
|
optional uint32 times_won_0 = 2;
|
||||||
|
optional uint32 times_won_1 = 3;
|
||||||
|
optional uint32 times_won_2 = 4;
|
||||||
|
optional uint32 times_won_3 = 5;
|
||||||
|
optional uint32 times_bye_and_lost = 6;
|
||||||
|
optional uint32 times_bye_and_won = 7;
|
||||||
|
optional uint32 times_unusual_champ = 10;
|
||||||
|
optional uint32 total_games_won = 8;
|
||||||
|
optional uint32 score = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAWeekendTourneyPlayerStats {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 season_trophy_id = 2;
|
||||||
|
repeated .CMsgDOTAWeekendTourneyPlayerSkillLevelStats skill_levels = 3;
|
||||||
|
optional uint32 current_tier = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAWeekendTourneyPlayerStatsRequest {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 season_trophy_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAWeekendTourneyPlayerHistory {
|
||||||
|
message Tournament {
|
||||||
|
optional uint32 tournament_id = 1;
|
||||||
|
optional uint32 start_time = 2;
|
||||||
|
optional uint32 tournament_tier = 3;
|
||||||
|
optional uint32 team_id = 4;
|
||||||
|
optional uint32 team_date = 5;
|
||||||
|
optional uint32 team_result = 6;
|
||||||
|
repeated uint32 account_id = 7;
|
||||||
|
optional string team_name = 8;
|
||||||
|
optional uint32 season_trophy_id = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
repeated .CMsgDOTAWeekendTourneyPlayerHistory.Tournament tournaments = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAWeekendTourneyParticipationDetails {
|
||||||
|
message Tier {
|
||||||
|
optional uint32 tier = 1;
|
||||||
|
optional uint32 players = 2;
|
||||||
|
optional uint32 teams = 3;
|
||||||
|
optional uint32 winning_teams = 4;
|
||||||
|
optional uint32 players_streak_2 = 5;
|
||||||
|
optional uint32 players_streak_3 = 6;
|
||||||
|
optional uint32 players_streak_4 = 7;
|
||||||
|
optional uint32 players_streak_5 = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Division {
|
||||||
|
optional uint32 division_id = 1;
|
||||||
|
optional uint32 schedule_time = 2;
|
||||||
|
repeated .CMsgDOTAWeekendTourneyParticipationDetails.Tier tiers = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTAWeekendTourneyParticipationDetails.Division divisions = 1;
|
||||||
|
}
|
||||||
205
protos/dota_gcmessages_client_watch.proto
Normal file
205
protos/dota_gcmessages_client_watch.proto
Normal file
|
|
@ -0,0 +1,205 @@
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
|
||||||
|
message CSourceTVGameSmall {
|
||||||
|
message Player {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional int32 hero_id = 2;
|
||||||
|
optional uint32 team_slot = 3;
|
||||||
|
optional uint32 team = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 activate_time = 1;
|
||||||
|
optional uint32 deactivate_time = 2;
|
||||||
|
optional uint64 server_steam_id = 3;
|
||||||
|
optional uint64 lobby_id = 4;
|
||||||
|
optional uint32 league_id = 5;
|
||||||
|
optional uint32 lobby_type = 6;
|
||||||
|
optional int32 game_time = 7;
|
||||||
|
optional uint32 delay = 8;
|
||||||
|
optional uint32 spectators = 9;
|
||||||
|
optional uint32 game_mode = 10;
|
||||||
|
optional uint32 average_mmr = 11;
|
||||||
|
optional uint64 match_id = 12;
|
||||||
|
optional uint32 series_id = 13;
|
||||||
|
optional string team_name_radiant = 15;
|
||||||
|
optional string team_name_dire = 16;
|
||||||
|
optional fixed64 team_logo_radiant = 24;
|
||||||
|
optional fixed64 team_logo_dire = 25;
|
||||||
|
optional uint32 team_id_radiant = 30;
|
||||||
|
optional uint32 team_id_dire = 31;
|
||||||
|
optional uint32 sort_score = 17;
|
||||||
|
optional float last_update_time = 18;
|
||||||
|
optional int32 radiant_lead = 19;
|
||||||
|
optional uint32 radiant_score = 20;
|
||||||
|
optional uint32 dire_score = 21;
|
||||||
|
repeated .CSourceTVGameSmall.Player players = 22;
|
||||||
|
optional fixed32 building_state = 23;
|
||||||
|
optional uint32 weekend_tourney_tournament_id = 26;
|
||||||
|
optional uint32 weekend_tourney_division = 27;
|
||||||
|
optional uint32 weekend_tourney_skill_level = 28;
|
||||||
|
optional uint32 weekend_tourney_bracket_round = 29;
|
||||||
|
optional uint32 custom_game_difficulty = 32;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFindTopSourceTVGames {
|
||||||
|
optional string search_key = 1;
|
||||||
|
optional uint32 league_id = 2;
|
||||||
|
optional int32 hero_id = 3;
|
||||||
|
optional uint32 start_game = 4;
|
||||||
|
optional uint32 game_list_index = 5;
|
||||||
|
repeated uint64 lobby_ids = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientFindTopSourceTVGamesResponse {
|
||||||
|
optional string search_key = 1;
|
||||||
|
optional uint32 league_id = 2;
|
||||||
|
optional int32 hero_id = 3;
|
||||||
|
optional uint32 start_game = 4;
|
||||||
|
optional uint32 num_games = 5;
|
||||||
|
optional uint32 game_list_index = 6;
|
||||||
|
repeated .CSourceTVGameSmall game_list = 7;
|
||||||
|
optional bool specific_games = 8;
|
||||||
|
optional .CSourceTVGameSmall bot_game = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientTopWeekendTourneyGames {
|
||||||
|
repeated .CSourceTVGameSmall live_games = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCTopLeagueMatchesRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCTopFriendMatchesRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCMatchesMinimalRequest {
|
||||||
|
repeated uint64 match_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCMatchesMinimalResponse {
|
||||||
|
repeated .CMsgDOTAMatchMinimal matches = 1;
|
||||||
|
optional bool last_match = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientTopLeagueMatchesResponse {
|
||||||
|
repeated .CMsgDOTAMatchMinimal matches = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientTopFriendMatchesResponse {
|
||||||
|
repeated .CMsgDOTAMatchMinimal matches = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSpectateFriendGame {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional bool live = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSpectateFriendGameResponse {
|
||||||
|
enum EWatchLiveResult {
|
||||||
|
SUCCESS = 0;
|
||||||
|
ERROR_GENERIC = 1;
|
||||||
|
ERROR_NO_PLUS = 2;
|
||||||
|
ERROR_NOT_FRIENDS = 3;
|
||||||
|
ERROR_LOBBY_NOT_FOUND = 4;
|
||||||
|
ERROR_SPECTATOR_IN_A_LOBBY = 5;
|
||||||
|
ERROR_LOBBY_IS_LAN = 6;
|
||||||
|
ERROR_WRONG_LOBBY_TYPE = 7;
|
||||||
|
ERROR_WRONG_LOBBY_STATE = 8;
|
||||||
|
ERROR_PLAYER_NOT_PLAYER = 9;
|
||||||
|
ERROR_TOO_MANY_SPECTATORS = 10;
|
||||||
|
ERROR_SPECTATOR_SWITCHED_TEAMS = 11;
|
||||||
|
ERROR_FRIENDS_ON_BOTH_SIDES = 12;
|
||||||
|
ERROR_SPECTATOR_IN_THIS_LOBBY = 13;
|
||||||
|
ERROR_LOBBY_IS_LEAGUE = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed64 server_steamid = 4;
|
||||||
|
optional .CMsgSpectateFriendGameResponse.EWatchLiveResult watch_live_result = 5 [default = SUCCESS];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAReplayDownloadInfo {
|
||||||
|
message Highlight {
|
||||||
|
optional uint32 timestamp = 1;
|
||||||
|
optional string description = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTAMatchMinimal match = 1;
|
||||||
|
optional string title = 2;
|
||||||
|
optional string description = 3;
|
||||||
|
optional uint32 size = 4;
|
||||||
|
repeated string tags = 5;
|
||||||
|
optional bool exists_on_disk = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgWatchGame {
|
||||||
|
optional fixed64 server_steamid = 1;
|
||||||
|
optional uint32 client_version = 2;
|
||||||
|
optional fixed64 watch_server_steamid = 3;
|
||||||
|
optional uint64 lobby_id = 4;
|
||||||
|
repeated uint32 regions = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgCancelWatchGame {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgWatchGameResponse {
|
||||||
|
enum WatchGameResult {
|
||||||
|
PENDING = 0;
|
||||||
|
READY = 1;
|
||||||
|
GAMESERVERNOTFOUND = 2;
|
||||||
|
UNAVAILABLE = 3;
|
||||||
|
CANCELLED = 4;
|
||||||
|
INCOMPATIBLEVERSION = 5;
|
||||||
|
MISSINGLEAGUESUBSCRIPTION = 6;
|
||||||
|
LOBBYNOTFOUND = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgWatchGameResponse.WatchGameResult watch_game_result = 1 [default = PENDING];
|
||||||
|
optional uint32 source_tv_public_addr = 2;
|
||||||
|
optional uint32 source_tv_private_addr = 3;
|
||||||
|
optional uint32 source_tv_port = 4;
|
||||||
|
optional fixed64 game_server_steamid = 5;
|
||||||
|
optional fixed64 watch_server_steamid = 6;
|
||||||
|
optional fixed64 watch_tv_unique_secret_code = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPartyLeaderWatchGamePrompt {
|
||||||
|
optional fixed64 game_server_steamid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTABroadcasterInfo {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional fixed64 server_steam_id = 2;
|
||||||
|
optional bool live = 3;
|
||||||
|
optional string team_name_radiant = 4;
|
||||||
|
optional string team_name_dire = 5;
|
||||||
|
optional uint32 series_game = 7;
|
||||||
|
optional uint32 upcoming_broadcast_timestamp = 9;
|
||||||
|
optional bool allow_live_video = 10;
|
||||||
|
optional uint32 node_type = 11;
|
||||||
|
optional string node_name = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTASeries {
|
||||||
|
message TeamInfo {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional string team_name = 2;
|
||||||
|
optional string team_logo_url = 3;
|
||||||
|
optional uint32 wager_count = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LiveGame {
|
||||||
|
optional fixed64 server_steam_id = 1;
|
||||||
|
optional .CMsgDOTASeries.TeamInfo team_radiant = 2;
|
||||||
|
optional .CMsgDOTASeries.TeamInfo team_dire = 3;
|
||||||
|
optional uint32 team_radiant_score = 4;
|
||||||
|
optional uint32 team_dire_score = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 series_id = 1;
|
||||||
|
optional uint32 series_type = 2;
|
||||||
|
optional .CMsgDOTASeries.TeamInfo team_1 = 3;
|
||||||
|
optional .CMsgDOTASeries.TeamInfo team_2 = 4;
|
||||||
|
repeated .CMsgDOTAMatchMinimal match_minimal = 5;
|
||||||
|
optional .CMsgDOTASeries.LiveGame live_game = 6;
|
||||||
|
}
|
||||||
1808
protos/dota_gcmessages_common.proto
Normal file
1808
protos/dota_gcmessages_common.proto
Normal file
File diff suppressed because it is too large
Load diff
294
protos/dota_gcmessages_common_bot_script.proto
Normal file
294
protos/dota_gcmessages_common_bot_script.proto
Normal file
|
|
@ -0,0 +1,294 @@
|
||||||
|
import "valveextensions.proto";
|
||||||
|
|
||||||
|
message CMsgBotWorldState {
|
||||||
|
message Vector {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
optional float z = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Player {
|
||||||
|
optional int32 player_id = 1 [(valve_map_key) = true];
|
||||||
|
optional int32 hero_id = 2;
|
||||||
|
optional bool is_alive = 3;
|
||||||
|
optional float respawn_time = 4;
|
||||||
|
optional uint32 kills = 5;
|
||||||
|
optional uint32 deaths = 6;
|
||||||
|
optional uint32 assists = 7;
|
||||||
|
optional uint32 team_id = 8;
|
||||||
|
optional uint32 primary_unit_handle = 9 [default = 4294967295];
|
||||||
|
optional int32 mmr = 10;
|
||||||
|
optional .CMsgBotWorldState.Vector location = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Ability {
|
||||||
|
optional uint32 handle = 1 [(valve_map_key) = true];
|
||||||
|
optional int32 ability_id = 2 [default = -1];
|
||||||
|
optional uint32 slot = 3;
|
||||||
|
optional uint32 caster_handle = 5 [default = 4294967295];
|
||||||
|
optional uint32 level = 6;
|
||||||
|
optional uint32 cast_range = 10;
|
||||||
|
optional float channel_time = 11;
|
||||||
|
optional float cooldown_remaining = 12 [default = 0];
|
||||||
|
optional bool is_activated = 20;
|
||||||
|
optional bool is_toggled = 21;
|
||||||
|
optional bool is_in_ability_phase = 22;
|
||||||
|
optional bool is_channeling = 23;
|
||||||
|
optional bool is_stolen = 24;
|
||||||
|
optional bool is_fully_castable = 25;
|
||||||
|
optional uint32 charges = 30;
|
||||||
|
optional uint32 secondary_charges = 31;
|
||||||
|
optional bool is_combined_locked = 40;
|
||||||
|
optional int32 power_treads_stat = 50 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message DroppedItem {
|
||||||
|
optional int32 item_id = 1 [default = -1];
|
||||||
|
optional .CMsgBotWorldState.Vector location = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message RuneInfo {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional .CMsgBotWorldState.Vector location = 2;
|
||||||
|
optional uint32 status = 3;
|
||||||
|
optional float time_since_seen = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeleportInfo {
|
||||||
|
optional int32 player_id = 1;
|
||||||
|
optional .CMsgBotWorldState.Vector location = 2;
|
||||||
|
optional float time_remaining = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Modifier {
|
||||||
|
optional uint32 handle = 7 [(valve_map_key) = true];
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 stack_count = 2;
|
||||||
|
optional uint32 ability_handle = 3 [default = 4294967295];
|
||||||
|
optional int32 ability_id = 4 [default = -1];
|
||||||
|
optional float remaining_duration = 5;
|
||||||
|
repeated uint32 auxiliary_units_handles = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LinearProjectile {
|
||||||
|
optional uint32 handle = 1 [(valve_map_key) = true];
|
||||||
|
optional uint32 caster_handle = 2 [default = 4294967295];
|
||||||
|
optional .CMsgBotWorldState.UnitType caster_unit_type = 9 [default = INVALID];
|
||||||
|
optional int32 caster_player_id = 3;
|
||||||
|
optional uint32 ability_handle = 4 [default = 4294967295];
|
||||||
|
optional int32 ability_id = 5 [default = -1];
|
||||||
|
optional .CMsgBotWorldState.Vector location = 6;
|
||||||
|
optional .CMsgBotWorldState.Vector velocity = 7;
|
||||||
|
optional uint32 radius = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TrackingProjectile {
|
||||||
|
optional uint32 handle = 10 [(valve_map_key) = true];
|
||||||
|
optional uint32 caster_handle = 1 [default = 4294967295];
|
||||||
|
optional .CMsgBotWorldState.UnitType caster_unit_type = 9 [default = INVALID];
|
||||||
|
optional int32 caster_player_id = 2;
|
||||||
|
optional uint32 ability_handle = 3 [default = 4294967295];
|
||||||
|
optional int32 ability_id = 4 [default = -1];
|
||||||
|
optional .CMsgBotWorldState.Vector location = 5;
|
||||||
|
optional uint32 velocity = 6;
|
||||||
|
optional bool is_dodgeable = 7;
|
||||||
|
optional bool is_attack = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message AvoidanceZone {
|
||||||
|
optional .CMsgBotWorldState.Vector location = 1;
|
||||||
|
optional uint32 caster_handle = 2 [default = 4294967295];
|
||||||
|
optional .CMsgBotWorldState.UnitType caster_unit_type = 7 [default = INVALID];
|
||||||
|
optional int32 caster_player_id = 3;
|
||||||
|
optional uint32 ability_handle = 4 [default = 4294967295];
|
||||||
|
optional int32 ability_id = 5 [default = -1];
|
||||||
|
optional uint32 radius = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Courier {
|
||||||
|
optional uint32 handle = 1 [(valve_map_key) = true];
|
||||||
|
optional .CMsgBotWorldState.CourierState state = 2 [default = COURIER_STATE_INIT];
|
||||||
|
optional int32 player_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventAbility {
|
||||||
|
optional int32 ability_id = 1 [default = -1];
|
||||||
|
optional int32 player_id = 2;
|
||||||
|
optional uint32 unit_handle = 3 [default = 4294967295];
|
||||||
|
optional .CMsgBotWorldState.Vector location = 4;
|
||||||
|
optional bool is_channel_start = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventDamage {
|
||||||
|
optional uint32 damage = 1;
|
||||||
|
optional int32 victim_player_id = 2;
|
||||||
|
optional uint32 victim_unit_handle = 3 [default = 4294967295];
|
||||||
|
optional int32 attacker_player_id = 4;
|
||||||
|
optional uint32 attacker_unit_handle = 5 [default = 4294967295];
|
||||||
|
optional int32 ability_id = 6 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventCourierKilled {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional uint32 courier_unit_handle = 2 [default = 4294967295];
|
||||||
|
optional int32 killer_player_id = 3;
|
||||||
|
optional uint32 killer_unit_handle = 4 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventRoshanKilled {
|
||||||
|
optional int32 killer_player_id = 1;
|
||||||
|
optional uint32 killer_unit_handle = 2 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventTree {
|
||||||
|
optional uint32 tree_id = 1;
|
||||||
|
optional bool destroyed = 2;
|
||||||
|
optional bool respawned = 3;
|
||||||
|
optional .CMsgBotWorldState.Vector location = 4;
|
||||||
|
optional bool delayed = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Unit {
|
||||||
|
optional uint32 handle = 1 [(valve_map_key) = true];
|
||||||
|
optional .CMsgBotWorldState.UnitType unit_type = 2 [default = INVALID];
|
||||||
|
optional string name = 3;
|
||||||
|
optional uint32 team_id = 4;
|
||||||
|
optional uint32 level = 5;
|
||||||
|
optional .CMsgBotWorldState.Vector location = 6;
|
||||||
|
optional bool is_alive = 7;
|
||||||
|
optional int32 player_id = 8;
|
||||||
|
optional int32 bounding_radius = 10;
|
||||||
|
optional int32 facing = 11;
|
||||||
|
optional uint32 ground_height = 12;
|
||||||
|
optional uint32 vision_range_daytime = 15;
|
||||||
|
optional uint32 vision_range_nighttime = 16;
|
||||||
|
optional int32 health = 20;
|
||||||
|
optional int32 health_max = 21;
|
||||||
|
optional float health_regen = 22;
|
||||||
|
optional int32 mana = 25;
|
||||||
|
optional int32 mana_max = 26;
|
||||||
|
optional float mana_regen = 27;
|
||||||
|
optional int32 base_movement_speed = 30;
|
||||||
|
optional int32 current_movement_speed = 31;
|
||||||
|
optional int32 anim_activity = 35;
|
||||||
|
optional float anim_cycle = 36;
|
||||||
|
optional int32 base_damage = 40;
|
||||||
|
optional int32 base_damage_variance = 41;
|
||||||
|
optional int32 bonus_damage = 42;
|
||||||
|
optional int32 attack_damage = 43;
|
||||||
|
optional int32 attack_range = 44;
|
||||||
|
optional float attack_speed = 45;
|
||||||
|
optional float attack_anim_point = 46;
|
||||||
|
optional int32 attack_acquisition_range = 47;
|
||||||
|
optional int32 attack_projectile_speed = 48;
|
||||||
|
optional uint32 attack_target_handle = 49 [default = 4294967295];
|
||||||
|
optional string attack_target_name = 52;
|
||||||
|
optional int32 attacks_per_second = 50 [default = -1];
|
||||||
|
optional float last_attack_time = 51 [default = -1];
|
||||||
|
optional uint32 bounty_xp = 60;
|
||||||
|
optional uint32 bounty_gold_min = 61;
|
||||||
|
optional uint32 bounty_gold_max = 62;
|
||||||
|
optional bool is_channeling = 65;
|
||||||
|
optional uint32 active_ability_handle = 66 [default = 4294967295];
|
||||||
|
optional bool is_attack_immune = 70;
|
||||||
|
optional bool is_blind = 71;
|
||||||
|
optional bool is_block_disabled = 72;
|
||||||
|
optional bool is_disarmed = 73;
|
||||||
|
optional bool is_dominated = 74;
|
||||||
|
optional bool is_evade_disabled = 75;
|
||||||
|
optional bool is_hexed = 76;
|
||||||
|
optional bool is_invisible = 77;
|
||||||
|
optional bool is_invulnerable = 78;
|
||||||
|
optional bool is_magic_immune = 79;
|
||||||
|
optional bool is_muted = 80;
|
||||||
|
optional bool is_nightmared = 82;
|
||||||
|
optional bool is_rooted = 83;
|
||||||
|
optional bool is_silenced = 84;
|
||||||
|
optional bool is_specially_deniable = 85;
|
||||||
|
optional bool is_stunned = 86;
|
||||||
|
optional bool is_unable_to_miss = 87;
|
||||||
|
optional bool has_scepter = 88;
|
||||||
|
optional bool is_specially_undeniable = 94;
|
||||||
|
repeated .CMsgBotWorldState.Ability abilities = 90 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.Ability items = 91 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.Modifier modifiers = 92 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.TrackingProjectile incoming_tracking_projectiles = 93 [(valve_map_field) = true];
|
||||||
|
optional uint32 action_type = 100;
|
||||||
|
optional uint32 ability_target_handle = 101 [default = 4294967295];
|
||||||
|
optional string ability_target_name = 103;
|
||||||
|
optional bool is_using_ability = 102;
|
||||||
|
optional uint32 primary_attribute = 110;
|
||||||
|
optional bool is_illusion = 111;
|
||||||
|
optional float respawn_time = 112;
|
||||||
|
optional uint32 buyback_cost = 113;
|
||||||
|
optional float buyback_cooldown = 114;
|
||||||
|
optional float spell_amplification = 115;
|
||||||
|
optional float armor = 116;
|
||||||
|
optional float magic_resist = 117;
|
||||||
|
optional float evasion = 118;
|
||||||
|
optional uint32 xp_needed_to_level = 120;
|
||||||
|
optional uint32 ability_points = 121;
|
||||||
|
optional int32 reliable_gold = 122 [default = -1];
|
||||||
|
optional int32 unreliable_gold = 123 [default = -1];
|
||||||
|
optional uint32 last_hits = 124;
|
||||||
|
optional uint32 denies = 125;
|
||||||
|
optional uint32 net_worth = 126;
|
||||||
|
optional uint32 strength = 127;
|
||||||
|
optional uint32 agility = 128;
|
||||||
|
optional uint32 intelligence = 129;
|
||||||
|
optional float remaining_lifespan = 130;
|
||||||
|
optional bool flying_courier = 140;
|
||||||
|
optional float shrine_cooldown = 150;
|
||||||
|
optional bool is_shrine_healing = 151;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum UnitType {
|
||||||
|
INVALID = 0;
|
||||||
|
HERO = 1;
|
||||||
|
CREEP_HERO = 2;
|
||||||
|
LANE_CREEP = 3;
|
||||||
|
JUNGLE_CREEP = 4;
|
||||||
|
ROSHAN = 5;
|
||||||
|
TOWER = 6;
|
||||||
|
BARRACKS = 7;
|
||||||
|
SHRINE = 8;
|
||||||
|
FORT = 9;
|
||||||
|
BUILDING = 10;
|
||||||
|
COURIER = 11;
|
||||||
|
WARD = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum CourierState {
|
||||||
|
COURIER_STATE_INIT = -1;
|
||||||
|
COURIER_STATE_IDLE = 0;
|
||||||
|
COURIER_STATE_AT_BASE = 1;
|
||||||
|
COURIER_STATE_MOVING = 2;
|
||||||
|
COURIER_STATE_DELIVERING_ITEMS = 3;
|
||||||
|
COURIER_STATE_RETURNING_TO_BASE = 4;
|
||||||
|
COURIER_STATE_DEAD = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional float game_time = 2;
|
||||||
|
optional float dota_time = 3;
|
||||||
|
optional uint32 game_state = 4;
|
||||||
|
optional uint32 hero_pick_state = 5;
|
||||||
|
optional float time_of_day = 6;
|
||||||
|
optional float glyph_cooldown = 7;
|
||||||
|
optional float glyph_cooldown_enemy = 8;
|
||||||
|
repeated .CMsgBotWorldState.Player players = 10 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.Unit units = 11 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.DroppedItem dropped_items = 12 [(diff_encode_field) = 112];
|
||||||
|
repeated int32 dropped_items_deltas = 112;
|
||||||
|
repeated .CMsgBotWorldState.RuneInfo rune_infos = 13 [(diff_encode_field) = 113];
|
||||||
|
repeated int32 rune_infos_deltas = 113;
|
||||||
|
repeated .CMsgBotWorldState.TeleportInfo incoming_teleports = 14;
|
||||||
|
repeated .CMsgBotWorldState.LinearProjectile linear_projectiles = 15 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.AvoidanceZone avoidance_zones = 16;
|
||||||
|
repeated .CMsgBotWorldState.Courier couriers = 17 [(valve_map_field) = true];
|
||||||
|
repeated .CMsgBotWorldState.EventAbility ability_events = 20;
|
||||||
|
repeated .CMsgBotWorldState.EventDamage damage_events = 21;
|
||||||
|
repeated .CMsgBotWorldState.EventCourierKilled courier_killed_events = 22;
|
||||||
|
repeated .CMsgBotWorldState.EventRoshanKilled roshan_killed_events = 23;
|
||||||
|
repeated .CMsgBotWorldState.EventTree tree_events = 24;
|
||||||
|
}
|
||||||
58
protos/dota_gcmessages_common_fighting_game.proto
Normal file
58
protos/dota_gcmessages_common_fighting_game.proto
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
|
||||||
|
message CMsgClientToGCFightingGameChallengeFriend {
|
||||||
|
optional uint32 friend_account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFightingGameChallengeFriendResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidAccountID = 5;
|
||||||
|
k_eStillWaitingOnAnotherChallenge = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFightingGameChallengeFriendResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFightingGameCancelChallengeFriend {
|
||||||
|
optional uint32 friend_account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFightingGameAnswerChallenge {
|
||||||
|
optional uint32 challenger_account_id = 1;
|
||||||
|
optional bool accept = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCFightingGameAnswerChallengeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidChallenge = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCFightingGameAnswerChallengeResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientFightingGameChallenge {
|
||||||
|
optional uint32 challenger_account_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientFightingGameChallengeCanceled {
|
||||||
|
optional uint32 challenger_account_id = 1;
|
||||||
|
optional uint32 responder_account_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientFightingGameStartMatch {
|
||||||
|
optional uint32 challenger_account_id = 1;
|
||||||
|
optional uint32 responder_account_id = 2;
|
||||||
|
}
|
||||||
351
protos/dota_gcmessages_common_league.proto
Normal file
351
protos/dota_gcmessages_common_league.proto
Normal file
|
|
@ -0,0 +1,351 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum ELeagueNodeGroupType {
|
||||||
|
INVALID_GROUP_TYPE = 0;
|
||||||
|
ORGANIZATIONAL = 1;
|
||||||
|
ROUND_ROBIN = 2;
|
||||||
|
SWISS = 3;
|
||||||
|
BRACKET_SINGLE = 4;
|
||||||
|
BRACKET_DOUBLE_SEED_LOSER = 5;
|
||||||
|
BRACKET_DOUBLE_ALL_WINNER = 6;
|
||||||
|
SHOWMATCH = 7;
|
||||||
|
GSL = 8;
|
||||||
|
PLACEMENT = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueNodeType {
|
||||||
|
INVALID_NODE_TYPE = 0;
|
||||||
|
BEST_OF_ONE = 1;
|
||||||
|
BEST_OF_THREE = 2;
|
||||||
|
BEST_OF_FIVE = 3;
|
||||||
|
BEST_OF_TWO = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueNode {
|
||||||
|
message MatchDetails {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional uint32 winning_team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VOD {
|
||||||
|
optional uint32 series_game = 1;
|
||||||
|
optional uint32 stream_id = 2;
|
||||||
|
optional string url = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 node_id = 2;
|
||||||
|
optional uint32 node_group_id = 3;
|
||||||
|
optional uint32 winning_node_id = 4;
|
||||||
|
optional uint32 losing_node_id = 5;
|
||||||
|
optional uint32 incoming_node_id_1 = 6;
|
||||||
|
optional uint32 incoming_node_id_2 = 7;
|
||||||
|
optional .ELeagueNodeType node_type = 8 [default = INVALID_NODE_TYPE];
|
||||||
|
optional uint32 scheduled_time = 9;
|
||||||
|
optional uint32 actual_time = 19;
|
||||||
|
optional uint32 series_id = 10;
|
||||||
|
optional uint32 team_id_1 = 11;
|
||||||
|
optional uint32 team_id_2 = 12;
|
||||||
|
repeated .CMsgDOTALeagueNode.MatchDetails matches = 13;
|
||||||
|
optional uint32 team_1_wins = 14;
|
||||||
|
optional uint32 team_2_wins = 15;
|
||||||
|
optional bool has_started = 16;
|
||||||
|
optional bool is_completed = 17;
|
||||||
|
repeated uint32 stream_ids = 18;
|
||||||
|
repeated .CMsgDOTALeagueNode.VOD vods = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueNodeGroup {
|
||||||
|
message TeamStanding {
|
||||||
|
optional uint32 standing = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
optional string team_name = 3;
|
||||||
|
optional string team_tag = 4;
|
||||||
|
optional uint64 team_logo = 5;
|
||||||
|
optional string team_logo_url = 6;
|
||||||
|
optional uint32 wins = 7;
|
||||||
|
optional uint32 losses = 8;
|
||||||
|
optional int64 score = 9;
|
||||||
|
optional string team_abbreviation = 10;
|
||||||
|
optional int64 score_tiebreak_group = 11;
|
||||||
|
optional int64 score_tiebreak_below = 12;
|
||||||
|
optional int64 score_tiebreak_random = 13;
|
||||||
|
optional bool is_pro = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 node_group_id = 2;
|
||||||
|
optional uint32 parent_node_group_id = 3;
|
||||||
|
repeated uint32 incoming_node_group_ids = 4;
|
||||||
|
optional uint32 advancing_node_group_id = 5;
|
||||||
|
optional uint32 advancing_team_count = 6;
|
||||||
|
optional uint32 team_count = 7;
|
||||||
|
optional .ELeagueNodeGroupType node_group_type = 8 [default = INVALID_GROUP_TYPE];
|
||||||
|
optional .ELeagueNodeType default_node_type = 9 [default = INVALID_NODE_TYPE];
|
||||||
|
optional uint32 round = 10;
|
||||||
|
optional uint32 max_rounds = 11;
|
||||||
|
optional bool is_tiebreaker = 12;
|
||||||
|
optional bool is_final_group = 13;
|
||||||
|
optional bool is_completed = 14;
|
||||||
|
optional .ELeaguePhase phase = 18 [default = LEAGUE_PHASE_UNSET];
|
||||||
|
optional .ELeagueRegion region = 19 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional uint32 start_time = 20;
|
||||||
|
optional uint32 end_time = 21;
|
||||||
|
optional uint32 secondary_advancing_node_group_id = 22;
|
||||||
|
optional uint32 secondary_advancing_team_count = 23;
|
||||||
|
optional uint32 tertiary_advancing_node_group_id = 24;
|
||||||
|
optional uint32 tertiary_advancing_team_count = 25;
|
||||||
|
optional uint32 elimination_dpc_points = 26;
|
||||||
|
repeated .CMsgDOTALeagueNodeGroup.TeamStanding team_standings = 15;
|
||||||
|
repeated .CMsgDOTALeagueNode nodes = 16;
|
||||||
|
repeated .CMsgDOTALeagueNodeGroup node_groups = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeague {
|
||||||
|
message Info {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional .ELeagueTier tier = 3 [default = LEAGUE_TIER_UNSET];
|
||||||
|
optional .ELeagueRegion region = 4 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional string url = 5;
|
||||||
|
optional string description = 6;
|
||||||
|
optional string notes = 7;
|
||||||
|
optional uint32 start_timestamp = 8;
|
||||||
|
optional uint32 end_timestamp = 9;
|
||||||
|
optional uint32 pro_circuit_points = 10;
|
||||||
|
optional uint32 image_bits = 11;
|
||||||
|
optional .ELeagueStatus status = 12 [default = LEAGUE_STATUS_UNSET];
|
||||||
|
optional uint32 most_recent_activity = 13;
|
||||||
|
optional uint32 registration_period = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Admin {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional bool is_primary = 2;
|
||||||
|
optional string email_address = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrizePoolItem {
|
||||||
|
optional uint32 item_def = 1;
|
||||||
|
optional uint32 sales_stop_timestamp = 2;
|
||||||
|
optional uint32 revenue_pct = 3;
|
||||||
|
optional uint32 revenue_cents_per_sale = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PrizePool {
|
||||||
|
optional uint32 base_prize_pool = 1;
|
||||||
|
optional uint32 total_prize_pool = 2;
|
||||||
|
repeated uint32 prize_split_pct_x100 = 3;
|
||||||
|
repeated .CMsgDOTALeague.PrizePoolItem prize_pool_items = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Stream {
|
||||||
|
optional uint32 stream_id = 1;
|
||||||
|
optional uint32 language = 2;
|
||||||
|
optional string name = 3;
|
||||||
|
optional .ELeagueBroadcastProvider broadcast_provider = 4 [default = LEAGUE_BROADCAST_UNKNOWN];
|
||||||
|
optional string stream_url = 5;
|
||||||
|
optional string vod_url = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SeriesInfo {
|
||||||
|
optional uint32 series_id = 1;
|
||||||
|
optional uint32 series_type = 2;
|
||||||
|
optional uint32 start_time = 3;
|
||||||
|
repeated uint64 match_ids = 4;
|
||||||
|
optional uint32 team_id_1 = 5;
|
||||||
|
optional uint32 team_id_2 = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Player {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional uint32 team_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDOTALeague.Info info = 1;
|
||||||
|
optional .CMsgDOTALeague.PrizePool prize_pool = 2;
|
||||||
|
repeated .CMsgDOTALeague.Admin admins = 3;
|
||||||
|
repeated .CMsgDOTALeague.Stream streams = 4;
|
||||||
|
repeated .CMsgDOTALeagueNodeGroup node_groups = 5;
|
||||||
|
repeated .CMsgDOTALeague.SeriesInfo series_infos = 6;
|
||||||
|
repeated .CMsgDOTALeague.Player registered_players = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueList {
|
||||||
|
repeated .CMsgDOTALeague leagues = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueInfo {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional .ELeagueTier tier = 3 [default = LEAGUE_TIER_UNSET];
|
||||||
|
optional .ELeagueRegion region = 4 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional uint32 most_recent_activity = 5;
|
||||||
|
optional uint32 total_prize_pool = 6;
|
||||||
|
optional uint32 start_timestamp = 7;
|
||||||
|
optional uint32 end_timestamp = 8;
|
||||||
|
optional uint32 status = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueInfoList {
|
||||||
|
repeated .CMsgDOTALeagueInfo infos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueLiveGames {
|
||||||
|
message LiveGame {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint64 server_steam_id = 2;
|
||||||
|
optional string radiant_name = 3;
|
||||||
|
optional uint64 radiant_logo = 4;
|
||||||
|
optional uint32 radiant_team_id = 9;
|
||||||
|
optional string dire_name = 5;
|
||||||
|
optional uint64 dire_logo = 6;
|
||||||
|
optional uint32 dire_team_id = 10;
|
||||||
|
optional uint32 time = 7;
|
||||||
|
optional uint32 spectators = 8;
|
||||||
|
optional uint32 league_node_id = 11;
|
||||||
|
optional uint32 series_id = 12;
|
||||||
|
optional uint64 match_id = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTALeagueLiveGames.LiveGame games = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueMessages {
|
||||||
|
message Message {
|
||||||
|
optional uint32 author_account_id = 1;
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional string message = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTALeagueMessages.Message messages = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeaguePrizePool {
|
||||||
|
optional uint32 prize_pool = 1;
|
||||||
|
optional float increment_per_second = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueInfoListAdminsRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueAvailableLobbyNodesRequest {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueAvailableLobbyNodes {
|
||||||
|
message NodeInfo {
|
||||||
|
optional uint32 node_id = 1;
|
||||||
|
optional string node_name = 2;
|
||||||
|
optional string node_group_name = 3;
|
||||||
|
optional uint32 team_id_1 = 4;
|
||||||
|
optional uint32 team_id_2 = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTALeagueAvailableLobbyNodes.NodeInfo node_infos = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTALeagueNodeResults {
|
||||||
|
message Result {
|
||||||
|
optional uint32 node_id = 1;
|
||||||
|
optional uint32 winning_node_id = 2;
|
||||||
|
optional uint32 losing_node_id = 3;
|
||||||
|
optional uint32 incoming_node_id_1 = 4;
|
||||||
|
optional uint32 incoming_node_id_2 = 5;
|
||||||
|
optional uint32 team_id_1 = 6;
|
||||||
|
optional uint32 team_id_2 = 7;
|
||||||
|
optional string team_1_name = 8;
|
||||||
|
optional string team_2_name = 9;
|
||||||
|
optional uint32 team_1_wins = 10;
|
||||||
|
optional uint32 team_2_wins = 11;
|
||||||
|
optional uint32 winning_team_id = 12;
|
||||||
|
optional uint32 losing_team_id = 13;
|
||||||
|
optional bool has_started = 14;
|
||||||
|
optional bool is_completed = 15;
|
||||||
|
optional uint32 scheduled_time = 16;
|
||||||
|
repeated uint64 match_ids = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTALeagueNodeResults.Result node_results = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCLeagueResults {
|
||||||
|
message Result {
|
||||||
|
optional uint32 standing = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
optional string team_name = 3;
|
||||||
|
optional uint64 team_logo = 4;
|
||||||
|
optional string team_logo_url = 5;
|
||||||
|
optional uint32 points = 6;
|
||||||
|
optional uint32 earnings = 7;
|
||||||
|
optional uint32 timestamp = 8;
|
||||||
|
optional .ELeaguePhase phase = 9 [default = LEAGUE_PHASE_UNSET];
|
||||||
|
optional string team_abbreviation = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCLeagueResults.Result results = 1;
|
||||||
|
repeated uint32 points = 2;
|
||||||
|
repeated uint32 dollars = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCTeamResults {
|
||||||
|
message Result {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
optional uint32 standing = 2;
|
||||||
|
optional uint32 points = 3;
|
||||||
|
optional uint32 earnings = 4;
|
||||||
|
optional uint32 timestamp = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCTeamResults.Result results = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCSeasonResults {
|
||||||
|
message TeamLeagueResult {
|
||||||
|
optional uint32 timestamp = 1;
|
||||||
|
optional uint32 league_id = 2;
|
||||||
|
optional uint32 standing = 3;
|
||||||
|
optional uint32 points = 4;
|
||||||
|
optional uint32 earnings = 5;
|
||||||
|
optional uint32 audit_action = 6;
|
||||||
|
optional uint32 audit_data = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeamResult {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional string team_name = 2;
|
||||||
|
optional string team_abbreviation = 8;
|
||||||
|
optional uint64 team_logo = 3;
|
||||||
|
optional string team_logo_url = 4;
|
||||||
|
optional uint32 total_points = 5;
|
||||||
|
optional uint32 total_earnings = 6;
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.TeamLeagueResult league_results = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message StandingEntry {
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional uint32 wins = 2;
|
||||||
|
optional uint32 losses = 3;
|
||||||
|
optional string team_url = 4;
|
||||||
|
optional string team_name = 5;
|
||||||
|
optional string team_abbreviation = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Standing {
|
||||||
|
optional .ELeagueRegion region = 1 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional .ELeagueDivision division = 2 [default = LEAGUE_DIVISION_UNSET];
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.StandingEntry entries = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.TeamResult results = 1;
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.Standing standings = 2;
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.StandingEntry major_wildcard_standings = 3;
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.StandingEntry major_group_standings = 4;
|
||||||
|
repeated .CMsgDOTADPCSeasonResults.StandingEntry major_playoff_standings = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCSeasonSpoilerResults {
|
||||||
|
optional uint32 time_last_updated = 1;
|
||||||
|
optional .CMsgDOTADPCSeasonResults saved_results = 2;
|
||||||
|
}
|
||||||
403
protos/dota_gcmessages_common_lobby.proto
Normal file
403
protos/dota_gcmessages_common_lobby.proto
Normal file
|
|
@ -0,0 +1,403 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
|
||||||
|
enum ELobbyMemberCoachRequestState {
|
||||||
|
k_eLobbyMemberCoachRequestState_None = 0;
|
||||||
|
k_eLobbyMemberCoachRequestState_Accepted = 1;
|
||||||
|
k_eLobbyMemberCoachRequestState_Rejected = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum LobbyDotaTVDelay {
|
||||||
|
LobbyDotaTV_10 = 0;
|
||||||
|
LobbyDotaTV_120 = 1;
|
||||||
|
LobbyDotaTV_300 = 2;
|
||||||
|
LobbyDotaTV_900 = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum LobbyDotaPauseSetting {
|
||||||
|
LobbyDotaPauseSetting_Unlimited = 0;
|
||||||
|
LobbyDotaPauseSetting_Limited = 1;
|
||||||
|
LobbyDotaPauseSetting_Disabled = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyCoachFriendRequest {
|
||||||
|
optional uint32 coach_account_id = 1;
|
||||||
|
optional uint32 player_account_id = 2;
|
||||||
|
optional .ELobbyMemberCoachRequestState request_state = 3 [default = k_eLobbyMemberCoachRequestState_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyPlayerPlusSubscriptionData {
|
||||||
|
message HeroBadge {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 hero_badge_xp = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgLobbyPlayerPlusSubscriptionData.HeroBadge hero_badges = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgEventActionData {
|
||||||
|
optional uint32 action_id = 1;
|
||||||
|
optional uint32 action_score = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPeriodicResourceData {
|
||||||
|
optional uint32 periodic_resource_id = 1;
|
||||||
|
optional uint32 remaining = 2;
|
||||||
|
optional uint32 max = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyEventPoints {
|
||||||
|
message AccountPoints {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional uint32 normal_points = 2;
|
||||||
|
optional uint32 premium_points = 3;
|
||||||
|
optional bool owned = 4;
|
||||||
|
optional uint32 event_level = 7;
|
||||||
|
optional uint64 active_effects_mask = 12;
|
||||||
|
optional uint32 wager_streak = 23;
|
||||||
|
repeated .CMsgEventActionData event_game_custom_actions = 25;
|
||||||
|
optional uint32 tip_amount_index = 26;
|
||||||
|
optional uint32 active_event_season_id = 27;
|
||||||
|
optional uint32 teleport_fx_level = 28;
|
||||||
|
repeated .CMsgEventActionData networked_event_actions = 30;
|
||||||
|
repeated .CMsgPeriodicResourceData periodic_resources = 31;
|
||||||
|
repeated .CExtraMsgBlock extra_event_messages = 32;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 event_id = 1;
|
||||||
|
repeated .CMsgLobbyEventPoints.AccountPoints account_points = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyEventGameData {
|
||||||
|
optional uint32 game_seed = 1;
|
||||||
|
optional uint32 event_window_start_time = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTALobbyInvite {
|
||||||
|
message LobbyMember {
|
||||||
|
optional string name = 1;
|
||||||
|
optional fixed64 steam_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 group_id = 1 [(key_field) = true];
|
||||||
|
optional fixed64 sender_id = 2;
|
||||||
|
optional string sender_name = 3;
|
||||||
|
repeated .CSODOTALobbyInvite.LobbyMember members = 4;
|
||||||
|
optional uint64 custom_game_id = 5;
|
||||||
|
optional fixed64 invite_gid = 6;
|
||||||
|
optional fixed64 custom_game_crc = 7;
|
||||||
|
optional fixed32 custom_game_timestamp = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTALobbyMember {
|
||||||
|
optional fixed64 id = 1 [(key_field) = true];
|
||||||
|
optional int32 hero_id = 2;
|
||||||
|
optional .DOTA_GC_TEAM team = 3 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional string name = 6;
|
||||||
|
optional uint32 slot = 7;
|
||||||
|
optional uint64 party_id = 12;
|
||||||
|
optional uint32 meta_level = 13;
|
||||||
|
optional uint32 meta_xp = 14;
|
||||||
|
optional uint32 meta_xp_awarded = 15;
|
||||||
|
optional .DOTALeaverStatus_t leaver_status = 16 [default = DOTA_LEAVER_NONE];
|
||||||
|
optional uint32 leaver_actions = 28;
|
||||||
|
optional uint32 channel = 17 [default = 6];
|
||||||
|
repeated int32 disabled_hero_id = 20;
|
||||||
|
repeated int32 enabled_hero_id = 22;
|
||||||
|
optional .DOTA_GC_TEAM coach_team = 23 [default = DOTA_GC_TEAM_NOTEAM];
|
||||||
|
repeated uint32 coached_account_ids = 53;
|
||||||
|
optional uint32 coach_rating = 42;
|
||||||
|
optional uint32 pwrd_cyber_cafe_id = 24;
|
||||||
|
optional string pwrd_cyber_cafe_name = 25;
|
||||||
|
repeated fixed32 disabled_random_hero_bits = 41;
|
||||||
|
optional sint32 rank_change = 29;
|
||||||
|
optional bool cameraman = 30;
|
||||||
|
repeated uint32 custom_game_product_ids = 31;
|
||||||
|
optional .MatchType search_match_type = 33 [default = MATCH_TYPE_CASUAL];
|
||||||
|
optional uint64 favorite_team_packed = 35;
|
||||||
|
optional bool is_plus_subscriber = 36;
|
||||||
|
optional uint32 lane_selection_flags = 38;
|
||||||
|
optional bool can_earn_rewards = 39;
|
||||||
|
optional .DOTA_GC_TEAM live_spectator_team = 40 [default = DOTA_GC_TEAM_NOTEAM];
|
||||||
|
optional bool was_mvp_last_game = 43;
|
||||||
|
repeated .CMsgPendingEventAward pending_awards = 44;
|
||||||
|
repeated .CMsgPendingEventAward pending_awards_on_victory = 45;
|
||||||
|
optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
|
||||||
|
optional sint32 queue_point_adjustment = 47;
|
||||||
|
optional int32 rank_tier = 48;
|
||||||
|
optional uint32 title = 50;
|
||||||
|
optional uint32 guild_id = 51;
|
||||||
|
optional uint32 reports_available = 52;
|
||||||
|
optional bool is_steam_china = 54;
|
||||||
|
optional uint32 live_spectator_account_id = 55;
|
||||||
|
optional uint32 comms_reports_available = 56;
|
||||||
|
repeated int32 banned_hero_ids = 57;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAServerLobbyMember {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAStaticLobbyMember {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAServerStaticLobbyMember {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLobbyTeamDetails {
|
||||||
|
optional string team_name = 1;
|
||||||
|
optional string team_tag = 3;
|
||||||
|
optional uint32 team_id = 4;
|
||||||
|
optional uint64 team_logo = 5;
|
||||||
|
optional uint64 team_base_logo = 6;
|
||||||
|
optional uint64 team_banner_logo = 7;
|
||||||
|
optional bool team_complete = 8;
|
||||||
|
optional uint32 rank = 15;
|
||||||
|
optional sint32 rank_change = 16;
|
||||||
|
optional bool is_home_team = 17;
|
||||||
|
optional bool is_challenge_match = 18;
|
||||||
|
optional uint64 challenge_match_token_account = 19;
|
||||||
|
optional string team_logo_url = 20;
|
||||||
|
optional string team_abbreviation = 21;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLobbyGuildDetails {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 guild_primary_color = 2;
|
||||||
|
optional uint32 guild_secondary_color = 3;
|
||||||
|
optional uint32 guild_pattern = 4;
|
||||||
|
optional uint64 guild_logo = 5;
|
||||||
|
optional uint32 guild_points = 6;
|
||||||
|
optional uint32 guild_event = 7;
|
||||||
|
optional uint32 guild_flags = 8;
|
||||||
|
optional .DOTA_GC_TEAM team_for_guild = 9 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional string guild_tag = 10;
|
||||||
|
optional uint32 guild_weekly_percentile = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLobbyTimedRewardDetails {
|
||||||
|
optional uint32 item_def_index = 2;
|
||||||
|
optional bool is_supply_crate = 3;
|
||||||
|
optional bool is_timed_drop = 4;
|
||||||
|
optional uint32 account_id = 5;
|
||||||
|
optional uint32 origin = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLobbyBroadcastChannelInfo {
|
||||||
|
optional uint32 channel_id = 1;
|
||||||
|
optional string country_code = 2;
|
||||||
|
optional string description = 3;
|
||||||
|
optional string language_code = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLobbyGuildChallenge {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 challenge_instance_id = 3;
|
||||||
|
optional uint32 challenge_parameter = 4;
|
||||||
|
optional uint32 challenge_timestamp = 5;
|
||||||
|
optional uint32 challenge_period_serial = 6;
|
||||||
|
optional uint32 challenge_progress_at_start = 7;
|
||||||
|
repeated uint32 eligible_account_ids = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTALobbyMatchQualityData {
|
||||||
|
optional uint32 overall_quality = 1;
|
||||||
|
optional uint32 team_balance = 2;
|
||||||
|
optional uint32 match_skill_range = 3;
|
||||||
|
optional uint32 match_behavior = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTALobby {
|
||||||
|
message CExtraMsg {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional bytes contents = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum State {
|
||||||
|
UI = 0;
|
||||||
|
READYUP = 4;
|
||||||
|
SERVERSETUP = 1;
|
||||||
|
RUN = 2;
|
||||||
|
POSTGAME = 3;
|
||||||
|
NOTREADY = 5;
|
||||||
|
SERVERASSIGN = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum LobbyType {
|
||||||
|
INVALID = -1;
|
||||||
|
CASUAL_MATCH = 0;
|
||||||
|
PRACTICE = 1;
|
||||||
|
COOP_BOT_MATCH = 4;
|
||||||
|
COMPETITIVE_MATCH = 7;
|
||||||
|
WEEKEND_TOURNEY = 9;
|
||||||
|
LOCAL_BOT_MATCH = 10;
|
||||||
|
SPECTATOR = 11;
|
||||||
|
EVENT_MATCH = 12;
|
||||||
|
NEW_PLAYER_POOL = 14;
|
||||||
|
FEATURED_GAMEMODE = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 lobby_id = 1 [(key_field) = true];
|
||||||
|
repeated .CSODOTALobbyMember all_members = 120;
|
||||||
|
repeated uint32 member_indices = 121;
|
||||||
|
repeated uint32 left_member_indices = 122;
|
||||||
|
repeated uint32 free_member_indices = 123;
|
||||||
|
optional fixed64 leader_id = 11;
|
||||||
|
optional fixed64 server_id = 6 [default = 0];
|
||||||
|
optional uint32 game_mode = 3;
|
||||||
|
repeated fixed64 pending_invites = 10;
|
||||||
|
optional .CSODOTALobby.State state = 4 [default = UI];
|
||||||
|
optional string connect = 5;
|
||||||
|
optional .CSODOTALobby.LobbyType lobby_type = 12 [default = INVALID];
|
||||||
|
optional bool allow_cheats = 13;
|
||||||
|
optional bool fill_with_bots = 14;
|
||||||
|
optional bool intro_mode = 15;
|
||||||
|
optional string game_name = 16;
|
||||||
|
repeated .CLobbyTeamDetails team_details = 17;
|
||||||
|
optional uint32 tutorial_lesson = 18;
|
||||||
|
optional uint32 tournament_id = 19;
|
||||||
|
optional uint32 tournament_game_id = 20;
|
||||||
|
optional uint32 server_region = 21 [default = 0];
|
||||||
|
optional .DOTA_GameState game_state = 22 [default = DOTA_GAMERULES_STATE_INIT];
|
||||||
|
optional uint32 num_spectators = 23;
|
||||||
|
optional uint32 matchgroup = 25;
|
||||||
|
optional .DOTA_CM_PICK cm_pick = 28 [default = DOTA_CM_RANDOM];
|
||||||
|
optional uint64 match_id = 30;
|
||||||
|
optional bool allow_spectating = 31 [default = true];
|
||||||
|
optional .DOTABotDifficulty bot_difficulty_radiant = 36 [default = BOT_DIFFICULTY_HARD];
|
||||||
|
repeated .CLobbyTimedRewardDetails timed_reward_details = 38;
|
||||||
|
optional string pass_key = 39;
|
||||||
|
optional uint32 leagueid = 42;
|
||||||
|
optional uint32 penalty_level_radiant = 43 [default = 0];
|
||||||
|
optional uint32 penalty_level_dire = 44 [default = 0];
|
||||||
|
optional uint32 load_game_id = 45;
|
||||||
|
optional uint32 series_type = 46;
|
||||||
|
optional uint32 radiant_series_wins = 47;
|
||||||
|
optional uint32 dire_series_wins = 48;
|
||||||
|
optional uint32 loot_generated = 49;
|
||||||
|
optional uint32 loot_awarded = 50;
|
||||||
|
optional bool allchat = 51 [default = false];
|
||||||
|
optional .LobbyDotaTVDelay dota_tv_delay = 53 [default = LobbyDotaTV_10];
|
||||||
|
optional string custom_game_mode = 54;
|
||||||
|
optional string custom_map_name = 55;
|
||||||
|
optional uint32 custom_difficulty = 56;
|
||||||
|
optional bool lan = 57;
|
||||||
|
repeated .CLobbyBroadcastChannelInfo broadcast_channel_info = 58;
|
||||||
|
optional uint32 first_leaver_accountid = 59;
|
||||||
|
optional uint32 series_id = 60;
|
||||||
|
optional bool low_priority = 61;
|
||||||
|
repeated .CSODOTALobby.CExtraMsg extra_messages = 62;
|
||||||
|
optional .CDOTASaveGame save_game = 63;
|
||||||
|
optional bool first_blood_happened = 65;
|
||||||
|
optional .EMatchOutcome match_outcome = 70 [default = k_EMatchOutcome_Unknown];
|
||||||
|
optional bool mass_disconnect = 67;
|
||||||
|
optional uint64 custom_game_id = 68;
|
||||||
|
optional uint32 custom_min_players = 71;
|
||||||
|
optional uint32 custom_max_players = 72;
|
||||||
|
optional .DOTALobbyVisibility visibility = 75 [default = DOTALobbyVisibility_Public];
|
||||||
|
optional fixed64 custom_game_crc = 76;
|
||||||
|
optional bool custom_game_auto_created_lobby = 77;
|
||||||
|
optional fixed32 custom_game_timestamp = 80;
|
||||||
|
repeated uint64 previous_series_matches = 81;
|
||||||
|
optional uint64 previous_match_override = 82;
|
||||||
|
optional uint32 game_start_time = 87;
|
||||||
|
optional .LobbyDotaPauseSetting pause_setting = 88 [default = LobbyDotaPauseSetting_Unlimited];
|
||||||
|
optional uint32 weekend_tourney_division_id = 90;
|
||||||
|
optional uint32 weekend_tourney_skill_level = 91;
|
||||||
|
optional uint32 weekend_tourney_bracket_round = 92;
|
||||||
|
optional .DOTABotDifficulty bot_difficulty_dire = 93 [default = BOT_DIFFICULTY_HARD];
|
||||||
|
optional uint64 bot_radiant = 94;
|
||||||
|
optional uint64 bot_dire = 95;
|
||||||
|
repeated .EEvent event_progression_enabled = 96;
|
||||||
|
optional .DOTASelectionPriorityRules selection_priority_rules = 97 [default = k_DOTASelectionPriorityRules_Manual];
|
||||||
|
optional uint32 series_previous_selection_priority_team_id = 98;
|
||||||
|
optional uint32 series_current_selection_priority_team_id = 99;
|
||||||
|
optional .DOTASelectionPriorityChoice series_current_priority_team_choice = 100 [default = k_DOTASelectionPriorityChoice_Invalid];
|
||||||
|
optional .DOTASelectionPriorityChoice series_current_non_priority_team_choice = 101 [default = k_DOTASelectionPriorityChoice_Invalid];
|
||||||
|
optional bool series_current_selection_priority_used_coin_toss = 102;
|
||||||
|
optional .EEvent current_primary_event = 103 [default = EVENT_ID_NONE];
|
||||||
|
repeated int32 emergency_disabled_hero_ids = 105;
|
||||||
|
optional fixed64 custom_game_private_key = 106;
|
||||||
|
optional bool custom_game_penalties = 107;
|
||||||
|
optional string lan_host_ping_location = 109;
|
||||||
|
optional uint32 league_node_id = 110;
|
||||||
|
optional uint32 match_duration = 111;
|
||||||
|
optional uint32 league_phase = 113;
|
||||||
|
optional bool experimental_gameplay_enabled = 116;
|
||||||
|
repeated .CLobbyGuildChallenge guild_challenges = 117;
|
||||||
|
repeated .CLobbyGuildDetails guild_details = 118;
|
||||||
|
repeated .CMsgLobbyEventPoints lobby_event_points = 119;
|
||||||
|
repeated int32 requested_hero_ids = 124;
|
||||||
|
repeated .CMsgLobbyCoachFriendRequest coach_friend_requests = 125;
|
||||||
|
optional bool is_in_steam_china = 126;
|
||||||
|
optional bool with_scenario_save = 127;
|
||||||
|
optional uint32 lobby_creation_time = 128;
|
||||||
|
optional string event_game_definition = 129;
|
||||||
|
repeated .CSODOTALobby.CExtraMsg extra_startup_messages = 130;
|
||||||
|
optional .CDOTALobbyMatchQualityData match_quality_data = 131;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAServerLobby {
|
||||||
|
repeated .CSODOTAServerLobbyMember all_members = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAStaticLobby {
|
||||||
|
repeated .CSODOTAStaticLobbyMember all_members = 1;
|
||||||
|
optional bool is_player_draft = 2;
|
||||||
|
optional bool is_last_match_in_series = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAServerStaticLobby {
|
||||||
|
repeated .CSODOTAServerStaticLobbyMember all_members = 1;
|
||||||
|
optional float post_patch_strategy_time_buffer = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAdditionalLobbyStartupAccountData {
|
||||||
|
message ChatWheelMessageRange {
|
||||||
|
optional uint32 message_id_start = 1 [default = 4294967295];
|
||||||
|
optional uint32 message_id_end = 2 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
message PingWheelMessageRange {
|
||||||
|
optional uint32 message_id_start = 1 [default = 4294967295];
|
||||||
|
optional uint32 message_id_end = 2 [default = 4294967295];
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .CMsgLobbyPlayerPlusSubscriptionData plus_data = 2;
|
||||||
|
repeated .CMsgAdditionalLobbyStartupAccountData.ChatWheelMessageRange unlocked_chat_wheel_message_ranges = 3;
|
||||||
|
repeated .CMsgAdditionalLobbyStartupAccountData.PingWheelMessageRange unlocked_ping_wheel_message_ranges = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyInitializationComplete {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyPlaytestDetails {
|
||||||
|
optional string json = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLocalServerGuildData {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 guild_points = 3;
|
||||||
|
optional uint64 guild_logo = 4;
|
||||||
|
optional uint32 guild_primary_color = 5;
|
||||||
|
optional uint32 guild_secondary_color = 6;
|
||||||
|
optional uint32 guild_pattern = 7;
|
||||||
|
optional uint32 guild_flags = 8;
|
||||||
|
optional uint32 guild_weekly_percentile = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLocalServerFakeLobbyData {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
repeated .CMsgLobbyEventPoints event_points = 2;
|
||||||
|
optional bool is_plus_subscriber = 3;
|
||||||
|
optional uint32 primary_event_id = 4;
|
||||||
|
optional uint32 favorite_team = 5;
|
||||||
|
optional uint32 favorite_team_quality = 6;
|
||||||
|
optional .CMsgLocalServerGuildData guild_info = 7;
|
||||||
|
optional uint32 teleport_fx_level = 8;
|
||||||
|
optional .CMsgAdditionalLobbyStartupAccountData additional_data = 9;
|
||||||
|
}
|
||||||
491
protos/dota_gcmessages_common_match_management.proto
Normal file
491
protos/dota_gcmessages_common_match_management.proto
Normal file
|
|
@ -0,0 +1,491 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum ELaneSelection {
|
||||||
|
k_ELaneSelection_SAFELANE = 0;
|
||||||
|
k_ELaneSelection_OFFLANE = 1;
|
||||||
|
k_ELaneSelection_MIDLANE = 2;
|
||||||
|
k_ELaneSelection_SUPPORT = 3;
|
||||||
|
k_ELaneSelection_HARDSUPPORT = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELaneSelectionFlags {
|
||||||
|
k_ELaneSelectionFlags_SAFELANE = 1;
|
||||||
|
k_ELaneSelectionFlags_OFFLANE = 2;
|
||||||
|
k_ELaneSelectionFlags_MIDLANE = 4;
|
||||||
|
k_ELaneSelectionFlags_SUPPORT = 8;
|
||||||
|
k_ELaneSelectionFlags_HARDSUPPORT = 16;
|
||||||
|
k_ELaneSelectionFlagGroup_None = 0;
|
||||||
|
k_ELaneSelectionFlagGroup_CORE = 7;
|
||||||
|
k_ELaneSelectionFlagGroup_SUPPORT = 24;
|
||||||
|
k_ELaneSelectionFlagGroup_ALL = 31;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPartyMatchmakingFlags {
|
||||||
|
k_EPartyMatchmakingFlags_None = 0;
|
||||||
|
k_EPartyMatchmakingFlags_LargeRankSpread = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EHighPriorityMMState {
|
||||||
|
k_EHighPriorityMM_Unknown = 0;
|
||||||
|
k_EHighPriorityMM_MissingMMData = 1;
|
||||||
|
k_EHighPriorityMM_ResourceMissing = 2;
|
||||||
|
k_EHighPriorityMM_ManuallyDisabled = 3;
|
||||||
|
k_EHighPriorityMM_Min_Enabled = 64;
|
||||||
|
k_EHighPriorityMM_AllRolesSelected = 65;
|
||||||
|
k_EHighPriorityMM_UsingResource = 66;
|
||||||
|
k_EHighPriorityMM_FiveStack = 67;
|
||||||
|
k_EHighPriorityMM_HighDemand = 68;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EReadyCheckStatus {
|
||||||
|
k_EReadyCheckStatus_Unknown = 0;
|
||||||
|
k_EReadyCheckStatus_NotReady = 1;
|
||||||
|
k_EReadyCheckStatus_Ready = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EReadyCheckRequestResult {
|
||||||
|
k_EReadyCheckRequestResult_Success = 0;
|
||||||
|
k_EReadyCheckRequestResult_AlreadyInProgress = 1;
|
||||||
|
k_EReadyCheckRequestResult_NotInParty = 2;
|
||||||
|
k_EReadyCheckRequestResult_SendError = 3;
|
||||||
|
k_EReadyCheckRequestResult_UnknownError = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EMatchBehaviorScoreVariance {
|
||||||
|
k_EMatchBehaviorScoreVariance_Invalid = 0;
|
||||||
|
k_EMatchBehaviorScoreVariance_Low = 1;
|
||||||
|
k_EMatchBehaviorScoreVariance_Medium = 2;
|
||||||
|
k_EMatchBehaviorScoreVariance_High = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAPartyMember {
|
||||||
|
optional bool is_coach = 2;
|
||||||
|
repeated uint32 region_ping_codes = 4 [packed = true];
|
||||||
|
repeated uint32 region_ping_times = 5 [packed = true];
|
||||||
|
optional uint32 region_ping_failed_bitmask = 6;
|
||||||
|
optional bool is_plus_subscriber = 10;
|
||||||
|
optional uint32 tourney_skill_level = 7;
|
||||||
|
optional uint32 tourney_buyin = 8;
|
||||||
|
optional uint32 tourney_prevent_until = 9;
|
||||||
|
optional bool mm_data_valid = 13;
|
||||||
|
optional uint32 lane_selection_flags = 11;
|
||||||
|
optional bool high_priority_disabled = 14;
|
||||||
|
optional bool has_hp_resource = 15;
|
||||||
|
optional bool joined_from_partyfinder = 12;
|
||||||
|
optional bool is_steam_china = 16;
|
||||||
|
repeated int32 banned_hero_ids = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAParty {
|
||||||
|
enum State {
|
||||||
|
UI = 0;
|
||||||
|
FINDING_MATCH = 1;
|
||||||
|
IN_MATCH = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 party_id = 1 [(key_field) = true];
|
||||||
|
optional fixed64 leader_id = 2;
|
||||||
|
repeated fixed64 member_ids = 3;
|
||||||
|
optional uint32 game_modes = 4;
|
||||||
|
optional .CSODOTAParty.State state = 6 [default = UI];
|
||||||
|
optional uint32 effective_started_matchmaking_time = 7;
|
||||||
|
optional uint32 raw_started_matchmaking_time = 32;
|
||||||
|
optional uint32 attempt_start_time = 33;
|
||||||
|
optional uint32 attempt_num = 34;
|
||||||
|
optional uint32 matchgroups = 11;
|
||||||
|
optional uint32 low_priority_account_id = 19;
|
||||||
|
optional .MatchType match_type = 21 [default = MATCH_TYPE_CASUAL];
|
||||||
|
optional uint32 team_id = 23;
|
||||||
|
optional string team_name = 51;
|
||||||
|
optional uint64 team_ui_logo = 52;
|
||||||
|
optional uint64 team_base_logo = 53;
|
||||||
|
optional uint32 match_disabled_until_date = 24;
|
||||||
|
optional uint32 match_disabled_account_id = 25;
|
||||||
|
optional uint32 matchmaking_max_range_minutes = 26;
|
||||||
|
optional uint32 matchlanguages = 27;
|
||||||
|
repeated .CSODOTAPartyMember members = 29;
|
||||||
|
optional uint32 low_priority_games_remaining = 35;
|
||||||
|
optional bool open_for_join_requests = 40;
|
||||||
|
repeated .CSODOTAPartyInvite sent_invites = 41;
|
||||||
|
repeated .CSODOTAPartyInvite recv_invites = 42;
|
||||||
|
optional uint32 account_flags = 43;
|
||||||
|
optional uint32 region_select_flags = 44;
|
||||||
|
optional uint32 exclusive_tournament_id = 45;
|
||||||
|
optional uint32 tourney_division_id = 47;
|
||||||
|
optional uint32 tourney_schedule_time = 48;
|
||||||
|
optional uint32 tourney_skill_level = 49;
|
||||||
|
optional uint32 tourney_bracket_round = 50;
|
||||||
|
optional uint32 tourney_queue_deadline_time = 54;
|
||||||
|
optional .ETourneyQueueDeadlineState tourney_queue_deadline_state = 55 [default = k_ETourneyQueueDeadlineState_Normal];
|
||||||
|
optional uint32 party_builder_slots_to_fill = 56;
|
||||||
|
optional uint32 party_builder_match_groups = 57;
|
||||||
|
optional uint32 party_builder_start_time = 58;
|
||||||
|
optional bool solo_queue = 59;
|
||||||
|
optional uint32 steam_clan_account_id = 61;
|
||||||
|
optional .CMsgReadyCheckStatus ready_check = 62;
|
||||||
|
optional uint32 custom_game_disabled_until_date = 63;
|
||||||
|
optional uint32 custom_game_disabled_account_id = 64;
|
||||||
|
optional bool is_challenge_match = 65;
|
||||||
|
optional bool party_search_beacon_active = 66;
|
||||||
|
optional uint32 matchmaking_flags = 67;
|
||||||
|
optional .EHighPriorityMMState high_priority_state = 68 [default = k_EHighPriorityMM_Unknown];
|
||||||
|
optional bool lane_selections_enabled = 69;
|
||||||
|
optional uint32 custom_game_difficulty_mask = 70;
|
||||||
|
optional bool is_steam_china = 71;
|
||||||
|
optional uint32 bot_difficulty_mask = 72;
|
||||||
|
optional uint32 bot_script_index_mask = 73;
|
||||||
|
optional bool restricted_from_ranked = 74;
|
||||||
|
optional uint32 restricted_from_ranked_account_id = 75;
|
||||||
|
optional uint32 rank_spread_likert_scale = 76;
|
||||||
|
optional uint32 behavior_score_likert_scale = 77;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSODOTAPartyInvite {
|
||||||
|
message PartyMember {
|
||||||
|
optional string name = 1;
|
||||||
|
optional fixed64 steam_id = 2;
|
||||||
|
optional bool is_coach = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 group_id = 1 [(key_field) = true];
|
||||||
|
optional fixed64 sender_id = 2;
|
||||||
|
optional string sender_name = 3;
|
||||||
|
repeated .CSODOTAPartyInvite.PartyMember members = 4;
|
||||||
|
optional uint32 team_id = 5;
|
||||||
|
optional bool low_priority_status = 6;
|
||||||
|
optional bool as_coach = 7;
|
||||||
|
optional fixed64 invite_gid = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLeaverState {
|
||||||
|
optional uint32 lobby_state = 1;
|
||||||
|
optional .DOTA_GameState game_state = 2 [default = DOTA_GAMERULES_STATE_INIT];
|
||||||
|
optional bool leaver_detected = 3;
|
||||||
|
optional bool first_blood_happened = 4;
|
||||||
|
optional bool discard_match_results = 5;
|
||||||
|
optional bool mass_disconnect = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgReadyCheckStatus {
|
||||||
|
message ReadyMember {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional .EReadyCheckStatus ready_status = 2 [default = k_EReadyCheckStatus_Unknown];
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 start_timestamp = 1;
|
||||||
|
optional uint32 finish_timestamp = 2;
|
||||||
|
optional uint32 initiator_account_id = 3;
|
||||||
|
repeated .CMsgReadyCheckStatus.ReadyMember ready_members = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPartyReadyCheckRequest {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPartyReadyCheckResponse {
|
||||||
|
optional .EReadyCheckRequestResult result = 1 [default = k_EReadyCheckRequestResult_Success];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPartyReadyCheckAcknowledge {
|
||||||
|
optional .EReadyCheckStatus ready_status = 1 [default = k_EReadyCheckStatus_Unknown];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgLobbyEventGameDetails {
|
||||||
|
optional bytes kv_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMatchMatchmakingStats {
|
||||||
|
optional uint32 average_queue_time = 1;
|
||||||
|
optional uint32 maximum_queue_time = 2;
|
||||||
|
optional .EMatchBehaviorScoreVariance behavior_score_variance = 3 [default = k_EMatchBehaviorScoreVariance_Invalid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMvpData {
|
||||||
|
message MvpDatum {
|
||||||
|
message MvpAccolade {
|
||||||
|
enum MvpAccoladeType {
|
||||||
|
kills = 1;
|
||||||
|
deaths = 2;
|
||||||
|
assists = 3;
|
||||||
|
net_worth = 5;
|
||||||
|
item_value = 6;
|
||||||
|
support_gold_spent = 7;
|
||||||
|
wards_placed = 8;
|
||||||
|
dewards = 9;
|
||||||
|
camps_stacked = 10;
|
||||||
|
last_hits = 11;
|
||||||
|
denies = 12;
|
||||||
|
kKillEaterEvent_Killing_Sprees = 13;
|
||||||
|
kKillEaterEvent_Godlike = 14;
|
||||||
|
kKillEaterEvent_Towers_Destroyed = 15;
|
||||||
|
kKillEaterEventType_Invoker_SunstrikeKills = 16;
|
||||||
|
kKillEaterEventType_Axe_Culls = 17;
|
||||||
|
kKillEaterEventType_Axe_BattleHungerKills = 18;
|
||||||
|
kKillEaterEventType_LowHealthKills = 19;
|
||||||
|
kKillEaterEventType_Invoker_TornadoKills = 20;
|
||||||
|
kKillEaterEventType_Sven_DoubleStuns = 21;
|
||||||
|
kKillEaterEventType_Sven_WarcryAssists = 22;
|
||||||
|
kKillEaterEventType_Sven_CleaveDoubleKills = 23;
|
||||||
|
kKillEaterEventType_Sven_TeleportInterrupts = 24;
|
||||||
|
kKillEaterEventType_Faceless_MultiChrono = 25;
|
||||||
|
kKillEaterEventType_Faceless_ChronoKills = 26;
|
||||||
|
kKillEaterEventType_Ursa_MultiShocks = 27;
|
||||||
|
kKillEaterEventType_RoshanKills = 28;
|
||||||
|
kKillEaterEventType_Lion_FingerKills = 29;
|
||||||
|
kKillEaterEventType_Riki_SmokedHeroKills = 32;
|
||||||
|
kKillEaterEventType_HeroesRevealedWithDust = 33;
|
||||||
|
kKillEaterEventType_SkeletonKing_ReincarnationKills = 34;
|
||||||
|
kKillEaterEventType_Skywrath_FlareKills = 35;
|
||||||
|
kKillEaterEventType_Leshrac_SplitEarthStuns = 36;
|
||||||
|
kKillEaterEventType_Mirana_MaxStunArrows = 37;
|
||||||
|
kKillEaterEventType_PhantomAssassin_CoupdeGraceCrits = 38;
|
||||||
|
kKillEaterEventType_PhantomAssassin_DaggerCrits = 39;
|
||||||
|
kKillEaterEventType_Meepo_Earthbinds = 40;
|
||||||
|
kKillEaterEventType_Bloodseeker_RuptureKills = 41;
|
||||||
|
kKillEaterEventType_Slark_LeashedEnemies = 42;
|
||||||
|
kKillEaterEventType_Disruptor_FountainGlimpses = 43;
|
||||||
|
kKillEaterEventType_Rubick_SpellsStolen = 44;
|
||||||
|
kKillEaterEventType_Rubick_UltimatesStolen = 45;
|
||||||
|
kKillEaterEventType_Doom_EnemiesDoomed = 46;
|
||||||
|
kKillEaterEventType_Omniknight_Purifications = 47;
|
||||||
|
kKillEaterEventType_Omniknight_AlliesRepelled = 48;
|
||||||
|
kKillEaterEventType_Omniknight_EnemiesRepelled = 49;
|
||||||
|
kKillEaterEventType_Warlock_FiveHeroFatalBonds = 50;
|
||||||
|
kKillEaterEventType_CrystalMaiden_FrostbittenEnemies = 51;
|
||||||
|
kKillEaterEventType_CrystalMaiden_CrystalNovas = 52;
|
||||||
|
kKillEaterEventType_Kunkka_DoubleHeroTorrents = 53;
|
||||||
|
kKillEaterEventType_Kunkka_TripleHeroGhostShips = 54;
|
||||||
|
kKillEaterEventType_NagaSiren_EnemiesEnsnared = 55;
|
||||||
|
kKillEaterEventType_NagaSiren_TripleHeroRipTides = 56;
|
||||||
|
kKillEaterEventType_Lycan_KillsDuringShapeshift = 57;
|
||||||
|
kKillEaterEventType_Pudge_DismemberKills = 58;
|
||||||
|
kKillEaterEventType_Pudge_EnemyHeroesHooked = 59;
|
||||||
|
kKillEaterEventType_Pudge_HookKills = 60;
|
||||||
|
kKillEaterEventType_Pudge_UnseenEnemyHeroesHooked = 61;
|
||||||
|
kKillEaterEventType_DrowRanger_EnemiesSilenced = 62;
|
||||||
|
kKillEaterEventType_DrowRanger_MultiHeroSilences = 63;
|
||||||
|
kKillEaterEventType_DrowRanger_SilencedKills = 64;
|
||||||
|
kKillEaterEventType_DrowRanger_FrostArrowKills = 65;
|
||||||
|
kKillEaterEventType_DragonKnight_KillsInDragonForm = 66;
|
||||||
|
kKillEaterEventType_DragonKnight_BreatheFireKills = 67;
|
||||||
|
kKillEaterEventType_DragonKnight_SplashKills = 68;
|
||||||
|
kKillEaterEventType_WitchDoctor_CaskStuns = 69;
|
||||||
|
kKillEaterEventType_WitchDoctor_MaledictKills = 70;
|
||||||
|
kKillEaterEventType_WitchDoctor_MultiHeroMaledicts = 71;
|
||||||
|
kKillEaterEventType_WitchDoctor_DeathWardKills = 72;
|
||||||
|
kKillEaterEventType_Disruptor_ThunderStrikeKills = 73;
|
||||||
|
kKillEaterEventType_Disruptor_HeroesGlimpsed = 74;
|
||||||
|
kKillEaterEventType_CrystalMaiden_FreezingFieldKills = 75;
|
||||||
|
kKillEaterEventType_Medusa_EnemiesPetrified = 77;
|
||||||
|
kKillEaterEventType_Warlock_FatalBondsKills = 78;
|
||||||
|
kKillEaterEventType_Warlock_GolemKills = 79;
|
||||||
|
kKillEaterEventType_Tusk_WalrusPunches = 80;
|
||||||
|
kKillEaterEventType_Tusk_SnowballStuns = 81;
|
||||||
|
kKillEaterEventType_Earthshaker_FissureStuns = 82;
|
||||||
|
kKillEaterEventType_Earthshaker_3HeroEchoslams = 83;
|
||||||
|
kKillEaterEventType_SandKing_BurrowstrikeStuns = 84;
|
||||||
|
kKillEaterEventType_SandKing_EpicenterKills = 85;
|
||||||
|
kKillEaterEventType_SkywrathMage_AncientSealKills = 86;
|
||||||
|
kKillEaterEventType_SkywrathMage_ConcussiveShotKills = 87;
|
||||||
|
kKillEaterEventType_Luna_LucentBeamKills = 88;
|
||||||
|
kKillEaterEventType_Luna_EclipseKills = 89;
|
||||||
|
kKillEaterEventType_KeeperOfTheLight_IlluminateKills = 90;
|
||||||
|
kKillEaterEventType_KeeperOfTheLight_ManaLeakStuns = 91;
|
||||||
|
kKillEaterEventType_KeeperOfTheLight_TeammatesRecalled = 92;
|
||||||
|
kKillEaterEventType_LegionCommander_DuelsWon = 93;
|
||||||
|
kKillEaterEventType_Beastmaster_RoarKills = 94;
|
||||||
|
kKillEaterEventType_Beastmaster_RoarMultiKills = 95;
|
||||||
|
kKillEaterEventType_Windrunner_FocusFireBuildings = 96;
|
||||||
|
kKillEaterEventType_Windrunner_PowershotKills = 97;
|
||||||
|
kKillEaterEventType_PhantomAssassin_DaggerLastHits = 98;
|
||||||
|
kKillEaterEventType_PhantomAssassin_PhantomStrikeKills = 99;
|
||||||
|
kKillEaterEventType_DeathProphet_CryptSwarmKills = 100;
|
||||||
|
kKillEaterEventType_DeathProphet_ExorcismBuildingKills = 101;
|
||||||
|
kKillEaterEventType_DeathProphet_ExorcismSpiritsSummoned = 102;
|
||||||
|
kKillEaterEventType_DeathProphet_MultiHeroSilences = 103;
|
||||||
|
kKillEaterEventType_Abaddon_MistCoilKills = 104;
|
||||||
|
kKillEaterEventType_Abaddon_MistCoilHealed = 105;
|
||||||
|
kKillEaterEventType_Abaddon_AphoticShieldKills = 106;
|
||||||
|
kKillEaterEventType_Lich_ChainFrostTripleKills = 107;
|
||||||
|
kKillEaterEventType_Lich_ChainFrostMultiKills = 108;
|
||||||
|
kKillEaterEventType_Lich_ChainFrostBounces = 109;
|
||||||
|
kKillEaterEventType_Ursa_EnragedKills = 110;
|
||||||
|
kKillEaterEventType_Ursa_EarthshockKills = 111;
|
||||||
|
kKillEaterEventType_Lina_LagunaBladeKills = 112;
|
||||||
|
kKillEaterEventType_Lina_DragonSlaveKills = 113;
|
||||||
|
kKillEaterEventType_Lina_LightStrikeArrayStuns = 114;
|
||||||
|
kKillEaterEvent_Barracks_Destroyed = 115;
|
||||||
|
kKillEaterEvent_TemplarAssassin_MeldKills = 116;
|
||||||
|
kKillEaterEvent_TemplarAssassin_HeroesSlowed = 117;
|
||||||
|
kKillEaterEvent_Sniper_AssassinationKills = 118;
|
||||||
|
kKillEaterEvent_Sniper_HeadshotStuns = 119;
|
||||||
|
kKillEaterEvent_EarthSpirit_SmashStuns = 120;
|
||||||
|
kKillEaterEvent_EarthSpirit_GripSilences = 121;
|
||||||
|
kKillEaterEvent_ShadowShaman_ShackleKills = 122;
|
||||||
|
kKillEaterEvent_ShadowShaman_HexKills = 123;
|
||||||
|
kKillEaterEvent_Centaur_EnemiesStomped = 124;
|
||||||
|
kKillEaterEvent_Centaur_DoubleEdgeKills = 125;
|
||||||
|
kKillEaterEvent_Centaur_ReturnKills = 126;
|
||||||
|
kKillEaterEvent_EmberSpirit_EnemiesChained = 127;
|
||||||
|
kKillEaterEvent_EmberSpirit_SleightOfFistMultiKills = 128;
|
||||||
|
kKillEaterEvent_Puck_OrbKills = 129;
|
||||||
|
kKillEaterEvent_VengefulSpirit_EnemiesStunned = 130;
|
||||||
|
kKillEaterEvent_Lifestealer_RageKills = 131;
|
||||||
|
kKillEaterEvent_Lifestealer_OpenWoundsKills = 132;
|
||||||
|
kKillEaterEvent_Lifestealer_InfestKills = 133;
|
||||||
|
kKillEaterEvent_ElderTitan_SpiritKills = 134;
|
||||||
|
kKillEaterEvent_ElderTitan_GoodStomps = 135;
|
||||||
|
kKillEaterEvent_Clockwerk_RocketKills = 136;
|
||||||
|
kKillEaterEvent_Clockwerk_BlindRocketKills = 137;
|
||||||
|
kKillEaterEvent_StormSpirit_BallKills = 138;
|
||||||
|
kKillEaterEvent_StormSpirit_DoubleRemnantKills = 139;
|
||||||
|
kKillEaterEvent_StormSpirit_VortexKills = 140;
|
||||||
|
kKillEaterEvent_Tinker_DoubleMissileKills = 141;
|
||||||
|
kKillEaterEvent_Tinker_LaserKills = 142;
|
||||||
|
kKillEaterEvent_Techies_SuicideKills = 143;
|
||||||
|
kKillEaterEvent_Techies_LandMineKills = 144;
|
||||||
|
kKillEaterEvent_Techies_StatisTrapStuns = 145;
|
||||||
|
kKillEaterEvent_Techies_RemoteMineKills = 146;
|
||||||
|
kKillEaterEvent_ShadowFiend_TripleRazeKills = 147;
|
||||||
|
kKillEaterEvent_ShadowFiend_RequiemMultiKills = 148;
|
||||||
|
kKillEaterEvent_ShadowFiend_QRazeKills = 149;
|
||||||
|
kKillEaterEvent_ShadowFiend_WRazeKills = 150;
|
||||||
|
kKillEaterEvent_ShadowFiend_ERazeKills = 151;
|
||||||
|
kKillEaterEvent_Oracle_FatesEdictKills = 152;
|
||||||
|
kKillEaterEvent_Oracle_FalsePromiseSaves = 153;
|
||||||
|
kKillEaterEvent_Juggernaut_OmnislashKills = 154;
|
||||||
|
kKillEaterEventType_SkeletonKing_SkeletonHeroKills = 157;
|
||||||
|
kKillEaterEventType_DarkWillow_CursedCrownTripleStuns = 158;
|
||||||
|
kKillEaterEventType_Dazzle_ShallowGraveSaves = 159;
|
||||||
|
kKillEaterEventType_Dazzle_PoisonTouchKills = 160;
|
||||||
|
kKillEaterEventType_ThreeManMeks = 161;
|
||||||
|
kKillEaterEventType_Viper_PoisonAttackKills = 162;
|
||||||
|
kKillEaterEventType_Viper_CorrosiveSkinKills = 163;
|
||||||
|
kKillEaterEventType_ThreeHeroVeils = 164;
|
||||||
|
kKillEaterEventType_Viper_KillsDuringViperStrike = 165;
|
||||||
|
kKillEaterEventType_SolarCrestKills = 166;
|
||||||
|
kKillEaterEventType_Tiny_TreeThrowKills = 167;
|
||||||
|
kKillEaterEventType_Riki_BackstabKills = 168;
|
||||||
|
kKillEaterEventType_Phoenix_ThreeHeroSupernovaStuns = 169;
|
||||||
|
kKillEaterEventType_Terrorblade_MetamorphosisKills = 170;
|
||||||
|
kKillEaterEventType_Lion_GreatFingerKills = 171;
|
||||||
|
kKillEaterEventType_Antimage_SpellsBlockedWithAghanims = 172;
|
||||||
|
kKillEaterEventType_Antimage_ThreeManManaVoids = 173;
|
||||||
|
kKillEaterEventType_ArcWarden_TempestDoubleKills = 174;
|
||||||
|
kKillEaterEventType_ArcWarden_SparkWraithKills = 175;
|
||||||
|
kKillEaterEventType_Bane_BrainSapKills = 176;
|
||||||
|
kKillEaterEventType_Bane_FiendsGripKills = 177;
|
||||||
|
kKillEaterEventType_Batrider_TripleHeroFlamebreaks = 178;
|
||||||
|
kKillEaterEventType_Batrider_DoubleHeroLassoes = 179;
|
||||||
|
kKillEaterEventType_Brewmaster_KillsDuringPrimalSplit = 180;
|
||||||
|
kKillEaterEventType_Bristleback_KillsUnderFourQuillStacks = 181;
|
||||||
|
kKillEaterEventType_Bristleback_TripleHeroNasalGoo = 182;
|
||||||
|
kKillEaterEventType_Broodmother_SpiderlingHeroKills = 183;
|
||||||
|
kKillEaterEventType_Broodmother_KillsInsideWeb = 184;
|
||||||
|
kKillEaterEventType_Centaur_ThreeHeroStampede = 185;
|
||||||
|
kKillEaterEventType_ChaosKnight_RealityRiftKills = 186;
|
||||||
|
kKillEaterEventType_Chen_KillsWithPenitence = 187;
|
||||||
|
kKillEaterEventType_CrystalMaiden_TwoHeroCrystalNovas = 188;
|
||||||
|
kKillEaterEventType_CrystalMaiden_ThreeHeroFreezingFields = 189;
|
||||||
|
kKillEaterEventType_Dazzle_ShadowWaveKills = 190;
|
||||||
|
kKillEaterEventType_DeathProphet_SiphonKills = 191;
|
||||||
|
kKillEaterEventType_DeathProphet_ExorcismKillsDuringEuls = 192;
|
||||||
|
kKillEaterEventType_Disruptor_ThreeHeroKineticFieldStaticStorm = 193;
|
||||||
|
kKillEaterEventType_Doom_InfernalBladeBurnKills = 194;
|
||||||
|
kKillEaterEventType_DrowRanger_PrecisionAuraCreepTowerKills = 195;
|
||||||
|
kKillEaterEventType_EmberSpirit_RemnantKills = 196;
|
||||||
|
kKillEaterEventType_EmberSpirit_SleightOfFistKills = 197;
|
||||||
|
kKillEaterEventType_Enigma_MidnightPulseBlackHoleCombos = 198;
|
||||||
|
kKillEaterEventType_Enigma_ThreeManBlackHoles = 199;
|
||||||
|
kKillEaterEventType_FacelessVoid_MultiHeroTimeDilation = 200;
|
||||||
|
kKillEaterEventType_Gyrocopter_ThreeHeroFlakCannon = 201;
|
||||||
|
kKillEaterEventType_Gyrocopter_HomingMissileKills = 202;
|
||||||
|
kKillEaterEventType_Gyrocopter_RocketBarrageKills = 203;
|
||||||
|
kKillEaterEventType_Huskar_KillsDuringLifeBreak = 204;
|
||||||
|
kKillEaterEventType_Huskar_BurningSpearKills = 205;
|
||||||
|
kKillEaterEventType_Invoker_MultiHeroIceWall = 206;
|
||||||
|
kKillEaterEventType_Invoker_ThreeHeroEMP = 207;
|
||||||
|
kKillEaterEventType_Invoker_ThreeHeroDeafeningBlast = 208;
|
||||||
|
kKillEaterEventType_Invoker_MultiHeroChaosMeteor = 209;
|
||||||
|
kKillEaterEventType_Jakiro_MultiHeroDualBreath = 210;
|
||||||
|
kKillEaterEventType_Jakiro_IcePathMacropyreCombos = 211;
|
||||||
|
kKillEaterEventType_Leshrac_PulseNovaKills = 212;
|
||||||
|
kKillEaterEventType_Leshrac_ThreeHeroLightningStorm = 213;
|
||||||
|
kKillEaterEventType_Lion_ThreeHeroFingerOfDeath = 214;
|
||||||
|
kKillEaterEventType_Meepo_PoofKills = 215;
|
||||||
|
kKillEaterEventType_Meepo_MultiHeroEarthbinds = 216;
|
||||||
|
kKillEaterEventType_NightStalker_NighttimeKills = 217;
|
||||||
|
kKillEaterEventType_Morphling_KillsDuringReplicate = 218;
|
||||||
|
kKillEaterEventType_OgreMagi_FireblastKills = 219;
|
||||||
|
kKillEaterEventType_OgreMagi_IgniteKills = 220;
|
||||||
|
kKillEaterEventType_DominatingKillStreaks = 221;
|
||||||
|
kKillEaterEventType_MegaKillStreaks = 222;
|
||||||
|
kKillEaterEventType_Alchemist_AghanimsGiven = 223;
|
||||||
|
kKillEaterEventType_VeilsLeadingToKills = 224;
|
||||||
|
kKillEaterEventType_DustLeadingToKills = 225;
|
||||||
|
kKillEaterEventType_WitchDoctor_MultiHeroCaskStuns = 226;
|
||||||
|
kKillEaterEventType_Weaver_ShukuchiKills = 227;
|
||||||
|
kKillEaterEventType_Windrunner_ShackleFocusFireKills = 228;
|
||||||
|
kKillEaterEventType_VengefulSpirit_VengeanceAuraIllusionKills = 229;
|
||||||
|
kKillEaterEventType_Tusk_WalrusPunchKills = 230;
|
||||||
|
kKillEaterEventType_Tinker_MultiHeroLasers = 231;
|
||||||
|
kKillEaterEventType_TemplarAssassin_MultiHeroPsiBlades = 232;
|
||||||
|
kKillEaterEventType_Sven_KillsDuringGodsStrength = 233;
|
||||||
|
kKillEaterEventType_Sniper_ThreeHeroShrapnels = 234;
|
||||||
|
kKillEaterEventType_Slark_KillsDuringShadowDance = 235;
|
||||||
|
kKillEaterEventType_ShadowShaman_MultiHeroEtherShocks = 236;
|
||||||
|
kKillEaterEventType_ShadowShaman_SerpentWardShackleKills = 237;
|
||||||
|
kKillEaterEventType_Riki_ThreeHeroTricksOfTheTrade = 238;
|
||||||
|
kKillEaterEventType_Razor_EyeOfTheStormKills = 239;
|
||||||
|
kKillEaterEventType_Pugna_LifeDrainKills = 240;
|
||||||
|
kKillEaterEventType_ObsidianDestroyer_SanitysEclipseKills = 241;
|
||||||
|
kKillEaterEventType_Oracle_MultiHeroFortunesEnd = 242;
|
||||||
|
kKillEaterEventType_Omniknight_PurificationKills = 243;
|
||||||
|
kKillEaterEventType_NightStalker_EnemyMissesUnderCripplingFear = 244;
|
||||||
|
kKillEaterEventType_Warlock_ThreeHeroFatalBonds = 245;
|
||||||
|
kKillEaterEventType_Riki_TricksOfTheTradeKills = 246;
|
||||||
|
kKillEaterEventType_Earthshaker_AftershockHits10 = 247;
|
||||||
|
kKillEaterEventType_Earthshaker_5HeroEchoslams = 248;
|
||||||
|
kKillEaterEventType_Lina_LagunaBladeHeroKills = 249;
|
||||||
|
kKillEaterEventType_Lina_LightStrikeHeroStuns = 250;
|
||||||
|
kKillEaterEventType_Earthshaker_FissureMultiStuns = 251;
|
||||||
|
kKillEaterEventType_Earthshaker_TotemKills = 252;
|
||||||
|
kKillEaterEventType_Pangolier_SwashbuckleKills = 253;
|
||||||
|
kKillEaterEventType_Furion_EnemyHeroesTrapped = 254;
|
||||||
|
kKillEaterEventType_Pangolier_HeartpiercerKills = 255;
|
||||||
|
kKillEaterEventType_Medusa_MultiHeroStoneGaze = 256;
|
||||||
|
kKillEaterEventType_Medusa_SplitShotKills = 257;
|
||||||
|
kKillEaterEventType_Mirana_MultiHeroStarstorm = 258;
|
||||||
|
kKillEaterEventType_Mirana_KillsFromMoonlightShadow = 259;
|
||||||
|
kKillEaterEventType_Magnus_MultiHeroSkewers = 260;
|
||||||
|
kKillEaterEventType_Magnus_MultiHeroReversePolarity = 261;
|
||||||
|
kKillEaterEventType_Magnus_HeroesSlowedWithShockwave = 262;
|
||||||
|
kKillEaterEventType_NagaSiren_MultiHeroSong = 263;
|
||||||
|
kKillEaterEventType_NagaSiren_AlliesHealedBySong = 264;
|
||||||
|
kKillEaterEventType_LoneDruid_MultiHeroRoar = 265;
|
||||||
|
kKillEaterEventType_LoneDruid_BattleCryKills = 266;
|
||||||
|
kKillEaterEventType_WinterWyvern_ThreeHeroCurses = 267;
|
||||||
|
kKillEaterEventType_Antimage_SpellsBlockedWithCounterspell = 268;
|
||||||
|
kKillEaterEventType_Mars_EnemiesKilledInArena = 269;
|
||||||
|
kKillEaterEventType_Mars_MultiHeroGodsRebuke = 270;
|
||||||
|
kKillEaterEventType_Mars_GodsRebukeKills = 271;
|
||||||
|
kKillEaterEventType_Snapfire_LizardBlobsKills = 272;
|
||||||
|
kKillEaterEventType_Snapfire_TwoHeroCookieStuns = 273;
|
||||||
|
Custom_KillStreak = 274;
|
||||||
|
kKillEaterEventType_Muerta_DeadShotKills = 275;
|
||||||
|
kKillEaterEventType_Muerta_PierceTheVeilKills = 276;
|
||||||
|
kKillEaterEventType_Muerta_MultiHeroDeadShot = 277;
|
||||||
|
kKillEaterEventType_Muerta_DeadShotsIntoTheCalling = 278;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMvpData.MvpDatum.MvpAccolade.MvpAccoladeType type = 1 [default = kills];
|
||||||
|
optional float detail_value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 player_slot = 1;
|
||||||
|
repeated .CMvpData.MvpDatum.MvpAccolade accolades = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMvpData.MvpDatum mvps = 1;
|
||||||
|
}
|
||||||
406
protos/dota_gcmessages_common_overworld.proto
Normal file
406
protos/dota_gcmessages_common_overworld.proto
Normal file
|
|
@ -0,0 +1,406 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
|
||||||
|
enum EOverworldNodeState {
|
||||||
|
k_eOverworldNodeState_Invalid = 0;
|
||||||
|
k_eOverworldNodeState_Locked = 1;
|
||||||
|
k_eOverworldNodeState_Unlocked = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EOverworldAuditAction {
|
||||||
|
k_eOverworldAuditAction_Invalid = 0;
|
||||||
|
k_eOverworldAuditAction_DevModifyTokens = 1;
|
||||||
|
k_eOverworldAuditAction_DevClearInventory = 2;
|
||||||
|
k_eOverworldAuditAction_DevGrantTokens = 3;
|
||||||
|
k_eOverworldAuditAction_CompletePath = 4;
|
||||||
|
k_eOverworldAuditAction_ClaimEncounterReward = 5;
|
||||||
|
k_eOverworldAuditAction_DevResetNode = 6;
|
||||||
|
k_eOverworldAuditAction_DevResetPath = 7;
|
||||||
|
k_eOverworldAuditAction_MatchRewardsFull = 8;
|
||||||
|
k_eOverworldAuditAction_MatchRewardsHalf = 9;
|
||||||
|
k_eOverworldAuditAction_EventActionTokenGrant = 10;
|
||||||
|
k_eOverworldAuditAction_TokenTraderLost = 11;
|
||||||
|
k_eOverworldAuditAction_TokenTraderGained = 12;
|
||||||
|
k_eOverworldAuditAction_EncounterRewardTokenCost = 13;
|
||||||
|
k_eOverworldAuditAction_EncounterRewardTokenReward = 14;
|
||||||
|
k_eOverworldAuditAction_SupportGrantTokens = 16;
|
||||||
|
k_eOverworldAuditAction_TokenGiftSent = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldTokenCount {
|
||||||
|
optional uint32 token_id = 1;
|
||||||
|
optional uint32 token_count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldTokenQuantity {
|
||||||
|
repeated .CMsgOverworldTokenCount token_counts = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterTokenTreasureData {
|
||||||
|
message RewardOption {
|
||||||
|
optional uint32 reward_data = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_cost = 2;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_reward = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgOverworldEncounterTokenTreasureData.RewardOption reward_options = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterTokenQuestData {
|
||||||
|
message Quest {
|
||||||
|
optional uint32 reward_data = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_cost = 2;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_reward = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgOverworldEncounterTokenQuestData.Quest quests = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldHeroList {
|
||||||
|
repeated int32 hero_ids = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterChooseHeroData {
|
||||||
|
optional .CMsgOverworldHeroList hero_list = 1;
|
||||||
|
optional bool additive = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterProgressData {
|
||||||
|
optional int32 choice = 1;
|
||||||
|
optional int32 progress = 2;
|
||||||
|
optional int32 max_progress = 3;
|
||||||
|
optional bool visited = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterData {
|
||||||
|
repeated .CExtraMsgBlock extra_encounter_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldNode {
|
||||||
|
optional uint32 node_id = 1;
|
||||||
|
optional .EOverworldNodeState node_state = 2 [default = k_eOverworldNodeState_Invalid];
|
||||||
|
optional .CMsgOverworldEncounterData node_encounter_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldPath {
|
||||||
|
optional uint32 path_id = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity path_cost = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldUserData {
|
||||||
|
optional .CMsgOverworldTokenQuantity token_inventory = 1;
|
||||||
|
repeated .CMsgOverworldNode overworld_nodes = 2;
|
||||||
|
repeated .CMsgOverworldPath overworld_paths = 3;
|
||||||
|
optional uint32 current_node_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldMatchRewards {
|
||||||
|
message Player {
|
||||||
|
optional uint32 player_slot = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity tokens = 2;
|
||||||
|
optional uint32 overworld_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgOverworldMatchRewards.Player players = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGetUserData {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGetUserDataResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidOverworld = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldGetUserDataResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgOverworldUserData user_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToClientOverworldUserDataUpdated {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional .CMsgOverworldUserData user_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldCompletePath {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional uint32 path_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldCompletePathResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidOverworld = 5;
|
||||||
|
k_eInvalidPath = 6;
|
||||||
|
k_eNotEnoughTokens = 7;
|
||||||
|
k_ePathIsLocked = 8;
|
||||||
|
k_ePathAlreadyUnlocked = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldCompletePathResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDOTAClaimEventActionResponse claim_response = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgOverworldEncounterPitFighterRewardData {
|
||||||
|
optional uint32 token_id = 1;
|
||||||
|
optional uint32 choice = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldClaimEncounterReward {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional uint32 node_id = 2;
|
||||||
|
optional uint32 reward_data = 3;
|
||||||
|
optional uint32 periodic_resource_id = 4;
|
||||||
|
optional .CMsgOverworldEncounterData extra_reward_data = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldClaimEncounterRewardResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidOverworld = 5;
|
||||||
|
k_eInvalidNode = 6;
|
||||||
|
k_eNodeLocked = 7;
|
||||||
|
k_eRewardAlreadyClaimed = 8;
|
||||||
|
k_eNodeNotEncounter = 9;
|
||||||
|
k_eEncounterMissingRewards = 10;
|
||||||
|
k_eInvalidEncounterRewardStyle = 11;
|
||||||
|
k_eInvalidEncounterData = 12;
|
||||||
|
k_eNotEnoughTokensForReward = 13;
|
||||||
|
k_eNotEnoughResourceForReward = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldClaimEncounterRewardResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgDOTAClaimEventActionResponse claim_response = 2;
|
||||||
|
optional .CMsgOverworldTokenQuantity tokens_received = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldVisitEncounter {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional uint32 node_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldVisitEncounterResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidOverworld = 5;
|
||||||
|
k_eInvalidNode = 6;
|
||||||
|
k_eNodeLocked = 7;
|
||||||
|
k_eNodeNotEncounter = 8;
|
||||||
|
k_eAlreadyVisited = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldVisitEncounterResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldMoveToNode {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional uint32 node_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldMoveToNodeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eInvalidOverworld = 5;
|
||||||
|
k_eInvalidNode = 6;
|
||||||
|
k_eNodeLocked = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldMoveToNodeResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldTradeTokens {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_offer = 2;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_request = 3;
|
||||||
|
optional uint32 recipe = 4;
|
||||||
|
optional uint32 encounter_id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldTradeTokensResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eNodeLocked = 6;
|
||||||
|
k_eInvalidOverworld = 7;
|
||||||
|
k_eInvalidOffer = 8;
|
||||||
|
k_eNotEnoughTokens = 9;
|
||||||
|
k_eInvalidNode = 10;
|
||||||
|
k_eInvalidEncounter = 11;
|
||||||
|
k_eRewardDoesNotMatchRecipe = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldTradeTokensResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
optional .CMsgOverworldTokenQuantity tokens_received = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGiftTokens {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional .CMsgOverworldTokenCount token_gift = 2;
|
||||||
|
optional uint32 recipient_account_id = 3;
|
||||||
|
optional uint32 periodic_resource_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGiftTokensResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eNodeLocked = 6;
|
||||||
|
k_eInvalidOverworld = 7;
|
||||||
|
k_eInvalidGift = 8;
|
||||||
|
k_eNotEnoughTokens = 9;
|
||||||
|
k_eInvalidRecipient = 10;
|
||||||
|
k_eNotEnoughPeriodicResource = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldGiftTokensResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevResetAll {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevResetAllResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidOverworld = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldDevResetAllResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevResetNode {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional uint32 node_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevResetNodeResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidOverworld = 6;
|
||||||
|
k_eInvalidNode = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldDevResetNodeResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevGrantTokens {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity token_quantity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevGrantTokensResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidOverworld = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldDevGrantTokensResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevClearInventory {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldDevClearInventoryResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidOverworld = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldDevClearInventoryResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldFeedback {
|
||||||
|
optional uint32 language = 1;
|
||||||
|
optional uint32 overworld_id = 2;
|
||||||
|
optional string feedback = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldFeedbackResponse {
|
||||||
|
enum EResponse {
|
||||||
|
k_eInternalError = 0;
|
||||||
|
k_eSuccess = 1;
|
||||||
|
k_eTooBusy = 2;
|
||||||
|
k_eDisabled = 3;
|
||||||
|
k_eTimeout = 4;
|
||||||
|
k_eNotAllowed = 5;
|
||||||
|
k_eInvalidOverworld = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgClientToGCOverworldFeedbackResponse.EResponse response = 1 [default = k_eInternalError];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGetDynamicImage {
|
||||||
|
optional uint32 magic = 1;
|
||||||
|
optional uint32 image_id = 2;
|
||||||
|
optional uint32 language = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientToGCOverworldGetDynamicImageResponse {
|
||||||
|
message Image {
|
||||||
|
optional uint32 width = 1;
|
||||||
|
optional uint32 height = 2;
|
||||||
|
optional .CMsgClientToGCOverworldGetDynamicImageResponse.EDynamicImageFormat format = 3 [default = k_eUnknown];
|
||||||
|
optional bytes image_bytes = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDynamicImageFormat {
|
||||||
|
k_eUnknown = 0;
|
||||||
|
k_ePNG = 1;
|
||||||
|
k_eData = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 image_id = 1;
|
||||||
|
repeated .CMsgClientToGCOverworldGetDynamicImageResponse.Image images = 2;
|
||||||
|
}
|
||||||
941
protos/dota_gcmessages_msgid.proto
Normal file
941
protos/dota_gcmessages_msgid.proto
Normal file
|
|
@ -0,0 +1,941 @@
|
||||||
|
enum EDOTAGCMsg {
|
||||||
|
k_EMsgGCDOTABase = 7000;
|
||||||
|
k_EMsgGCGameMatchSignOut = 7004;
|
||||||
|
k_EMsgGCGameMatchSignOutResponse = 7005;
|
||||||
|
k_EMsgGCJoinChatChannel = 7009;
|
||||||
|
k_EMsgGCJoinChatChannelResponse = 7010;
|
||||||
|
k_EMsgGCOtherJoinedChannel = 7013;
|
||||||
|
k_EMsgGCOtherLeftChannel = 7014;
|
||||||
|
k_EMsgServerToGCRequestStatus = 7026;
|
||||||
|
k_EMsgGCStartFindingMatch = 7033;
|
||||||
|
k_EMsgGCConnectedPlayers = 7034;
|
||||||
|
k_EMsgGCAbandonCurrentGame = 7035;
|
||||||
|
k_EMsgGCStopFindingMatch = 7036;
|
||||||
|
k_EMsgGCPracticeLobbyCreate = 7038;
|
||||||
|
k_EMsgGCPracticeLobbyLeave = 7040;
|
||||||
|
k_EMsgGCPracticeLobbyLaunch = 7041;
|
||||||
|
k_EMsgGCPracticeLobbyList = 7042;
|
||||||
|
k_EMsgGCPracticeLobbyListResponse = 7043;
|
||||||
|
k_EMsgGCPracticeLobbyJoin = 7044;
|
||||||
|
k_EMsgGCPracticeLobbySetDetails = 7046;
|
||||||
|
k_EMsgGCPracticeLobbySetTeamSlot = 7047;
|
||||||
|
k_EMsgGCInitialQuestionnaireResponse = 7049;
|
||||||
|
k_EMsgGCPracticeLobbyResponse = 7055;
|
||||||
|
k_EMsgGCBroadcastNotification = 7056;
|
||||||
|
k_EMsgGCLiveScoreboardUpdate = 7057;
|
||||||
|
k_EMsgGCRequestChatChannelList = 7060;
|
||||||
|
k_EMsgGCRequestChatChannelListResponse = 7061;
|
||||||
|
k_EMsgGCReadyUp = 7070;
|
||||||
|
k_EMsgGCKickedFromMatchmakingQueue = 7071;
|
||||||
|
k_EMsgGCLeaverDetected = 7072;
|
||||||
|
k_EMsgGCSpectateFriendGame = 7073;
|
||||||
|
k_EMsgGCSpectateFriendGameResponse = 7074;
|
||||||
|
k_EMsgGCReportsRemainingRequest = 7076;
|
||||||
|
k_EMsgGCReportsRemainingResponse = 7077;
|
||||||
|
k_EMsgGCSubmitPlayerReport = 7078;
|
||||||
|
k_EMsgGCSubmitPlayerReportResponse = 7079;
|
||||||
|
k_EMsgGCPracticeLobbyKick = 7081;
|
||||||
|
k_EMsgGCSubmitPlayerReportV2 = 7082;
|
||||||
|
k_EMsgGCSubmitPlayerReportResponseV2 = 7083;
|
||||||
|
k_EMsgGCRequestSaveGames = 7084;
|
||||||
|
k_EMsgGCRequestSaveGamesServer = 7085;
|
||||||
|
k_EMsgGCRequestSaveGamesResponse = 7086;
|
||||||
|
k_EMsgGCLeaverDetectedResponse = 7087;
|
||||||
|
k_EMsgGCPlayerFailedToConnect = 7088;
|
||||||
|
k_EMsgGCGCToRelayConnect = 7089;
|
||||||
|
k_EMsgGCGCToRelayConnectresponse = 7090;
|
||||||
|
k_EMsgGCWatchGame = 7091;
|
||||||
|
k_EMsgGCWatchGameResponse = 7092;
|
||||||
|
k_EMsgGCBanStatusRequest = 7093;
|
||||||
|
k_EMsgGCBanStatusResponse = 7094;
|
||||||
|
k_EMsgGCMatchDetailsRequest = 7095;
|
||||||
|
k_EMsgGCMatchDetailsResponse = 7096;
|
||||||
|
k_EMsgGCCancelWatchGame = 7097;
|
||||||
|
k_EMsgGCPopup = 7102;
|
||||||
|
k_EMsgGCFriendPracticeLobbyListRequest = 7111;
|
||||||
|
k_EMsgGCFriendPracticeLobbyListResponse = 7112;
|
||||||
|
k_EMsgGCPracticeLobbyJoinResponse = 7113;
|
||||||
|
k_EMsgGCCreateTeam = 7115;
|
||||||
|
k_EMsgGCCreateTeamResponse = 7116;
|
||||||
|
k_EMsgGCTeamInvite_InviterToGC = 7122;
|
||||||
|
k_EMsgGCTeamInvite_GCImmediateResponseToInviter = 7123;
|
||||||
|
k_EMsgGCTeamInvite_GCRequestToInvitee = 7124;
|
||||||
|
k_EMsgGCTeamInvite_InviteeResponseToGC = 7125;
|
||||||
|
k_EMsgGCTeamInvite_GCResponseToInviter = 7126;
|
||||||
|
k_EMsgGCTeamInvite_GCResponseToInvitee = 7127;
|
||||||
|
k_EMsgGCKickTeamMember = 7128;
|
||||||
|
k_EMsgGCKickTeamMemberResponse = 7129;
|
||||||
|
k_EMsgGCLeaveTeam = 7130;
|
||||||
|
k_EMsgGCLeaveTeamResponse = 7131;
|
||||||
|
k_EMsgGCApplyTeamToPracticeLobby = 7142;
|
||||||
|
k_EMsgGCTransferTeamAdmin = 7144;
|
||||||
|
k_EMsgGCPracticeLobbyJoinBroadcastChannel = 7149;
|
||||||
|
k_EMsgGC_TournamentItemEvent = 7150;
|
||||||
|
k_EMsgGC_TournamentItemEventResponse = 7151;
|
||||||
|
k_EMsgTeamFanfare = 7156;
|
||||||
|
k_EMsgResponseTeamFanfare = 7157;
|
||||||
|
k_EMsgGC_GameServerUploadSaveGame = 7158;
|
||||||
|
k_EMsgGC_GameServerSaveGameResult = 7159;
|
||||||
|
k_EMsgGC_GameServerGetLoadGame = 7160;
|
||||||
|
k_EMsgGC_GameServerGetLoadGameResult = 7161;
|
||||||
|
k_EMsgGCEditTeamDetails = 7166;
|
||||||
|
k_EMsgGCEditTeamDetailsResponse = 7167;
|
||||||
|
k_EMsgGCReadyUpStatus = 7170;
|
||||||
|
k_EMsgGCToGCMatchCompleted = 7186;
|
||||||
|
k_EMsgGCBalancedShuffleLobby = 7188;
|
||||||
|
k_EMsgGCMatchmakingStatsRequest = 7197;
|
||||||
|
k_EMsgGCMatchmakingStatsResponse = 7198;
|
||||||
|
k_EMsgGCBotGameCreate = 7199;
|
||||||
|
k_EMsgGCSetMatchHistoryAccess = 7200;
|
||||||
|
k_EMsgGCSetMatchHistoryAccessResponse = 7201;
|
||||||
|
k_EMsgUpgradeLeagueItem = 7203;
|
||||||
|
k_EMsgUpgradeLeagueItemResponse = 7204;
|
||||||
|
k_EMsgGCWatchDownloadedReplay = 7206;
|
||||||
|
k_EMsgClientsRejoinChatChannels = 7217;
|
||||||
|
k_EMsgGCToGCGetUserChatInfo = 7218;
|
||||||
|
k_EMsgGCToGCGetUserChatInfoResponse = 7219;
|
||||||
|
k_EMsgGCToGCLeaveAllChatChannels = 7220;
|
||||||
|
k_EMsgGCToGCUpdateAccountChatBan = 7221;
|
||||||
|
k_EMsgGCToGCCanInviteUserToTeam = 7234;
|
||||||
|
k_EMsgGCToGCCanInviteUserToTeamResponse = 7235;
|
||||||
|
k_EMsgGCToGCGetUserRank = 7236;
|
||||||
|
k_EMsgGCToGCGetUserRankResponse = 7237;
|
||||||
|
k_EMsgGCToGCAdjustUserRank = 7238;
|
||||||
|
k_EMsgGCToGCAdjustUserRankResponse = 7239;
|
||||||
|
k_EMsgGCToGCUpdateTeamStats = 7240;
|
||||||
|
k_EMsgGCToGCValidateTeam = 7241;
|
||||||
|
k_EMsgGCToGCValidateTeamResponse = 7242;
|
||||||
|
k_EMsgGCToGCGetLeagueAdmin = 7255;
|
||||||
|
k_EMsgGCToGCGetLeagueAdminResponse = 7256;
|
||||||
|
k_EMsgGCLeaveChatChannel = 7272;
|
||||||
|
k_EMsgGCChatMessage = 7273;
|
||||||
|
k_EMsgGCGetHeroStandings = 7274;
|
||||||
|
k_EMsgGCGetHeroStandingsResponse = 7275;
|
||||||
|
k_EMsgGCItemEditorReservationsRequest = 7283;
|
||||||
|
k_EMsgGCItemEditorReservationsResponse = 7284;
|
||||||
|
k_EMsgGCItemEditorReserveItemDef = 7285;
|
||||||
|
k_EMsgGCItemEditorReserveItemDefResponse = 7286;
|
||||||
|
k_EMsgGCItemEditorReleaseReservation = 7287;
|
||||||
|
k_EMsgGCItemEditorReleaseReservationResponse = 7288;
|
||||||
|
k_EMsgGCFantasyLivePlayerStats = 7308;
|
||||||
|
k_EMsgGCFantasyFinalPlayerStats = 7309;
|
||||||
|
k_EMsgGCFlipLobbyTeams = 7320;
|
||||||
|
k_EMsgGCToGCEvaluateReportedPlayer = 7322;
|
||||||
|
k_EMsgGCToGCEvaluateReportedPlayerResponse = 7323;
|
||||||
|
k_EMsgGCToGCProcessPlayerReportForTarget = 7324;
|
||||||
|
k_EMsgGCToGCProcessReportSuccess = 7325;
|
||||||
|
k_EMsgGCNotifyAccountFlagsChange = 7326;
|
||||||
|
k_EMsgGCSetProfilePrivacy = 7327;
|
||||||
|
k_EMsgGCSetProfilePrivacyResponse = 7328;
|
||||||
|
k_EMsgGCClientSuspended = 7342;
|
||||||
|
k_EMsgGCPartyMemberSetCoach = 7343;
|
||||||
|
k_EMsgGCPracticeLobbySetCoach = 7346;
|
||||||
|
k_EMsgGCChatModeratorBan = 7359;
|
||||||
|
k_EMsgGCLobbyUpdateBroadcastChannelInfo = 7367;
|
||||||
|
k_EMsgGCToGCGrantTournamentItem = 7372;
|
||||||
|
k_EMsgGCToGCUpgradeTwitchViewerItems = 7375;
|
||||||
|
k_EMsgGCToGCGetLiveMatchAffiliates = 7376;
|
||||||
|
k_EMsgGCToGCGetLiveMatchAffiliatesResponse = 7377;
|
||||||
|
k_EMsgGCToGCUpdatePlayerPennantCounts = 7378;
|
||||||
|
k_EMsgGCToGCGetPlayerPennantCounts = 7379;
|
||||||
|
k_EMsgGCToGCGetPlayerPennantCountsResponse = 7380;
|
||||||
|
k_EMsgGCGameMatchSignOutPermissionRequest = 7381;
|
||||||
|
k_EMsgGCGameMatchSignOutPermissionResponse = 7382;
|
||||||
|
k_EMsgDOTAAwardEventPoints = 7384;
|
||||||
|
k_EMsgDOTAGetEventPoints = 7387;
|
||||||
|
k_EMsgDOTAGetEventPointsResponse = 7388;
|
||||||
|
k_EMsgGCPartyLeaderWatchGamePrompt = 7397;
|
||||||
|
k_EMsgGCCompendiumSetSelection = 7405;
|
||||||
|
k_EMsgGCCompendiumDataRequest = 7406;
|
||||||
|
k_EMsgGCCompendiumDataResponse = 7407;
|
||||||
|
k_EMsgDOTAGetPlayerMatchHistory = 7408;
|
||||||
|
k_EMsgDOTAGetPlayerMatchHistoryResponse = 7409;
|
||||||
|
k_EMsgGCToGCMatchmakingAddParty = 7410;
|
||||||
|
k_EMsgGCToGCMatchmakingRemoveParty = 7411;
|
||||||
|
k_EMsgGCToGCMatchmakingRemoveAllParties = 7412;
|
||||||
|
k_EMsgGCToGCMatchmakingMatchFound = 7413;
|
||||||
|
k_EMsgGCToGCUpdateMatchManagementStats = 7414;
|
||||||
|
k_EMsgGCToGCUpdateMatchmakingStats = 7415;
|
||||||
|
k_EMsgGCToServerPingRequest = 7416;
|
||||||
|
k_EMsgGCToServerPingResponse = 7417;
|
||||||
|
k_EMsgGCToServerEvaluateToxicChat = 7418;
|
||||||
|
k_EMsgServerToGCEvaluateToxicChat = 7419;
|
||||||
|
k_EMsgServerToGCEvaluateToxicChatResponse = 7420;
|
||||||
|
k_EMsgGCToGCProcessMatchLeaver = 7426;
|
||||||
|
k_EMsgGCNotificationsRequest = 7427;
|
||||||
|
k_EMsgGCNotificationsResponse = 7428;
|
||||||
|
k_EMsgGCToGCModifyNotification = 7429;
|
||||||
|
k_EMsgGCLeagueAdminList = 7434;
|
||||||
|
k_EMsgGCNotificationsMarkReadRequest = 7435;
|
||||||
|
k_EMsgServerToGCRequestBatchPlayerResources = 7450;
|
||||||
|
k_EMsgServerToGCRequestBatchPlayerResourcesResponse = 7451;
|
||||||
|
k_EMsgGCCompendiumSetSelectionResponse = 7453;
|
||||||
|
k_EMsgGCPlayerInfoSubmit = 7456;
|
||||||
|
k_EMsgGCPlayerInfoSubmitResponse = 7457;
|
||||||
|
k_EMsgGCToGCGetAccountLevel = 7458;
|
||||||
|
k_EMsgGCToGCGetAccountLevelResponse = 7459;
|
||||||
|
k_EMsgDOTAGetWeekendTourneySchedule = 7464;
|
||||||
|
k_EMsgDOTAWeekendTourneySchedule = 7465;
|
||||||
|
k_EMsgGCJoinableCustomGameModesRequest = 7466;
|
||||||
|
k_EMsgGCJoinableCustomGameModesResponse = 7467;
|
||||||
|
k_EMsgGCJoinableCustomLobbiesRequest = 7468;
|
||||||
|
k_EMsgGCJoinableCustomLobbiesResponse = 7469;
|
||||||
|
k_EMsgGCQuickJoinCustomLobby = 7470;
|
||||||
|
k_EMsgGCQuickJoinCustomLobbyResponse = 7471;
|
||||||
|
k_EMsgGCToGCGrantEventPointAction = 7472;
|
||||||
|
k_EMsgGCToGCSetCompendiumSelection = 7478;
|
||||||
|
k_EMsgGCHasItemQuery = 7484;
|
||||||
|
k_EMsgGCHasItemResponse = 7485;
|
||||||
|
k_EMsgGCToGCGrantEventPointActionMsg = 7488;
|
||||||
|
k_EMsgGCToGCGetCompendiumSelections = 7492;
|
||||||
|
k_EMsgGCToGCGetCompendiumSelectionsResponse = 7493;
|
||||||
|
k_EMsgServerToGCMatchConnectionStats = 7494;
|
||||||
|
k_EMsgGCToClientTournamentItemDrop = 7495;
|
||||||
|
k_EMsgSQLDelayedGrantLeagueDrop = 7496;
|
||||||
|
k_EMsgServerGCUpdateSpectatorCount = 7497;
|
||||||
|
k_EMsgGCToGCEmoticonUnlock = 7501;
|
||||||
|
k_EMsgSignOutDraftInfo = 7502;
|
||||||
|
k_EMsgClientToGCEmoticonDataRequest = 7503;
|
||||||
|
k_EMsgGCToClientEmoticonData = 7504;
|
||||||
|
k_EMsgGCPracticeLobbyToggleBroadcastChannelCameramanStatus = 7505;
|
||||||
|
k_EMsgDOTARedeemItem = 7518;
|
||||||
|
k_EMsgDOTARedeemItemResponse = 7519;
|
||||||
|
k_EMsgClientToGCGetAllHeroProgress = 7521;
|
||||||
|
k_EMsgClientToGCGetAllHeroProgressResponse = 7522;
|
||||||
|
k_EMsgGCToGCGetServerForClient = 7523;
|
||||||
|
k_EMsgGCToGCGetServerForClientResponse = 7524;
|
||||||
|
k_EMsgSQLProcessTournamentGameOutcome = 7525;
|
||||||
|
k_EMsgSQLGrantTrophyToAccount = 7526;
|
||||||
|
k_EMsgClientToGCGetTrophyList = 7527;
|
||||||
|
k_EMsgClientToGCGetTrophyListResponse = 7528;
|
||||||
|
k_EMsgGCToClientTrophyAwarded = 7529;
|
||||||
|
k_EMsgGCGameBotMatchSignOut = 7530;
|
||||||
|
k_EMsgGCGameBotMatchSignOutPermissionRequest = 7531;
|
||||||
|
k_EMsgSignOutBotInfo = 7532;
|
||||||
|
k_EMsgGCToGCUpdateProfileCards = 7533;
|
||||||
|
k_EMsgClientToGCGetProfileCard = 7534;
|
||||||
|
k_EMsgClientToGCGetProfileCardResponse = 7535;
|
||||||
|
k_EMsgClientToGCGetBattleReport = 7536;
|
||||||
|
k_EMsgClientToGCGetBattleReportResponse = 7537;
|
||||||
|
k_EMsgClientToGCSetProfileCardSlots = 7538;
|
||||||
|
k_EMsgGCToClientProfileCardUpdated = 7539;
|
||||||
|
k_EMsgServerToGCVictoryPredictions = 7540;
|
||||||
|
k_EMsgClientToGCGetBattleReportAggregateStats = 7541;
|
||||||
|
k_EMsgClientToGCGetBattleReportAggregateStatsResponse = 7542;
|
||||||
|
k_EMsgClientToGCGetBattleReportInfo = 7543;
|
||||||
|
k_EMsgClientToGCGetBattleReportInfoResponse = 7544;
|
||||||
|
k_EMsgSignOutCommunicationSummary = 7545;
|
||||||
|
k_EMsgServerToGCRequestStatus_Response = 7546;
|
||||||
|
k_EMsgClientToGCCreateHeroStatue = 7547;
|
||||||
|
k_EMsgGCToClientHeroStatueCreateResult = 7548;
|
||||||
|
k_EMsgGCGCToLANServerRelayConnect = 7549;
|
||||||
|
k_EMsgClientToGCAcknowledgeBattleReport = 7550;
|
||||||
|
k_EMsgClientToGCAcknowledgeBattleReportResponse = 7551;
|
||||||
|
k_EMsgClientToGCGetBattleReportMatchHistory = 7552;
|
||||||
|
k_EMsgClientToGCGetBattleReportMatchHistoryResponse = 7553;
|
||||||
|
k_EMsgServerToGCReportKillSummaries = 7554;
|
||||||
|
k_EMsgGCToGCUpdatePlayerPredictions = 7561;
|
||||||
|
k_EMsgGCToServerPredictionResult = 7562;
|
||||||
|
k_EMsgGCToGCReplayMonitorValidateReplay = 7569;
|
||||||
|
k_EMsgLobbyEventPoints = 7572;
|
||||||
|
k_EMsgGCToGCGetCustomGameTickets = 7573;
|
||||||
|
k_EMsgGCToGCGetCustomGameTicketsResponse = 7574;
|
||||||
|
k_EMsgGCToGCCustomGamePlayed = 7576;
|
||||||
|
k_EMsgGCToGCGrantEventPointsToUser = 7577;
|
||||||
|
k_EMsgGameserverCrashReport = 7579;
|
||||||
|
k_EMsgGameserverCrashReportResponse = 7580;
|
||||||
|
k_EMsgGCToClientSteamDatagramTicket = 7581;
|
||||||
|
k_EMsgGCToGCSendAccountsEventPoints = 7583;
|
||||||
|
k_EMsgClientToGCRerollPlayerChallenge = 7584;
|
||||||
|
k_EMsgServerToGCRerollPlayerChallenge = 7585;
|
||||||
|
k_EMsgGCRerollPlayerChallengeResponse = 7586;
|
||||||
|
k_EMsgSignOutUpdatePlayerChallenge = 7587;
|
||||||
|
k_EMsgClientToGCSetPartyLeader = 7588;
|
||||||
|
k_EMsgClientToGCCancelPartyInvites = 7589;
|
||||||
|
k_EMsgSQLGrantLeagueMatchToTicketHolders = 7592;
|
||||||
|
k_EMsgGCToGCEmoticonUnlockNoRollback = 7594;
|
||||||
|
k_EMsgClientToGCApplyGemCombiner = 7603;
|
||||||
|
k_EMsgClientToGCGetAllHeroOrder = 7606;
|
||||||
|
k_EMsgClientToGCGetAllHeroOrderResponse = 7607;
|
||||||
|
k_EMsgSQLGCToGCGrantBadgePoints = 7608;
|
||||||
|
k_EMsgGCToGCCheckOwnsEntireEmoticonRange = 7611;
|
||||||
|
k_EMsgGCToGCCheckOwnsEntireEmoticonRangeResponse = 7612;
|
||||||
|
k_EMsgGCToClientRequestLaneSelection = 7623;
|
||||||
|
k_EMsgGCToClientRequestLaneSelectionResponse = 7624;
|
||||||
|
k_EMsgServerToGCCavernCrawlIsHeroActive = 7625;
|
||||||
|
k_EMsgServerToGCCavernCrawlIsHeroActiveResponse = 7626;
|
||||||
|
k_EMsgClientToGCPlayerCardSpecificPurchaseRequest = 7627;
|
||||||
|
k_EMsgClientToGCPlayerCardSpecificPurchaseResponse = 7628;
|
||||||
|
k_EMsgSQLSetIsLeagueAdmin = 7630;
|
||||||
|
k_EMsgGCToGCGetLiveLeagueMatches = 7631;
|
||||||
|
k_EMsgGCToGCGetLiveLeagueMatchesResponse = 7632;
|
||||||
|
k_EMsgDOTALeagueInfoListAdminsRequest = 7633;
|
||||||
|
k_EMsgDOTALeagueInfoListAdminsReponse = 7634;
|
||||||
|
k_EMsgGCToGCLeagueMatchStarted = 7645;
|
||||||
|
k_EMsgGCToGCLeagueMatchCompleted = 7646;
|
||||||
|
k_EMsgGCToGCLeagueMatchStartedResponse = 7647;
|
||||||
|
k_EMsgDOTALeagueAvailableLobbyNodesRequest = 7650;
|
||||||
|
k_EMsgDOTALeagueAvailableLobbyNodes = 7651;
|
||||||
|
k_EMsgGCToGCLeagueRequest = 7652;
|
||||||
|
k_EMsgGCToGCLeagueResponse = 7653;
|
||||||
|
k_EMsgGCToGCLeagueNodeGroupRequest = 7654;
|
||||||
|
k_EMsgGCToGCLeagueNodeGroupResponse = 7655;
|
||||||
|
k_EMsgGCToGCLeagueNodeRequest = 7656;
|
||||||
|
k_EMsgGCToGCLeagueNodeResponse = 7657;
|
||||||
|
k_EMsgGCToGCRealtimeStatsTerseRequest = 7658;
|
||||||
|
k_EMsgGCToGCRealtimeStatsTerseResponse = 7659;
|
||||||
|
k_EMsgGCToGCGetTopMatchesRequest = 7660;
|
||||||
|
k_EMsgGCToGCGetTopMatchesResponse = 7661;
|
||||||
|
k_EMsgClientToGCGetFilteredPlayers = 7662;
|
||||||
|
k_EMsgGCToClientGetFilteredPlayersResponse = 7663;
|
||||||
|
k_EMsgClientToGCRemoveFilteredPlayer = 7664;
|
||||||
|
k_EMsgGCToClientRemoveFilteredPlayerResponse = 7665;
|
||||||
|
k_EMsgGCToClientPlayerBeaconState = 7666;
|
||||||
|
k_EMsgGCToClientPartyBeaconUpdate = 7667;
|
||||||
|
k_EMsgGCToClientPartySearchInvite = 7668;
|
||||||
|
k_EMsgClientToGCUpdatePartyBeacon = 7669;
|
||||||
|
k_EMsgClientToGCRequestActiveBeaconParties = 7670;
|
||||||
|
k_EMsgGCToClientRequestActiveBeaconPartiesResponse = 7671;
|
||||||
|
k_EMsgClientToGCManageFavorites = 7672;
|
||||||
|
k_EMsgGCToClientManageFavoritesResponse = 7673;
|
||||||
|
k_EMsgClientToGCJoinPartyFromBeacon = 7674;
|
||||||
|
k_EMsgGCToClientJoinPartyFromBeaconResponse = 7675;
|
||||||
|
k_EMsgClientToGCGetFavoritePlayers = 7676;
|
||||||
|
k_EMsgGCToClientGetFavoritePlayersResponse = 7677;
|
||||||
|
k_EMsgClientToGCVerifyFavoritePlayers = 7678;
|
||||||
|
k_EMsgGCToClientVerifyFavoritePlayersResponse = 7679;
|
||||||
|
k_EMsgGCToClientPartySearchInvites = 7680;
|
||||||
|
k_EMsgGCToClientRequestMMInfo = 7681;
|
||||||
|
k_EMsgClientToGCMMInfo = 7682;
|
||||||
|
k_EMsgSignOutTextMuteInfo = 7683;
|
||||||
|
k_EMsgClientToGCPurchaseLabyrinthBlessings = 7684;
|
||||||
|
k_EMsgClientToGCPurchaseLabyrinthBlessingsResponse = 7685;
|
||||||
|
k_EMsgClientToGCPurchaseFilteredPlayerSlot = 7686;
|
||||||
|
k_EMsgGCToClientPurchaseFilteredPlayerSlotResponse = 7687;
|
||||||
|
k_EMsgClientToGCUpdateFilteredPlayerNote = 7688;
|
||||||
|
k_EMsgGCToClientUpdateFilteredPlayerNoteResponse = 7689;
|
||||||
|
k_EMsgClientToGCClaimSwag = 7690;
|
||||||
|
k_EMsgGCToClientClaimSwagResponse = 7691;
|
||||||
|
k_EMsgServerToGCLockCharmTrading = 8004;
|
||||||
|
k_EMsgClientToGCPlayerStatsRequest = 8006;
|
||||||
|
k_EMsgGCToClientPlayerStatsResponse = 8007;
|
||||||
|
k_EMsgGCClearPracticeLobbyTeam = 8008;
|
||||||
|
k_EMsgClientToGCFindTopSourceTVGames = 8009;
|
||||||
|
k_EMsgGCToClientFindTopSourceTVGamesResponse = 8010;
|
||||||
|
k_EMsgGCLobbyList = 8011;
|
||||||
|
k_EMsgGCLobbyListResponse = 8012;
|
||||||
|
k_EMsgGCPlayerStatsMatchSignOut = 8013;
|
||||||
|
k_EMsgClientToGCSocialFeedPostCommentRequest = 8016;
|
||||||
|
k_EMsgGCToClientSocialFeedPostCommentResponse = 8017;
|
||||||
|
k_EMsgClientToGCCustomGamesFriendsPlayedRequest = 8018;
|
||||||
|
k_EMsgGCToClientCustomGamesFriendsPlayedResponse = 8019;
|
||||||
|
k_EMsgClientToGCFriendsPlayedCustomGameRequest = 8020;
|
||||||
|
k_EMsgGCToClientFriendsPlayedCustomGameResponse = 8021;
|
||||||
|
k_EMsgGCTopCustomGamesList = 8024;
|
||||||
|
k_EMsgClientToGCSetPartyOpen = 8029;
|
||||||
|
k_EMsgClientToGCMergePartyInvite = 8030;
|
||||||
|
k_EMsgGCToClientMergeGroupInviteReply = 8031;
|
||||||
|
k_EMsgClientToGCMergePartyResponse = 8032;
|
||||||
|
k_EMsgGCToClientMergePartyResponseReply = 8033;
|
||||||
|
k_EMsgClientToGCGetProfileCardStats = 8034;
|
||||||
|
k_EMsgClientToGCGetProfileCardStatsResponse = 8035;
|
||||||
|
k_EMsgClientToGCTopLeagueMatchesRequest = 8036;
|
||||||
|
k_EMsgClientToGCTopFriendMatchesRequest = 8037;
|
||||||
|
k_EMsgGCToClientProfileCardStatsUpdated = 8040;
|
||||||
|
k_EMsgServerToGCRealtimeStats = 8041;
|
||||||
|
k_EMsgGCToServerRealtimeStatsStartStop = 8042;
|
||||||
|
k_EMsgGCToGCGetServersForClients = 8045;
|
||||||
|
k_EMsgGCToGCGetServersForClientsResponse = 8046;
|
||||||
|
k_EMsgGCPracticeLobbyKickFromTeam = 8047;
|
||||||
|
k_EMsgDOTAChatGetMemberCount = 8048;
|
||||||
|
k_EMsgDOTAChatGetMemberCountResponse = 8049;
|
||||||
|
k_EMsgClientToGCSocialFeedPostMessageRequest = 8050;
|
||||||
|
k_EMsgGCToClientSocialFeedPostMessageResponse = 8051;
|
||||||
|
k_EMsgCustomGameListenServerStartedLoading = 8052;
|
||||||
|
k_EMsgCustomGameClientFinishedLoading = 8053;
|
||||||
|
k_EMsgGCPracticeLobbyCloseBroadcastChannel = 8054;
|
||||||
|
k_EMsgGCStartFindingMatchResponse = 8055;
|
||||||
|
k_EMsgSQLGCToGCGrantAccountFlag = 8057;
|
||||||
|
k_EMsgGCToClientTopLeagueMatchesResponse = 8061;
|
||||||
|
k_EMsgGCToClientTopFriendMatchesResponse = 8062;
|
||||||
|
k_EMsgClientToGCMatchesMinimalRequest = 8063;
|
||||||
|
k_EMsgClientToGCMatchesMinimalResponse = 8064;
|
||||||
|
k_EMsgGCToClientChatRegionsEnabled = 8067;
|
||||||
|
k_EMsgClientToGCPingData = 8068;
|
||||||
|
k_EMsgGCToGCEnsureAccountInParty = 8071;
|
||||||
|
k_EMsgGCToGCEnsureAccountInPartyResponse = 8072;
|
||||||
|
k_EMsgClientToGCGetProfileTickets = 8073;
|
||||||
|
k_EMsgClientToGCGetProfileTicketsResponse = 8074;
|
||||||
|
k_EMsgGCToClientMatchGroupsVersion = 8075;
|
||||||
|
k_EMsgClientToGCH264Unsupported = 8076;
|
||||||
|
k_EMsgClientToGCGetQuestProgress = 8078;
|
||||||
|
k_EMsgClientToGCGetQuestProgressResponse = 8079;
|
||||||
|
k_EMsgSignOutXPCoins = 8080;
|
||||||
|
k_EMsgGCToClientMatchSignedOut = 8081;
|
||||||
|
k_EMsgGCGetHeroStatsHistory = 8082;
|
||||||
|
k_EMsgGCGetHeroStatsHistoryResponse = 8083;
|
||||||
|
k_EMsgClientToGCPrivateChatInvite = 8084;
|
||||||
|
k_EMsgClientToGCPrivateChatKick = 8088;
|
||||||
|
k_EMsgClientToGCPrivateChatPromote = 8089;
|
||||||
|
k_EMsgClientToGCPrivateChatDemote = 8090;
|
||||||
|
k_EMsgGCToClientPrivateChatResponse = 8091;
|
||||||
|
k_EMsgClientToGCLatestConductScorecardRequest = 8095;
|
||||||
|
k_EMsgClientToGCLatestConductScorecard = 8096;
|
||||||
|
k_EMsgClientToGCWageringRequest = 8099;
|
||||||
|
k_EMsgGCToClientWageringResponse = 8100;
|
||||||
|
k_EMsgClientToGCEventGoalsRequest = 8103;
|
||||||
|
k_EMsgClientToGCEventGoalsResponse = 8104;
|
||||||
|
k_EMsgGCToGCLeaguePredictionsUpdate = 8108;
|
||||||
|
k_EMsgGCToGCAddUserToPostGameChat = 8110;
|
||||||
|
k_EMsgClientToGCHasPlayerVotedForMVP = 8111;
|
||||||
|
k_EMsgClientToGCHasPlayerVotedForMVPResponse = 8112;
|
||||||
|
k_EMsgClientToGCVoteForMVP = 8113;
|
||||||
|
k_EMsgClientToGCVoteForMVPResponse = 8114;
|
||||||
|
k_EMsgGCToGCGetEventParticipation = 8115;
|
||||||
|
k_EMsgGCToGCGetEventParticipationResponse = 8116;
|
||||||
|
k_EMsgGCToClientAutomatedTournamentStateChange = 8117;
|
||||||
|
k_EMsgClientToGCWeekendTourneyOpts = 8118;
|
||||||
|
k_EMsgClientToGCWeekendTourneyOptsResponse = 8119;
|
||||||
|
k_EMsgClientToGCWeekendTourneyLeave = 8120;
|
||||||
|
k_EMsgClientToGCWeekendTourneyLeaveResponse = 8121;
|
||||||
|
k_EMsgClientToGCTeammateStatsRequest = 8124;
|
||||||
|
k_EMsgClientToGCTeammateStatsResponse = 8125;
|
||||||
|
k_EMsgClientToGCGetGiftPermissions = 8126;
|
||||||
|
k_EMsgClientToGCGetGiftPermissionsResponse = 8127;
|
||||||
|
k_EMsgClientToGCVoteForArcana = 8128;
|
||||||
|
k_EMsgClientToGCVoteForArcanaResponse = 8129;
|
||||||
|
k_EMsgClientToGCRequestArcanaVotesRemaining = 8130;
|
||||||
|
k_EMsgClientToGCRequestArcanaVotesRemainingResponse = 8131;
|
||||||
|
k_EMsgGCTransferTeamAdminResponse = 8132;
|
||||||
|
k_EMsgGCToClientTeamInfo = 8135;
|
||||||
|
k_EMsgGCToClientTeamsInfo = 8136;
|
||||||
|
k_EMsgClientToGCMyTeamInfoRequest = 8137;
|
||||||
|
k_EMsgClientToGCPublishUserStat = 8140;
|
||||||
|
k_EMsgGCToGCSignoutSpendWager = 8141;
|
||||||
|
k_EMsgGCSubmitLobbyMVPVote = 8144;
|
||||||
|
k_EMsgGCSubmitLobbyMVPVoteResponse = 8145;
|
||||||
|
k_EMsgSignOutCommunityGoalProgress = 8150;
|
||||||
|
k_EMsgGCToClientLobbyMVPAwarded = 8152;
|
||||||
|
k_EMsgGCToClientQuestProgressUpdated = 8153;
|
||||||
|
k_EMsgGCToClientWageringUpdate = 8154;
|
||||||
|
k_EMsgGCToClientArcanaVotesUpdate = 8155;
|
||||||
|
k_EMsgClientToGCSetSpectatorLobbyDetails = 8157;
|
||||||
|
k_EMsgClientToGCSetSpectatorLobbyDetailsResponse = 8158;
|
||||||
|
k_EMsgClientToGCCreateSpectatorLobby = 8159;
|
||||||
|
k_EMsgClientToGCCreateSpectatorLobbyResponse = 8160;
|
||||||
|
k_EMsgClientToGCSpectatorLobbyList = 8161;
|
||||||
|
k_EMsgClientToGCSpectatorLobbyListResponse = 8162;
|
||||||
|
k_EMsgSpectatorLobbyGameDetails = 8163;
|
||||||
|
k_EMsgServerToGCCompendiumInGamePredictionResults = 8166;
|
||||||
|
k_EMsgServerToGCCloseCompendiumInGamePredictionVoting = 8167;
|
||||||
|
k_EMsgClientToGCOpenPlayerCardPack = 8168;
|
||||||
|
k_EMsgClientToGCOpenPlayerCardPackResponse = 8169;
|
||||||
|
k_EMsgClientToGCSelectCompendiumInGamePrediction = 8170;
|
||||||
|
k_EMsgClientToGCSelectCompendiumInGamePredictionResponse = 8171;
|
||||||
|
k_EMsgClientToGCWeekendTourneyGetPlayerStats = 8172;
|
||||||
|
k_EMsgClientToGCWeekendTourneyGetPlayerStatsResponse = 8173;
|
||||||
|
k_EMsgClientToGCRecyclePlayerCard = 8174;
|
||||||
|
k_EMsgClientToGCRecyclePlayerCardResponse = 8175;
|
||||||
|
k_EMsgClientToGCCreatePlayerCardPack = 8176;
|
||||||
|
k_EMsgClientToGCCreatePlayerCardPackResponse = 8177;
|
||||||
|
k_EMsgClientToGCGetPlayerCardRosterRequest = 8178;
|
||||||
|
k_EMsgClientToGCGetPlayerCardRosterResponse = 8179;
|
||||||
|
k_EMsgClientToGCSetPlayerCardRosterRequest = 8180;
|
||||||
|
k_EMsgClientToGCSetPlayerCardRosterResponse = 8181;
|
||||||
|
k_EMsgServerToGCCloseCompendiumInGamePredictionVotingResponse = 8183;
|
||||||
|
k_EMsgLobbyBattleCupVictory = 8186;
|
||||||
|
k_EMsgGCGetPlayerCardItemInfo = 8187;
|
||||||
|
k_EMsgGCGetPlayerCardItemInfoResponse = 8188;
|
||||||
|
k_EMsgClientToGCRequestSteamDatagramTicket = 8189;
|
||||||
|
k_EMsgClientToGCRequestSteamDatagramTicketResponse = 8190;
|
||||||
|
k_EMsgGCToClientBattlePassRollupRequest = 8191;
|
||||||
|
k_EMsgGCToClientBattlePassRollupResponse = 8192;
|
||||||
|
k_EMsgClientToGCTransferSeasonalMMRRequest = 8193;
|
||||||
|
k_EMsgClientToGCTransferSeasonalMMRResponse = 8194;
|
||||||
|
k_EMsgGCToGCPublicChatCommunicationBan = 8195;
|
||||||
|
k_EMsgGCToGCUpdateAccountInfo = 8196;
|
||||||
|
k_EMsgGCChatReportPublicSpam = 8197;
|
||||||
|
k_EMsgClientToGCSetPartyBuilderOptions = 8198;
|
||||||
|
k_EMsgClientToGCSetPartyBuilderOptionsResponse = 8199;
|
||||||
|
k_EMsgGCToClientPlaytestStatus = 8200;
|
||||||
|
k_EMsgClientToGCJoinPlaytest = 8201;
|
||||||
|
k_EMsgClientToGCJoinPlaytestResponse = 8202;
|
||||||
|
k_EMsgLobbyPlaytestDetails = 8203;
|
||||||
|
k_EMsgDOTASetFavoriteTeam = 8204;
|
||||||
|
k_EMsgGCToClientBattlePassRollupListRequest = 8205;
|
||||||
|
k_EMsgGCToClientBattlePassRollupListResponse = 8206;
|
||||||
|
k_EMsgDOTAClaimEventAction = 8209;
|
||||||
|
k_EMsgDOTAClaimEventActionResponse = 8210;
|
||||||
|
k_EMsgDOTAGetPeriodicResource = 8211;
|
||||||
|
k_EMsgDOTAGetPeriodicResourceResponse = 8212;
|
||||||
|
k_EMsgDOTAPeriodicResourceUpdated = 8213;
|
||||||
|
k_EMsgServerToGCSpendWager = 8214;
|
||||||
|
k_EMsgGCToGCSignoutSpendWagerToken = 8215;
|
||||||
|
k_EMsgSubmitTriviaQuestionAnswer = 8216;
|
||||||
|
k_EMsgSubmitTriviaQuestionAnswerResponse = 8217;
|
||||||
|
k_EMsgClientToGCGiveTip = 8218;
|
||||||
|
k_EMsgClientToGCGiveTipResponse = 8219;
|
||||||
|
k_EMsgStartTriviaSession = 8220;
|
||||||
|
k_EMsgStartTriviaSessionResponse = 8221;
|
||||||
|
k_EMsgAnchorPhoneNumberRequest = 8222;
|
||||||
|
k_EMsgAnchorPhoneNumberResponse = 8223;
|
||||||
|
k_EMsgUnanchorPhoneNumberRequest = 8224;
|
||||||
|
k_EMsgUnanchorPhoneNumberResponse = 8225;
|
||||||
|
k_EMsgGCToGCSignoutSpendRankWager = 8229;
|
||||||
|
k_EMsgGCToGCGetFavoriteTeam = 8230;
|
||||||
|
k_EMsgGCToGCGetFavoriteTeamResponse = 8231;
|
||||||
|
k_EMsgSignOutEventGameData = 8232;
|
||||||
|
k_EMsgClientToGCQuickStatsRequest = 8238;
|
||||||
|
k_EMsgClientToGCQuickStatsResponse = 8239;
|
||||||
|
k_EMsgGCToGCSubtractEventPointsFromUser = 8240;
|
||||||
|
k_EMsgSelectionPriorityChoiceRequest = 8241;
|
||||||
|
k_EMsgSelectionPriorityChoiceResponse = 8242;
|
||||||
|
k_EMsgGCToGCCompendiumInGamePredictionResults = 8243;
|
||||||
|
k_EMsgGameAutographReward = 8244;
|
||||||
|
k_EMsgGameAutographRewardResponse = 8245;
|
||||||
|
k_EMsgDestroyLobbyRequest = 8246;
|
||||||
|
k_EMsgDestroyLobbyResponse = 8247;
|
||||||
|
k_EMsgPurchaseItemWithEventPoints = 8248;
|
||||||
|
k_EMsgPurchaseItemWithEventPointsResponse = 8249;
|
||||||
|
k_EMsgServerToGCMatchPlayerItemPurchaseHistory = 8250;
|
||||||
|
k_EMsgGCToGCGrantPlusHeroMatchResults = 8251;
|
||||||
|
k_EMsgServerToGCMatchStateHistory = 8255;
|
||||||
|
k_EMsgPurchaseHeroRandomRelic = 8258;
|
||||||
|
k_EMsgPurchaseHeroRandomRelicResponse = 8259;
|
||||||
|
k_EMsgClientToGCClaimEventActionUsingItem = 8260;
|
||||||
|
k_EMsgClientToGCClaimEventActionUsingItemResponse = 8261;
|
||||||
|
k_EMsgPartyReadyCheckRequest = 8262;
|
||||||
|
k_EMsgPartyReadyCheckResponse = 8263;
|
||||||
|
k_EMsgPartyReadyCheckAcknowledge = 8264;
|
||||||
|
k_EMsgGetRecentPlayTimeFriendsRequest = 8265;
|
||||||
|
k_EMsgGetRecentPlayTimeFriendsResponse = 8266;
|
||||||
|
k_EMsgGCToClientCommendNotification = 8267;
|
||||||
|
k_EMsgProfileRequest = 8268;
|
||||||
|
k_EMsgProfileResponse = 8269;
|
||||||
|
k_EMsgProfileUpdate = 8270;
|
||||||
|
k_EMsgProfileUpdateResponse = 8271;
|
||||||
|
k_EMsgHeroGlobalDataRequest = 8274;
|
||||||
|
k_EMsgHeroGlobalDataResponse = 8275;
|
||||||
|
k_EMsgClientToGCRequestPlusWeeklyChallengeResult = 8276;
|
||||||
|
k_EMsgClientToGCRequestPlusWeeklyChallengeResultResponse = 8277;
|
||||||
|
k_EMsgGCToGCGrantPlusPrepaidTime = 8278;
|
||||||
|
k_EMsgPrivateMetadataKeyRequest = 8279;
|
||||||
|
k_EMsgPrivateMetadataKeyResponse = 8280;
|
||||||
|
k_EMsgGCToGCReconcilePlusStatus = 8281;
|
||||||
|
k_EMsgGCToGCCheckPlusStatus = 8282;
|
||||||
|
k_EMsgGCToGCCheckPlusStatusResponse = 8283;
|
||||||
|
k_EMsgGCToGCReconcilePlusAutoGrantItems = 8284;
|
||||||
|
k_EMsgGCToGCReconcilePlusStatusUnreliable = 8285;
|
||||||
|
k_EMsgGCToClientCavernCrawlMapPathCompleted = 8288;
|
||||||
|
k_EMsgClientToGCCavernCrawlClaimRoom = 8289;
|
||||||
|
k_EMsgClientToGCCavernCrawlClaimRoomResponse = 8290;
|
||||||
|
k_EMsgClientToGCCavernCrawlUseItemOnRoom = 8291;
|
||||||
|
k_EMsgClientToGCCavernCrawlUseItemOnRoomResponse = 8292;
|
||||||
|
k_EMsgClientToGCCavernCrawlUseItemOnPath = 8293;
|
||||||
|
k_EMsgClientToGCCavernCrawlUseItemOnPathResponse = 8294;
|
||||||
|
k_EMsgClientToGCCavernCrawlRequestMapState = 8295;
|
||||||
|
k_EMsgClientToGCCavernCrawlRequestMapStateResponse = 8296;
|
||||||
|
k_EMsgSignOutTips = 8297;
|
||||||
|
k_EMsgClientToGCRequestEventPointLogV2 = 8298;
|
||||||
|
k_EMsgClientToGCRequestEventPointLogResponseV2 = 8299;
|
||||||
|
k_EMsgClientToGCRequestEventTipsSummary = 8300;
|
||||||
|
k_EMsgClientToGCRequestEventTipsSummaryResponse = 8301;
|
||||||
|
k_EMsgClientToGCRequestSocialFeed = 8303;
|
||||||
|
k_EMsgClientToGCRequestSocialFeedResponse = 8304;
|
||||||
|
k_EMsgClientToGCRequestSocialFeedComments = 8305;
|
||||||
|
k_EMsgClientToGCRequestSocialFeedCommentsResponse = 8306;
|
||||||
|
k_EMsgClientToGCCavernCrawlGetClaimedRoomCount = 8308;
|
||||||
|
k_EMsgClientToGCCavernCrawlGetClaimedRoomCountResponse = 8309;
|
||||||
|
k_EMsgGCToGCReconcilePlusAutoGrantItemsUnreliable = 8310;
|
||||||
|
k_EMsgServerToGCAddBroadcastTimelineEvent = 8311;
|
||||||
|
k_EMsgGCToServerUpdateSteamBroadcasting = 8312;
|
||||||
|
k_EMsgClientToGCRecordContestVote = 8313;
|
||||||
|
k_EMsgGCToClientRecordContestVoteResponse = 8314;
|
||||||
|
k_EMsgGCToGCGrantAutograph = 8315;
|
||||||
|
k_EMsgGCToGCGrantAutographResponse = 8316;
|
||||||
|
k_EMsgSignOutConsumableUsage = 8317;
|
||||||
|
k_EMsgLobbyEventGameDetails = 8318;
|
||||||
|
k_EMsgDevGrantEventPoints = 8319;
|
||||||
|
k_EMsgDevGrantEventPointsResponse = 8320;
|
||||||
|
k_EMsgDevGrantEventAction = 8321;
|
||||||
|
k_EMsgDevGrantEventActionResponse = 8322;
|
||||||
|
k_EMsgDevResetEventState = 8323;
|
||||||
|
k_EMsgDevResetEventStateResponse = 8324;
|
||||||
|
k_EMsgGCToGCReconcileEventOwnership = 8325;
|
||||||
|
k_EMsgConsumeEventSupportGrantItem = 8326;
|
||||||
|
k_EMsgConsumeEventSupportGrantItemResponse = 8327;
|
||||||
|
k_EMsgGCToClientClaimEventActionUsingItemCompleted = 8328;
|
||||||
|
k_EMsgGCToClientCavernCrawlMapUpdated = 8329;
|
||||||
|
k_EMsgServerToGCRequestPlayerRecentAccomplishments = 8330;
|
||||||
|
k_EMsgServerToGCRequestPlayerRecentAccomplishmentsResponse = 8331;
|
||||||
|
k_EMsgClientToGCRequestPlayerRecentAccomplishments = 8332;
|
||||||
|
k_EMsgClientToGCRequestPlayerRecentAccomplishmentsResponse = 8333;
|
||||||
|
k_EMsgClientToGCRequestPlayerHeroRecentAccomplishments = 8334;
|
||||||
|
k_EMsgClientToGCRequestPlayerHeroRecentAccomplishmentsResponse = 8335;
|
||||||
|
k_EMsgSignOutEventActionGrants = 8336;
|
||||||
|
k_EMsgClientToGCRequestPlayerCoachMatches = 8337;
|
||||||
|
k_EMsgClientToGCRequestPlayerCoachMatchesResponse = 8338;
|
||||||
|
k_EMsgClientToGCSubmitCoachTeammateRating = 8341;
|
||||||
|
k_EMsgClientToGCSubmitCoachTeammateRatingResponse = 8342;
|
||||||
|
k_EMsgGCToClientCoachTeammateRatingsChanged = 8343;
|
||||||
|
k_EMsgClientToGCRequestPlayerCoachMatch = 8345;
|
||||||
|
k_EMsgClientToGCRequestPlayerCoachMatchResponse = 8346;
|
||||||
|
k_EMsgClientToGCRequestContestVotes = 8347;
|
||||||
|
k_EMsgClientToGCRequestContestVotesResponse = 8348;
|
||||||
|
k_EMsgClientToGCMVPVoteTimeout = 8349;
|
||||||
|
k_EMsgClientToGCMVPVoteTimeoutResponse = 8350;
|
||||||
|
k_EMsgMatchMatchmakingStats = 8360;
|
||||||
|
k_EMsgClientToGCSubmitPlayerMatchSurvey = 8361;
|
||||||
|
k_EMsgClientToGCSubmitPlayerMatchSurveyResponse = 8362;
|
||||||
|
k_EMsgSQLGCToGCGrantAllHeroProgressAccount = 8363;
|
||||||
|
k_EMsgSQLGCToGCGrantAllHeroProgressVictory = 8364;
|
||||||
|
k_EMsgDevDeleteEventActions = 8365;
|
||||||
|
k_EMsgDevDeleteEventActionsResponse = 8366;
|
||||||
|
k_EMsgGCToGCGetAllHeroCurrent = 8635;
|
||||||
|
k_EMsgGCToGCGetAllHeroCurrentResponse = 8636;
|
||||||
|
k_EMsgGCSubmitPlayerAvoidRequest = 8637;
|
||||||
|
k_EMsgGCSubmitPlayerAvoidRequestResponse = 8638;
|
||||||
|
k_EMsgGCToClientNotificationsUpdated = 8639;
|
||||||
|
k_EMsgGCtoGCAssociatedExploiterAccountInfo = 8640;
|
||||||
|
k_EMsgGCtoGCAssociatedExploiterAccountInfoResponse = 8641;
|
||||||
|
k_EMsgGCtoGCRequestRecalibrationCheck = 8642;
|
||||||
|
k_EMsgGCToClientVACReminder = 8643;
|
||||||
|
k_EMsgClientToGCUnderDraftBuy = 8644;
|
||||||
|
k_EMsgClientToGCUnderDraftBuyResponse = 8645;
|
||||||
|
k_EMsgClientToGCUnderDraftReroll = 8646;
|
||||||
|
k_EMsgClientToGCUnderDraftRerollResponse = 8647;
|
||||||
|
k_EMsgNeutralItemStats = 8648;
|
||||||
|
k_EMsgClientToGCCreateGuild = 8649;
|
||||||
|
k_EMsgClientToGCCreateGuildResponse = 8650;
|
||||||
|
k_EMsgClientToGCSetGuildInfo = 8651;
|
||||||
|
k_EMsgClientToGCSetGuildInfoResponse = 8652;
|
||||||
|
k_EMsgClientToGCAddGuildRole = 8653;
|
||||||
|
k_EMsgClientToGCAddGuildRoleResponse = 8654;
|
||||||
|
k_EMsgClientToGCModifyGuildRole = 8655;
|
||||||
|
k_EMsgClientToGCModifyGuildRoleResponse = 8656;
|
||||||
|
k_EMsgClientToGCRemoveGuildRole = 8657;
|
||||||
|
k_EMsgClientToGCRemoveGuildRoleResponse = 8658;
|
||||||
|
k_EMsgClientToGCJoinGuild = 8659;
|
||||||
|
k_EMsgClientToGCJoinGuildResponse = 8660;
|
||||||
|
k_EMsgClientToGCLeaveGuild = 8661;
|
||||||
|
k_EMsgClientToGCLeaveGuildResponse = 8662;
|
||||||
|
k_EMsgClientToGCInviteToGuild = 8663;
|
||||||
|
k_EMsgClientToGCInviteToGuildResponse = 8664;
|
||||||
|
k_EMsgClientToGCDeclineInviteToGuild = 8665;
|
||||||
|
k_EMsgClientToGCDeclineInviteToGuildResponse = 8666;
|
||||||
|
k_EMsgClientToGCCancelInviteToGuild = 8667;
|
||||||
|
k_EMsgClientToGCCancelInviteToGuildResponse = 8668;
|
||||||
|
k_EMsgClientToGCKickGuildMember = 8669;
|
||||||
|
k_EMsgClientToGCKickGuildMemberResponse = 8670;
|
||||||
|
k_EMsgClientToGCSetGuildMemberRole = 8671;
|
||||||
|
k_EMsgClientToGCSetGuildMemberRoleResponse = 8672;
|
||||||
|
k_EMsgClientToGCRequestGuildData = 8673;
|
||||||
|
k_EMsgClientToGCRequestGuildDataResponse = 8674;
|
||||||
|
k_EMsgGCToClientGuildDataUpdated = 8675;
|
||||||
|
k_EMsgClientToGCRequestGuildMembership = 8676;
|
||||||
|
k_EMsgClientToGCRequestGuildMembershipResponse = 8677;
|
||||||
|
k_EMsgGCToClientGuildMembershipUpdated = 8678;
|
||||||
|
k_EMsgClientToGCAcceptInviteToGuild = 8681;
|
||||||
|
k_EMsgClientToGCAcceptInviteToGuildResponse = 8682;
|
||||||
|
k_EMsgClientToGCSetGuildRoleOrder = 8683;
|
||||||
|
k_EMsgClientToGCSetGuildRoleOrderResponse = 8684;
|
||||||
|
k_EMsgClientToGCRequestGuildFeed = 8685;
|
||||||
|
k_EMsgClientToGCRequestGuildFeedResponse = 8686;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildEventData = 8687;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildEventDataResponse = 8688;
|
||||||
|
k_EMsgGCToClientAccountGuildEventDataUpdated = 8689;
|
||||||
|
k_EMsgClientToGCRequestActiveGuildContracts = 8690;
|
||||||
|
k_EMsgClientToGCRequestActiveGuildContractsResponse = 8691;
|
||||||
|
k_EMsgGCToClientActiveGuildContractsUpdated = 8692;
|
||||||
|
k_EMsgGCToClientGuildFeedUpdated = 8693;
|
||||||
|
k_EMsgClientToGCSelectGuildContract = 8694;
|
||||||
|
k_EMsgClientToGCSelectGuildContractResponse = 8695;
|
||||||
|
k_EMsgGCToGCCompleteGuildContracts = 8696;
|
||||||
|
k_EMsgClientToGCAddPlayerToGuildChat = 8698;
|
||||||
|
k_EMsgClientToGCAddPlayerToGuildChatResponse = 8699;
|
||||||
|
k_EMsgClientToGCUnderDraftSell = 8700;
|
||||||
|
k_EMsgClientToGCUnderDraftSellResponse = 8701;
|
||||||
|
k_EMsgClientToGCUnderDraftRequest = 8702;
|
||||||
|
k_EMsgClientToGCUnderDraftResponse = 8703;
|
||||||
|
k_EMsgClientToGCUnderDraftRedeemReward = 8704;
|
||||||
|
k_EMsgClientToGCUnderDraftRedeemRewardResponse = 8705;
|
||||||
|
k_EMsgGCToServerLobbyHeroBanRates = 8708;
|
||||||
|
k_EMsgSignOutGuildContractProgress = 8711;
|
||||||
|
k_EMsgSignOutMVPStats = 8712;
|
||||||
|
k_EMsgClientToGCRequestActiveGuildChallenge = 8713;
|
||||||
|
k_EMsgClientToGCRequestActiveGuildChallengeResponse = 8714;
|
||||||
|
k_EMsgGCToClientActiveGuildChallengeUpdated = 8715;
|
||||||
|
k_EMsgClientToGCRequestReporterUpdates = 8716;
|
||||||
|
k_EMsgClientToGCRequestReporterUpdatesResponse = 8717;
|
||||||
|
k_EMsgClientToGCAcknowledgeReporterUpdates = 8718;
|
||||||
|
k_EMsgSignOutGuildChallengeProgress = 8720;
|
||||||
|
k_EMsgClientToGCRequestGuildEventMembers = 8721;
|
||||||
|
k_EMsgClientToGCRequestGuildEventMembersResponse = 8722;
|
||||||
|
k_EMsgClientToGCReportGuildContent = 8725;
|
||||||
|
k_EMsgClientToGCReportGuildContentResponse = 8726;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildPersonaInfo = 8727;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildPersonaInfoResponse = 8728;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildPersonaInfoBatch = 8729;
|
||||||
|
k_EMsgClientToGCRequestAccountGuildPersonaInfoBatchResponse = 8730;
|
||||||
|
k_EMsgGCToClientUnderDraftGoldUpdated = 8731;
|
||||||
|
k_EMsgGCToServerRecordTrainingData = 8732;
|
||||||
|
k_EMsgSignOutBounties = 8733;
|
||||||
|
k_EMsgLobbyFeaturedGamemodeProgress = 8734;
|
||||||
|
k_EMsgLobbyGauntletProgress = 8735;
|
||||||
|
k_EMsgClientToGCSubmitDraftTriviaMatchAnswer = 8736;
|
||||||
|
k_EMsgClientToGCSubmitDraftTriviaMatchAnswerResponse = 8737;
|
||||||
|
k_EMsgGCToGCSignoutSpendBounty = 8738;
|
||||||
|
k_EMsgClientToGCApplyGauntletTicket = 8739;
|
||||||
|
k_EMsgClientToGCUnderDraftRollBackBench = 8740;
|
||||||
|
k_EMsgClientToGCUnderDraftRollBackBenchResponse = 8741;
|
||||||
|
k_EMsgGCToGCGetEventActionScore = 8742;
|
||||||
|
k_EMsgGCToGCGetEventActionScoreResponse = 8743;
|
||||||
|
k_EMsgServerToGCGetGuildContracts = 8744;
|
||||||
|
k_EMsgServerToGCGetGuildContractsResponse = 8745;
|
||||||
|
k_EMsgLobbyEventGameData = 8746;
|
||||||
|
k_EMsgGCToClientGuildMembersDataUpdated = 8747;
|
||||||
|
k_EMsgSignOutReportActivityMarkers = 8748;
|
||||||
|
k_EMsgSignOutDiretideCandy = 8749;
|
||||||
|
k_EMsgGCToClientPostGameItemAwardNotification = 8750;
|
||||||
|
k_EMsgClientToGCGetOWMatchDetails = 8751;
|
||||||
|
k_EMsgClientToGCGetOWMatchDetailsResponse = 8752;
|
||||||
|
k_EMsgClientToGCSubmitOWConviction = 8753;
|
||||||
|
k_EMsgClientToGCSubmitOWConvictionResponse = 8754;
|
||||||
|
k_EMsgGCToGCGetAccountSteamChina = 8755;
|
||||||
|
k_EMsgGCToGCGetAccountSteamChinaResponse = 8756;
|
||||||
|
k_EMsgClientToGCClaimLeaderboardRewards = 8757;
|
||||||
|
k_EMsgClientToGCClaimLeaderboardRewardsResponse = 8758;
|
||||||
|
k_EMsgClientToGCRecalibrateMMR = 8759;
|
||||||
|
k_EMsgClientToGCRecalibrateMMRResponse = 8760;
|
||||||
|
k_EMsgGCToGCGrantEventPointActionList = 8761;
|
||||||
|
k_EMsgClientToGCChinaSSAURLRequest = 8764;
|
||||||
|
k_EMsgClientToGCChinaSSAURLResponse = 8765;
|
||||||
|
k_EMsgClientToGCChinaSSAAcceptedRequest = 8766;
|
||||||
|
k_EMsgClientToGCChinaSSAAcceptedResponse = 8767;
|
||||||
|
k_EMsgSignOutOverwatchSuspicion = 8768;
|
||||||
|
k_EMsgServerToGCGetSuspicionConfig = 8769;
|
||||||
|
k_EMsgServerToGCGetSuspicionConfigResponse = 8770;
|
||||||
|
k_EMsgGCToGCGrantPlusHeroChallengeMatchResults = 8771;
|
||||||
|
k_EMsgGCToClientOverwatchCasesAvailable = 8772;
|
||||||
|
k_EMsgServerToGCAccountCheck = 8773;
|
||||||
|
k_EMsgClientToGCStartWatchingOverwatch = 8774;
|
||||||
|
k_EMsgClientToGCStopWatchingOverwatch = 8775;
|
||||||
|
k_EMsgSignOutPerfData = 8776;
|
||||||
|
k_EMsgClientToGCGetDPCFavorites = 8777;
|
||||||
|
k_EMsgClientToGCGetDPCFavoritesResponse = 8778;
|
||||||
|
k_EMsgClientToGCSetDPCFavoriteState = 8779;
|
||||||
|
k_EMsgClientToGCSetDPCFavoriteStateResponse = 8780;
|
||||||
|
k_EMsgClientToGCOverwatchReplayError = 8781;
|
||||||
|
k_EMsgServerToGCPlayerChallengeHistory = 8782;
|
||||||
|
k_EMsgSignOutBanData = 8783;
|
||||||
|
k_EMsgWebapiDPCSeasonResults = 8784;
|
||||||
|
k_EMsgClientToGCCoachFriend = 8785;
|
||||||
|
k_EMsgClientToGCCoachFriendResponse = 8786;
|
||||||
|
k_EMsgClientToGCRequestPrivateCoachingSession = 8787;
|
||||||
|
k_EMsgClientToGCRequestPrivateCoachingSessionResponse = 8788;
|
||||||
|
k_EMsgClientToGCAcceptPrivateCoachingSession = 8789;
|
||||||
|
k_EMsgClientToGCAcceptPrivateCoachingSessionResponse = 8790;
|
||||||
|
k_EMsgClientToGCLeavePrivateCoachingSession = 8791;
|
||||||
|
k_EMsgClientToGCLeavePrivateCoachingSessionResponse = 8792;
|
||||||
|
k_EMsgClientToGCGetCurrentPrivateCoachingSession = 8793;
|
||||||
|
k_EMsgClientToGCGetCurrentPrivateCoachingSessionResponse = 8794;
|
||||||
|
k_EMsgGCToClientPrivateCoachingSessionUpdated = 8795;
|
||||||
|
k_EMsgClientToGCSubmitPrivateCoachingSessionRating = 8796;
|
||||||
|
k_EMsgClientToGCSubmitPrivateCoachingSessionRatingResponse = 8797;
|
||||||
|
k_EMsgClientToGCGetAvailablePrivateCoachingSessions = 8798;
|
||||||
|
k_EMsgClientToGCGetAvailablePrivateCoachingSessionsResponse = 8799;
|
||||||
|
k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummary = 8800;
|
||||||
|
k_EMsgClientToGCGetAvailablePrivateCoachingSessionsSummaryResponse = 8801;
|
||||||
|
k_EMsgClientToGCJoinPrivateCoachingSessionLobby = 8802;
|
||||||
|
k_EMsgClientToGCJoinPrivateCoachingSessionLobbyResponse = 8803;
|
||||||
|
k_EMsgClientToGCRespondToCoachFriendRequest = 8804;
|
||||||
|
k_EMsgClientToGCRespondToCoachFriendRequestResponse = 8805;
|
||||||
|
k_EMsgClientToGCSetEventActiveSeasonID = 8806;
|
||||||
|
k_EMsgClientToGCSetEventActiveSeasonIDResponse = 8807;
|
||||||
|
k_EMsgServerToGCMatchPlayerNeutralItemEquipHistory = 8808;
|
||||||
|
k_EMsgServerToGCCompendiumChosenInGamePredictions = 8809;
|
||||||
|
k_EMsgClientToGCCreateTeamPlayerCardPack = 8810;
|
||||||
|
k_EMsgClientToGCCreateTeamPlayerCardPackResponse = 8811;
|
||||||
|
k_EMsgGCToServerSubmitCheerData = 8812;
|
||||||
|
k_EMsgGCToServerCheerConfig = 8813;
|
||||||
|
k_EMsgServerToGCGetCheerConfig = 8814;
|
||||||
|
k_EMsgServerToGCGetCheerConfigResponse = 8815;
|
||||||
|
k_EMsgGCToGCGrantAutographByID = 8816;
|
||||||
|
k_EMsgGCToServerCheerScalesOverride = 8817;
|
||||||
|
k_EMsgGCToServerGetCheerState = 8818;
|
||||||
|
k_EMsgServerToGCReportCheerState = 8819;
|
||||||
|
k_EMsgGCToServerScenarioSave = 8820;
|
||||||
|
k_EMsgGCToServerAbilityDraftLobbyData = 8821;
|
||||||
|
k_EMsgSignOutReportCommunications = 8822;
|
||||||
|
k_EMsgClientToGCBatchGetPlayerCardRosterRequest = 8823;
|
||||||
|
k_EMsgClientToGCBatchGetPlayerCardRosterResponse = 8824;
|
||||||
|
k_EMsgClientToGCGetStickerbookRequest = 8825;
|
||||||
|
k_EMsgClientToGCGetStickerbookResponse = 8826;
|
||||||
|
k_EMsgClientToGCCreateStickerbookPageRequest = 8827;
|
||||||
|
k_EMsgClientToGCCreateStickerbookPageResponse = 8828;
|
||||||
|
k_EMsgClientToGCDeleteStickerbookPageRequest = 8829;
|
||||||
|
k_EMsgClientToGCDeleteStickerbookPageResponse = 8830;
|
||||||
|
k_EMsgClientToGCPlaceStickersRequest = 8831;
|
||||||
|
k_EMsgClientToGCPlaceStickersResponse = 8832;
|
||||||
|
k_EMsgClientToGCPlaceCollectionStickersRequest = 8833;
|
||||||
|
k_EMsgClientToGCPlaceCollectionStickersResponse = 8834;
|
||||||
|
k_EMsgClientToGCOrderStickerbookTeamPageRequest = 8835;
|
||||||
|
k_EMsgClientToGCOrderStickerbookTeamPageResponse = 8836;
|
||||||
|
k_EMsgServerToGCGetStickerHeroes = 8837;
|
||||||
|
k_EMsgServerToGCGetStickerHeroesResponse = 8838;
|
||||||
|
k_EMsgClientToGCCandyShopGetUserData = 8840;
|
||||||
|
k_EMsgClientToGCCandyShopGetUserDataResponse = 8841;
|
||||||
|
k_EMsgGCToClientCandyShopUserDataUpdated = 8842;
|
||||||
|
k_EMsgClientToGCCandyShopPurchaseReward = 8843;
|
||||||
|
k_EMsgClientToGCCandyShopPurchaseRewardResponse = 8844;
|
||||||
|
k_EMsgClientToGCCandyShopDoExchange = 8845;
|
||||||
|
k_EMsgClientToGCCandyShopDoExchangeResponse = 8846;
|
||||||
|
k_EMsgClientToGCCandyShopDoVariableExchange = 8847;
|
||||||
|
k_EMsgClientToGCCandyShopDoVariableExchangeResponse = 8848;
|
||||||
|
k_EMsgClientToGCCandyShopRerollRewards = 8849;
|
||||||
|
k_EMsgClientToGCCandyShopRerollRewardsResponse = 8850;
|
||||||
|
k_EMsgClientToGCSetHeroSticker = 8851;
|
||||||
|
k_EMsgClientToGCSetHeroStickerResponse = 8852;
|
||||||
|
k_EMsgClientToGCGetHeroStickers = 8853;
|
||||||
|
k_EMsgClientToGCGetHeroStickersResponse = 8854;
|
||||||
|
k_EMsgClientToGCSetFavoritePage = 8855;
|
||||||
|
k_EMsgClientToGCSetFavoritePageResponse = 8856;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantCandy = 8857;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantCandyResponse = 8858;
|
||||||
|
k_EMsgClientToGCCandyShopDevClearInventory = 8859;
|
||||||
|
k_EMsgClientToGCCandyShopDevClearInventoryResponse = 8860;
|
||||||
|
k_EMsgClientToGCCandyShopOpenBags = 8861;
|
||||||
|
k_EMsgClientToGCCandyShopOpenBagsResponse = 8862;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantCandyBags = 8863;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantCandyBagsResponse = 8864;
|
||||||
|
k_EMsgClientToGCCandyShopDevShuffleExchange = 8865;
|
||||||
|
k_EMsgClientToGCCandyShopDevShuffleExchangeResponse = 8866;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantRerollCharges = 8867;
|
||||||
|
k_EMsgClientToGCCandyShopDevGrantRerollChargesResponse = 8868;
|
||||||
|
k_EMsgLobbyAdditionalAccountData = 8869;
|
||||||
|
k_EMsgServerToGCLobbyInitialized = 8870;
|
||||||
|
k_EMsgClientToGCCollectorsCacheAvailableDataRequest = 8871;
|
||||||
|
k_EMsgGCToClientCollectorsCacheAvailableDataResponse = 8872;
|
||||||
|
k_EMsgClientToGCUploadMatchClip = 8873;
|
||||||
|
k_EMsgGCToClientUploadMatchClipResponse = 8874;
|
||||||
|
k_EMsgGCToServerSteamLearnAccessTokensChanged = 8876;
|
||||||
|
k_EMsgSignOutMuertaMinigame = 8877;
|
||||||
|
k_EMsgGCToServerLobbyHeroRoleStats = 8878;
|
||||||
|
k_EMsgClientToGCRankRequest = 8879;
|
||||||
|
k_EMsgGCToClientRankResponse = 8880;
|
||||||
|
k_EMsgGCToClientRankUpdate = 8881;
|
||||||
|
k_EMsgSignOutMapStats = 8882;
|
||||||
|
k_EMsgClientToGCMapStatsRequest = 8883;
|
||||||
|
k_EMsgGCToClientMapStatsResponse = 8884;
|
||||||
|
k_EMsgClientToGCShowcaseGetUserData = 8886;
|
||||||
|
k_EMsgClientToGCShowcaseGetUserDataResponse = 8887;
|
||||||
|
k_EMsgClientToGCShowcaseSetUserData = 8888;
|
||||||
|
k_EMsgClientToGCShowcaseSetUserDataResponse = 8889;
|
||||||
|
k_EMsgClientToGCFantasyCraftingGetData = 8890;
|
||||||
|
k_EMsgClientToGCFantasyCraftingGetDataResponse = 8891;
|
||||||
|
k_EMsgClientToGCFantasyCraftingPerformOperation = 8892;
|
||||||
|
k_EMsgClientToGCFantasyCraftingPerformOperationResponse = 8893;
|
||||||
|
k_EMsgGCToClientFantasyCraftingGetDataUpdated = 8894;
|
||||||
|
k_EMsgClientToGCFantasyCraftingDevModifyTablet = 8895;
|
||||||
|
k_EMsgClientToGCFantasyCraftingDevModifyTabletResponse = 8896;
|
||||||
|
k_EMsgClientToGCRoadToTIGetQuests = 8897;
|
||||||
|
k_EMsgClientToGCRoadToTIGetQuestsResponse = 8898;
|
||||||
|
k_EMsgClientToGCRoadToTIGetActiveQuest = 8899;
|
||||||
|
k_EMsgClientToGCRoadToTIGetActiveQuestResponse = 8900;
|
||||||
|
k_EMsgClientToGCBingoGetUserData = 8901;
|
||||||
|
k_EMsgClientToGCBingoGetUserDataResponse = 8902;
|
||||||
|
k_EMsgClientToGCBingoClaimRow = 8903;
|
||||||
|
k_EMsgClientToGCBingoClaimRowResponse = 8904;
|
||||||
|
k_EMsgClientToGCBingoDevRerollCard = 8905;
|
||||||
|
k_EMsgClientToGCBingoDevRerollCardResponse = 8906;
|
||||||
|
k_EMsgClientToGCBingoGetStatsData = 8907;
|
||||||
|
k_EMsgClientToGCBingoGetStatsDataResponse = 8908;
|
||||||
|
k_EMsgGCToClientBingoUserDataUpdated = 8909;
|
||||||
|
k_EMsgGCToClientRoadToTIQuestDataUpdated = 8910;
|
||||||
|
k_EMsgClientToGCRoadToTIUseItem = 8911;
|
||||||
|
k_EMsgClientToGCRoadToTIUseItemResponse = 8912;
|
||||||
|
k_EMsgClientToGCShowcaseSubmitReport = 8913;
|
||||||
|
k_EMsgClientToGCShowcaseSubmitReportResponse = 8914;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetReportsRollupList = 8915;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetReportsRollupListResponse = 8916;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetReportsRollup = 8917;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetReportsRollupResponse = 8918;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetUserDetails = 8919;
|
||||||
|
k_EMsgClientToGCShowcaseAdminGetUserDetailsResponse = 8920;
|
||||||
|
k_EMsgClientToGCShowcaseAdminConvict = 8921;
|
||||||
|
k_EMsgClientToGCShowcaseAdminConvictResponse = 8922;
|
||||||
|
k_EMsgClientToGCShowcaseAdminExonerate = 8923;
|
||||||
|
k_EMsgClientToGCShowcaseAdminExonerateResponse = 8924;
|
||||||
|
k_EMsgClientToGCShowcaseAdminReset = 8925;
|
||||||
|
k_EMsgClientToGCShowcaseAdminResetResponse = 8926;
|
||||||
|
k_EMsgClientToGCShowcaseAdminLockAccount = 8927;
|
||||||
|
k_EMsgClientToGCShowcaseAdminLockAccountResponse = 8928;
|
||||||
|
k_EMsgClientToGCFantasyCraftingSelectPlayer = 8929;
|
||||||
|
k_EMsgClientToGCFantasyCraftingSelectPlayerResponse = 8930;
|
||||||
|
k_EMsgClientToGCFantasyCraftingGenerateTablets = 8931;
|
||||||
|
k_EMsgClientToGCFantasyCraftingGenerateTabletsResponse = 8932;
|
||||||
|
k_EMsgClientToGcFantasyCraftingUpgradeTablets = 8933;
|
||||||
|
k_EMsgClientToGcFantasyCraftingUpgradeTabletsResponse = 8934;
|
||||||
|
k_EMsgClientToGCFantasyCraftingRerollOptions = 8936;
|
||||||
|
k_EMsgClientToGCFantasyCraftingRerollOptionsResponse = 8937;
|
||||||
|
k_EMsgClientToGCRoadToTIDevForceQuest = 8935;
|
||||||
|
k_EMsgLobbyRoadToTIMatchQuestData = 8939;
|
||||||
|
k_EMsgClientToGCShowcaseModerationGetQueue = 8940;
|
||||||
|
k_EMsgClientToGCShowcaseModerationGetQueueResponse = 8941;
|
||||||
|
k_EMsgClientToGCShowcaseModerationApplyModeration = 8942;
|
||||||
|
k_EMsgClientToGCShowcaseModerationApplyModerationResponse = 8943;
|
||||||
|
k_EMsgClientToGCOverworldGetUserData = 8944;
|
||||||
|
k_EMsgClientToGCOverworldGetUserDataResponse = 8945;
|
||||||
|
k_EMsgClientToGCOverworldCompletePath = 8946;
|
||||||
|
k_EMsgClientToGCOverworldCompletePathResponse = 8947;
|
||||||
|
k_EMsgClientToGCOverworldClaimEncounterReward = 8948;
|
||||||
|
k_EMsgClientToGCOverworldClaimEncounterRewardResponse = 8949;
|
||||||
|
k_EMsgClientToGCOverworldDevResetAll = 8950;
|
||||||
|
k_EMsgClientToGCOverworldDevResetAllResponse = 8951;
|
||||||
|
k_EMsgClientToGCOverworldDevResetNode = 8952;
|
||||||
|
k_EMsgClientToGCOverworldDevResetNodeResponse = 8953;
|
||||||
|
k_EMsgClientToGCOverworldDevResetPath = 8954;
|
||||||
|
k_EMsgClientToGCOverworldDevResetPathResponse = 8955;
|
||||||
|
k_EMsgClientToGCOverworldDevGrantTokens = 8956;
|
||||||
|
k_EMsgClientToGCOverworldDevGrantTokensResponse = 8957;
|
||||||
|
k_EMsgClientToGCOverworldDevClearInventory = 8958;
|
||||||
|
k_EMsgClientToGCOverworldDevClearInventoryResponse = 8959;
|
||||||
|
k_EMsgServerToGCNewBloomGift = 8960;
|
||||||
|
k_EMsgServerToGCNewBloomGiftResponse = 8961;
|
||||||
|
k_EMsgGCToClientOverworldUserDataUpdated = 8962;
|
||||||
|
k_EMsgClientToGCOverworldMoveToNode = 8963;
|
||||||
|
k_EMsgClientToGCOverworldMoveToNodeResponse = 8964;
|
||||||
|
k_EMsgClientToGCNewBloomGift = 8965;
|
||||||
|
k_EMsgClientToGCNewBloomGiftResponse = 8966;
|
||||||
|
k_EMsgSignOutOverworld = 8967;
|
||||||
|
k_EMsgClientToGCSetBannedHeroes = 8969;
|
||||||
|
k_EMsgClientToGCOverworldTradeTokens = 8970;
|
||||||
|
k_EMsgClientToGCOverworldTradeTokensResponse = 8971;
|
||||||
|
k_EMsgOverworldEncounterTokenTreasureData = 8972;
|
||||||
|
k_EMsgOverworldEncounterTokenQuestData = 8973;
|
||||||
|
k_EMsgOverworldEncounterChooseHeroData = 8974;
|
||||||
|
k_EMsgClientToGCUpdateComicBookStats = 8975;
|
||||||
|
k_EMsgClientToGCCandyShopDevResetShop = 8976;
|
||||||
|
k_EMsgClientToGCCandyShopDevResetShopResponse = 8977;
|
||||||
|
k_EMsgOverworldEncounterProgressData = 8978;
|
||||||
|
k_EMsgClientToGCOverworldFeedback = 8979;
|
||||||
|
k_EMsgClientToGCOverworldFeedbackResponse = 8980;
|
||||||
|
k_EMsgClientToGCOverworldVisitEncounter = 8981;
|
||||||
|
k_EMsgClientToGCOverworldVisitEncounterResponse = 8982;
|
||||||
|
k_EMsgClientToGCOverworldGiftTokens = 8983;
|
||||||
|
k_EMsgClientToGCOverworldGiftTokensResponse = 8984;
|
||||||
|
k_EMsgClientToGCDotaLabsFeedback = 8985;
|
||||||
|
k_EMsgClientToGCDotaLabsFeedbackResponse = 8986;
|
||||||
|
k_EMsgOverworldEncounterPitFighterRewardData = 8987;
|
||||||
|
k_EMsgClientToGCOverworldGetDynamicImage = 8988;
|
||||||
|
k_EMsgClientToGCOverworldGetDynamicImageResponse = 8989;
|
||||||
|
k_EMsgClientToGCFightingGameChallengeFriend = 8990;
|
||||||
|
k_EMsgClientToGCFightingGameChallengeFriendResponse = 8991;
|
||||||
|
k_EMsgClientToGCFightingGameCancelChallengeFriend = 8992;
|
||||||
|
k_EMsgClientToGCFightingGameAnswerChallenge = 8993;
|
||||||
|
k_EMsgClientToGCFightingGameAnswerChallengeResponse = 8994;
|
||||||
|
k_EMsgGCToClientFightingGameChallenge = 8995;
|
||||||
|
k_EMsgGCToClientFightingGameStartMatch = 8996;
|
||||||
|
k_EMsgGCToClientFightingGameChallengeCanceled = 8997;
|
||||||
|
k_EMsgGCToServerSteamLearnUseHTTP = 8998;
|
||||||
|
}
|
||||||
1519
protos/dota_gcmessages_server.proto
Normal file
1519
protos/dota_gcmessages_server.proto
Normal file
File diff suppressed because it is too large
Load diff
425
protos/dota_gcmessages_webapi.proto
Normal file
425
protos/dota_gcmessages_webapi.proto
Normal file
|
|
@ -0,0 +1,425 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_match_metadata.proto";
|
||||||
|
|
||||||
|
enum ETeamFanContentStatus {
|
||||||
|
TEAM_FAN_CONTENT_STATUS_INVALID = 0;
|
||||||
|
TEAM_FAN_CONTENT_STATUS_PENDING = 1;
|
||||||
|
TEAM_FAN_CONTENT_STATUS_EVALUATED = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETeamFanContentAssetType {
|
||||||
|
k_eFanContentAssetType_LogoPNG = 1;
|
||||||
|
k_eFanContentAssetType_LogoSVG = 2;
|
||||||
|
k_eFanContentAssetType_Logo3D = 3;
|
||||||
|
k_eFanContentAssetType_Players = 4;
|
||||||
|
k_eFanContentAssetType_Sprays = 5;
|
||||||
|
k_eFanContentAssetType_Wallpapers = 6;
|
||||||
|
k_eFanContentAssetType_Emoticons = 7;
|
||||||
|
k_eFanContentAssetType_VoiceLines = 8;
|
||||||
|
k_eFanContentAssetType_Localization = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETeamFanContentAssetStatus {
|
||||||
|
k_eFanContentAssetStatus_None = 0;
|
||||||
|
k_eFanContentAssetStatus_Approved = 1;
|
||||||
|
k_eFanContentAssetStatus_Rejected = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETalentContentStatus {
|
||||||
|
TALENT_CONTENT_STATUS_INVALID = 0;
|
||||||
|
TALENT_CONTENT_STATUS_PENDING = 1;
|
||||||
|
TALENT_CONTENT_STATUS_EVALUATED = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETalentContentAssetType {
|
||||||
|
k_eTalentContentAssetType_Photo = 1;
|
||||||
|
k_eTalentContentAssetType_Autograph = 2;
|
||||||
|
k_eTalentContentAssetType_Voicelines = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETalentContentAssetStatus {
|
||||||
|
k_eTalentContentAssetStatus_None = 0;
|
||||||
|
k_eTalentContentAssetStatus_Approved = 1;
|
||||||
|
k_eTalentContentAssetStatus_Rejected = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgArcanaVotes {
|
||||||
|
message Match {
|
||||||
|
optional uint32 match_id = 1;
|
||||||
|
optional int32 hero_id_0 = 2;
|
||||||
|
optional int32 hero_id_1 = 3;
|
||||||
|
optional uint32 hero_seeding_0 = 4;
|
||||||
|
optional uint32 hero_seeding_1 = 5;
|
||||||
|
optional uint32 vote_count_0 = 6;
|
||||||
|
optional uint32 vote_count_1 = 7;
|
||||||
|
optional uint32 voting_state = 8;
|
||||||
|
optional uint32 round_number = 9;
|
||||||
|
optional bool is_votes_hidden = 10;
|
||||||
|
optional uint32 calibration_time_remaining = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum VotingState {
|
||||||
|
FINISHED = 0;
|
||||||
|
IN_PROGRESS = 1;
|
||||||
|
IN_FUTURE = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgArcanaVotes.Match matches = 1;
|
||||||
|
optional uint32 round_time_remaining = 2;
|
||||||
|
optional uint32 round_number = 3;
|
||||||
|
optional uint32 voting_state = 4;
|
||||||
|
optional bool is_current_round_calibrating = 5;
|
||||||
|
optional uint32 closest_active_match_id = 6;
|
||||||
|
optional uint32 event_id = 7;
|
||||||
|
optional uint32 voting_start_time = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCFeed {
|
||||||
|
message Element {
|
||||||
|
optional .CMsgDOTADPCFeed.EFeedElementType type = 1 [default = FEED_SERIES_RESULT];
|
||||||
|
optional uint32 timestamp = 2;
|
||||||
|
optional uint32 series_id = 3;
|
||||||
|
optional uint64 match_id = 4;
|
||||||
|
optional uint32 team_id = 5;
|
||||||
|
optional uint32 account_id = 6;
|
||||||
|
optional uint32 league_id = 7;
|
||||||
|
optional uint32 node_id = 8;
|
||||||
|
optional uint64 server_steam_id = 13;
|
||||||
|
optional uint32 data_1 = 9;
|
||||||
|
optional uint32 data_2 = 10;
|
||||||
|
optional uint32 data_3 = 11;
|
||||||
|
optional uint32 data_4 = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EFeedElementType {
|
||||||
|
FEED_SERIES_RESULT = 1;
|
||||||
|
FEED_MATCH_POPULAR = 2;
|
||||||
|
FEED_TEAM_UPCOMING_MATCH = 3;
|
||||||
|
FEED_TEAM_LEAGUE_RESULT = 4;
|
||||||
|
FEED_TEAM_ADD_PLAYER = 5;
|
||||||
|
FEED_TEAM_REMOVE_PLAYER = 6;
|
||||||
|
FEED_TEAM_DISBAND = 7;
|
||||||
|
FEED_LEAGUE_UPCOMING = 8;
|
||||||
|
FEED_LEAGUE_CONCLUDED = 9;
|
||||||
|
FEED_DPC_STANDINGS = 10;
|
||||||
|
FEED_ALERT_PREDICTIONS = 11;
|
||||||
|
FEED_ALERT_FANTASY = 12;
|
||||||
|
FEED_LEAGUE_LIVE_MATCH = 13;
|
||||||
|
FEED_LEAGUE_INPROGRESS_SERIES = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTADPCFeed.Element elements = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCUserInfo {
|
||||||
|
optional bool is_plus_subscriber = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDraftTrivia {
|
||||||
|
message DraftTriviaHeroInfo {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 role = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DraftTriviaMatchInfo {
|
||||||
|
repeated .CMsgDraftTrivia.DraftTriviaHeroInfo radiant_heroes = 1;
|
||||||
|
repeated .CMsgDraftTrivia.DraftTriviaHeroInfo dire_heroes = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PreviousResult {
|
||||||
|
optional bool voted_correctly = 1;
|
||||||
|
optional bool voted_radiant = 2;
|
||||||
|
optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 3;
|
||||||
|
optional uint32 match_rank_tier = 4;
|
||||||
|
optional uint32 end_time = 5;
|
||||||
|
optional uint64 match_id = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool has_valid_match = 1;
|
||||||
|
optional .CMsgDraftTrivia.DraftTriviaMatchInfo match_hero_info = 2;
|
||||||
|
optional uint32 match_rank_tier = 3;
|
||||||
|
optional uint32 end_time = 4;
|
||||||
|
optional uint32 event_id = 5;
|
||||||
|
optional bool current_match_voted_radiant = 6;
|
||||||
|
optional .CMsgDraftTrivia.PreviousResult previous_result = 7;
|
||||||
|
optional uint32 current_streak = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTeamFanContentAssetStatus {
|
||||||
|
optional .ETeamFanContentAssetType asset_type = 1 [default = k_eFanContentAssetType_LogoPNG];
|
||||||
|
optional uint32 asset_index = 2;
|
||||||
|
optional .ETeamFanContentAssetStatus asset_status = 3 [default = k_eFanContentAssetStatus_None];
|
||||||
|
optional uint32 crc = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTeamFanContentAssetStatusResponse {
|
||||||
|
enum EResult {
|
||||||
|
k_eSuccess = 0;
|
||||||
|
k_eInternalError = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgTeamFanContentAssetStatusResponse.EResult result = 1 [default = k_eSuccess];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTeamFanContentStatus {
|
||||||
|
message TeamStatus {
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
optional string logo_url = 3;
|
||||||
|
optional .ETeamFanContentStatus status = 4 [default = TEAM_FAN_CONTENT_STATUS_INVALID];
|
||||||
|
optional uint32 timestamp = 5;
|
||||||
|
optional uint64 ugc_logo = 7;
|
||||||
|
optional uint32 workshop_account_id = 8;
|
||||||
|
optional string abbreviation = 9;
|
||||||
|
optional uint32 voiceline_count = 10;
|
||||||
|
optional uint32 spray_count = 11;
|
||||||
|
optional uint32 emoticon_count = 12;
|
||||||
|
optional uint32 wallpaper_count = 13;
|
||||||
|
optional string comment = 14;
|
||||||
|
optional uint32 comment_timestamp = 15;
|
||||||
|
repeated .CMsgTeamFanContentAssetStatus asset_status = 16;
|
||||||
|
optional uint32 email_timestamp = 17;
|
||||||
|
optional uint32 email_tier = 18;
|
||||||
|
optional string languages = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgTeamFanContentStatus.TeamStatus team_status_list = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTeamFanContentAutographStatus {
|
||||||
|
message AutographStatus {
|
||||||
|
optional string pro_name = 1;
|
||||||
|
optional uint32 account_id = 2;
|
||||||
|
optional uint32 timestamp = 3;
|
||||||
|
optional string file = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeamStatus {
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 team_id = 2;
|
||||||
|
repeated .CMsgTeamFanContentAutographStatus.AutographStatus autographs = 3;
|
||||||
|
optional uint32 workshop_account_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgTeamFanContentAutographStatus.TeamStatus team_autographs = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTalentContentAssetStatus {
|
||||||
|
optional .ETalentContentAssetType asset_type = 1 [default = k_eTalentContentAssetType_Photo];
|
||||||
|
optional uint32 asset_index = 2;
|
||||||
|
optional .ETalentContentAssetStatus asset_status = 3 [default = k_eTalentContentAssetStatus_None];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTalentContentStatus {
|
||||||
|
message TalentDetails {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional string full_name = 2;
|
||||||
|
optional string nickname = 3;
|
||||||
|
optional uint32 workshop_item_id = 4;
|
||||||
|
optional string zip_file = 5;
|
||||||
|
optional .ETalentContentStatus status = 6 [default = TALENT_CONTENT_STATUS_INVALID];
|
||||||
|
repeated .CMsgTalentContentAssetStatus asset_status = 7;
|
||||||
|
optional uint32 broadcast_language = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgTalentContentStatus.TalentDetails talent_status = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSetTalentContentResponse {
|
||||||
|
enum EResult {
|
||||||
|
k_eSuccess = 0;
|
||||||
|
k_eInternalError = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSetTalentContentResponse.EResult result = 1 [default = k_eSuccess];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDPCEvent {
|
||||||
|
message PhaseInfo {
|
||||||
|
optional .CMsgDPCEvent.ELeagueEventPhase phase = 1 [default = PHASE_INVALID];
|
||||||
|
optional uint32 node_group_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message League {
|
||||||
|
optional .ELeagueRegion region = 1 [default = LEAGUE_REGION_UNSET];
|
||||||
|
optional .ELeagueDivision division = 2 [default = LEAGUE_DIVISION_UNSET];
|
||||||
|
optional uint32 league_id = 3;
|
||||||
|
repeated .CMsgDPCEvent.PhaseInfo phases = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueEvent {
|
||||||
|
EVENT_INVALID = 0;
|
||||||
|
SPRING_2021_LEAGUE = 1;
|
||||||
|
SPRING_2021_MAJOR = 2;
|
||||||
|
INTERNATIONAL_2021_QUALIFIERS = 3;
|
||||||
|
INTERNATIONAL_2021 = 4;
|
||||||
|
WINTER_2021_LEAGUE = 5;
|
||||||
|
WINTER_2021_LEAGUE_FINALS = 6;
|
||||||
|
SPRING_2022_LEAGUE = 7;
|
||||||
|
SPRING_2022_MAJOR = 8;
|
||||||
|
SUMMER_2022_LEAGUE = 9;
|
||||||
|
SUMMER_2022_MAJOR = 10;
|
||||||
|
INTERNATIONAL_2022 = 11;
|
||||||
|
CHINA_REGIONAL_FINALS = 12;
|
||||||
|
INTERNATIONAL_2022_REGIONAL_QUALIFIERS = 13;
|
||||||
|
INTERNATIONAL_2022_LAST_CHANCE_QUALIFIERS = 14;
|
||||||
|
WINTER_2023_LEAGUE = 15;
|
||||||
|
WINTER_2023_MAJOR = 16;
|
||||||
|
SPRING_2023_LEAGUE = 17;
|
||||||
|
SPRING_2023_MAJOR = 18;
|
||||||
|
SUMMER_2023_LEAGUE = 19;
|
||||||
|
SUMMER_2023_MAJOR = 20;
|
||||||
|
INTERNATIONAL_2023 = 21;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueEventPhase {
|
||||||
|
PHASE_INVALID = 0;
|
||||||
|
WILD_CARD = 1;
|
||||||
|
GROUP_STAGE = 2;
|
||||||
|
GROUP_A = 3;
|
||||||
|
GROUP_B = 4;
|
||||||
|
OVERALL = 5;
|
||||||
|
PLAYOFF = 6;
|
||||||
|
RESULTS = 7;
|
||||||
|
DPC_POINT_STANDINGS = 8;
|
||||||
|
GROUP_C = 9;
|
||||||
|
GROUP_D = 10;
|
||||||
|
PLACEMENT = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueEventType {
|
||||||
|
UNKNOWN = 0;
|
||||||
|
LEAGUE = 1;
|
||||||
|
MAJOR = 2;
|
||||||
|
INTERNATIONAL_QUALIFIERS = 3;
|
||||||
|
INTERNATIONAL = 4;
|
||||||
|
LEAGUE_FINALS = 5;
|
||||||
|
EXTERNAL = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETour {
|
||||||
|
TOUR_NONE = 0;
|
||||||
|
TOUR_1 = 1;
|
||||||
|
TOUR_2 = 2;
|
||||||
|
TOUR_3 = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgDPCEvent.ELeagueEvent event = 1 [default = EVENT_INVALID];
|
||||||
|
optional .CMsgDPCEvent.ELeagueEventType event_type = 2 [default = UNKNOWN];
|
||||||
|
repeated .CMsgDPCEvent.League leagues = 3;
|
||||||
|
optional uint32 registration_period = 4;
|
||||||
|
optional bool is_event_upcoming = 5;
|
||||||
|
optional bool is_event_completed = 6;
|
||||||
|
optional string event_name = 7;
|
||||||
|
optional uint32 multicast_league_id = 8;
|
||||||
|
repeated uint32 multicast_streams = 9;
|
||||||
|
optional .CMsgDPCEvent.ETour tour = 10 [default = TOUR_NONE];
|
||||||
|
optional uint32 timestamp_drop_lock = 12;
|
||||||
|
optional uint32 timestamp_add_lock = 13;
|
||||||
|
optional uint32 timestamp_content_deadline = 14;
|
||||||
|
optional bool is_fantasy_enabled = 15;
|
||||||
|
optional uint32 timestamp_content_review_deadline = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDPCEventList {
|
||||||
|
repeated .CMsgDPCEvent events = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAFantasyCardLineup {
|
||||||
|
message CardBonus {
|
||||||
|
optional uint32 bonus_stat = 1;
|
||||||
|
optional uint32 bonus_value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Card {
|
||||||
|
optional uint32 player_account_id = 1;
|
||||||
|
optional string player_name = 2;
|
||||||
|
optional uint32 team_id = 3;
|
||||||
|
optional string team_name = 4;
|
||||||
|
optional uint32 role = 5;
|
||||||
|
repeated .CMsgDOTAFantasyCardLineup.CardBonus bonuses = 6;
|
||||||
|
optional float score = 7;
|
||||||
|
optional bool finalized = 8;
|
||||||
|
optional uint64 item_id = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message League {
|
||||||
|
optional uint32 league_id = 1;
|
||||||
|
repeated .CMsgDOTAFantasyCardLineup.Card cards = 2;
|
||||||
|
optional float score = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Period {
|
||||||
|
optional uint32 fantasy_period = 1 [default = 4294967295];
|
||||||
|
optional uint32 timestamp_start = 2;
|
||||||
|
optional uint32 timestamp_end = 3;
|
||||||
|
repeated .CMsgDOTAFantasyCardLineup.League leagues = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTAFantasyCardLineup.Period periods = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTAFantasyCardList {
|
||||||
|
message CardBonus {
|
||||||
|
optional uint32 bonus_stat = 1;
|
||||||
|
optional uint32 bonus_value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Card {
|
||||||
|
optional uint32 player_account_id = 1;
|
||||||
|
optional string player_name = 2;
|
||||||
|
optional uint32 team_id = 3;
|
||||||
|
optional string team_name = 4;
|
||||||
|
optional uint32 role = 5;
|
||||||
|
repeated .CMsgDOTAFantasyCardList.CardBonus bonuses = 6;
|
||||||
|
optional uint64 item_id = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgDOTAFantasyCardList.Card cards = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgChatToxicityToxicPlayerMatchesReport {
|
||||||
|
message IndividualRow {
|
||||||
|
optional uint32 player_account_id = 1;
|
||||||
|
optional uint32 num_matches_seen = 2;
|
||||||
|
optional uint32 num_messages = 3;
|
||||||
|
optional uint32 num_messages_toxic = 4;
|
||||||
|
optional uint64 first_match_seen = 5;
|
||||||
|
optional uint64 last_match_seen = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgChatToxicityToxicPlayerMatchesReport.IndividualRow rows = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgChatToxicityReport {
|
||||||
|
optional uint32 num_matches_seen = 1;
|
||||||
|
optional uint32 num_messages = 2;
|
||||||
|
optional uint32 num_messages_ml_thinks_toxic = 4;
|
||||||
|
optional string status = 5;
|
||||||
|
optional uint32 result = 6;
|
||||||
|
optional string message = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGetTeamAuditInformation {
|
||||||
|
message Action {
|
||||||
|
optional uint32 registration_period = 1;
|
||||||
|
optional uint32 account_id = 2;
|
||||||
|
optional uint32 action = 3;
|
||||||
|
optional uint32 timestamp = 4;
|
||||||
|
optional string player_name = 5;
|
||||||
|
optional string player_real_name = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 team_id = 1;
|
||||||
|
optional string team_name = 2;
|
||||||
|
repeated .CMsgGetTeamAuditInformation.Action actions = 3;
|
||||||
|
optional uint32 last_updated = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTADPCMatch {
|
||||||
|
optional .CMsgDOTAMatch match = 1;
|
||||||
|
optional .CDOTAMatchMetadata metadata = 2;
|
||||||
|
}
|
||||||
33
protos/dota_hud_types.proto
Normal file
33
protos/dota_hud_types.proto
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
extend .google.protobuf.EnumValueOptions {
|
||||||
|
optional string hud_localize_token = 50501;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EHeroSelectionText {
|
||||||
|
k_EHeroSelectionText_Invalid = -1;
|
||||||
|
k_EHeroSelectionText_None = 0;
|
||||||
|
k_EHeroSelectionText_ChooseHero = 1 [(hud_localize_token) = "#DOTA_Hero_Selection_ChooseHero"];
|
||||||
|
k_EHeroSelectionText_AllDraft_Planning_YouFirst = 2 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_Planning_YouFirst"];
|
||||||
|
k_EHeroSelectionText_AllDraft_Planning_TheyFirst = 3 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_Planning_TheyFirst"];
|
||||||
|
k_EHeroSelectionText_AllDraft_Banning = 4 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_Banning_Nominate"];
|
||||||
|
k_EHeroSelectionText_AllDraft_Ban_Waiting = 5 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_Banning_Nominated"];
|
||||||
|
k_EHeroSelectionText_AllDraft_PickTwo = 6 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_PickPhase_PickTwo"];
|
||||||
|
k_EHeroSelectionText_AllDraft_PickOneMore = 7 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_PickPhase_PickOneMore"];
|
||||||
|
k_EHeroSelectionText_AllDraft_PickOne = 8 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_PickPhase_PickOne"];
|
||||||
|
k_EHeroSelectionText_AllDraft_WaitingRadiant = 9 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_PickPhase_WaitingRadiant"];
|
||||||
|
k_EHeroSelectionText_AllDraft_WaitingDire = 10 [(hud_localize_token) = "#DOTA_Hero_Selection_AllPick_PickPhase_WaitingDire"];
|
||||||
|
k_EHeroSelectionText_AllDraft_TeammateRandomed = 11 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_TeammateRandomed_Panorama"];
|
||||||
|
k_EHeroSelectionText_AllDraft_YouPicking_LosingGold = 12 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_YouPicking_LosingGold"];
|
||||||
|
k_EHeroSelectionText_AllDraft_TheyPicking_LosingGold = 13 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_TheyPicking_LosingGold"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_ChooseCaptain = 14 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_ChooseCaptain"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_WaitingForChooseCaptain = 15 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_WaitingForChooseCaptain"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_YouSelect = 16 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_YouSelect"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_TheySelect = 17 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_TheySelect"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_YouBan = 18 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_YouBan"];
|
||||||
|
k_EHeroSelectionText_CaptainsMode_TheyBan = 19 [(hud_localize_token) = "#DOTA_Hero_Selection_CaptainsMode_TheyBan"];
|
||||||
|
k_EHeroSelectionText_RandomDraft_HeroReview = 20 [(hud_localize_token) = "#DOTA_Hero_Selection_RandomDraft_HeroReview"];
|
||||||
|
k_EHeroSelectionText_RandomDraft_RoundDisplay = 21 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_RoundDisplay"];
|
||||||
|
k_EHeroSelectionText_RandomDraft_Waiting = 22 [(hud_localize_token) = "#DOTA_Hero_Selection_AllDraft_Waiting"];
|
||||||
|
k_EHeroSelectionText_EventGame_BanPhase = 23 [(hud_localize_token) = "#DOTA_Hero_Selection_EventGame_BanPhase"];
|
||||||
|
}
|
||||||
353
protos/dota_match_metadata.proto
Normal file
353
protos/dota_match_metadata.proto
Normal file
|
|
@ -0,0 +1,353 @@
|
||||||
|
import "base_gcmessages.proto";
|
||||||
|
import "dota_gcmessages_common_match_management.proto";
|
||||||
|
import "dota_gcmessages_common_lobby.proto";
|
||||||
|
import "dota_gcmessages_common_overworld.proto";
|
||||||
|
import "dota_gcmessages_common.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
import "gcsdk_gcmessages.proto";
|
||||||
|
|
||||||
|
message CDOTAMatchMetadataFile {
|
||||||
|
required int32 version = 1;
|
||||||
|
required uint64 match_id = 2;
|
||||||
|
optional .CDOTAMatchMetadata metadata = 3;
|
||||||
|
optional bytes private_metadata = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMatchMetadata {
|
||||||
|
message EconItem {
|
||||||
|
optional uint32 def_index = 1;
|
||||||
|
optional uint32 quality = 2 [default = 4];
|
||||||
|
repeated .CSOEconItemAttribute attribute = 3;
|
||||||
|
optional uint32 style = 4 [default = 0];
|
||||||
|
repeated .CSOEconItemEquipped equipped_state = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Team {
|
||||||
|
message PlayerKill {
|
||||||
|
optional uint32 victim_slot = 1;
|
||||||
|
optional uint32 count = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ItemPurchase {
|
||||||
|
optional int32 item_id = 1 [default = -1];
|
||||||
|
optional int32 purchase_time = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message InventorySnapshot {
|
||||||
|
repeated int32 item_id = 1;
|
||||||
|
optional int32 game_time = 2;
|
||||||
|
optional uint32 kills = 3;
|
||||||
|
optional uint32 deaths = 4;
|
||||||
|
optional uint32 assists = 5;
|
||||||
|
optional uint32 level = 6;
|
||||||
|
repeated int32 backpack_item_id = 7;
|
||||||
|
optional int32 neutral_item_id = 8 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message AutoStyleCriteria {
|
||||||
|
optional uint32 name_token = 1;
|
||||||
|
optional float value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message StrangeGemProgress {
|
||||||
|
optional uint32 kill_eater_type = 1;
|
||||||
|
optional uint32 gem_item_def_index = 2;
|
||||||
|
optional int32 required_hero_id = 3;
|
||||||
|
optional uint32 starting_value = 4;
|
||||||
|
optional uint32 ending_value = 5;
|
||||||
|
optional uint32 owner_item_def_index = 6;
|
||||||
|
optional uint64 owner_item_id = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VictoryPrediction {
|
||||||
|
optional uint64 item_id = 1;
|
||||||
|
optional uint32 item_def_index = 2;
|
||||||
|
optional uint32 starting_value = 3;
|
||||||
|
optional bool is_victory = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SubChallenge {
|
||||||
|
optional uint32 slot_id = 1;
|
||||||
|
optional uint32 start_value = 2;
|
||||||
|
optional uint32 end_value = 3;
|
||||||
|
optional bool completed = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CavernChallengeResult {
|
||||||
|
optional uint32 completed_path_id = 1 [default = 255];
|
||||||
|
optional uint32 claimed_room_id = 2 [default = 255];
|
||||||
|
}
|
||||||
|
|
||||||
|
message ActionGrant {
|
||||||
|
optional uint32 action_id = 1;
|
||||||
|
optional uint32 quantity = 2;
|
||||||
|
optional uint32 audit = 3;
|
||||||
|
optional uint64 audit_data = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CandyGrant {
|
||||||
|
optional uint32 points = 1;
|
||||||
|
optional uint32 reason = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PeriodicResourceData {
|
||||||
|
optional uint32 periodic_resource_id = 1;
|
||||||
|
optional uint32 remaining = 2;
|
||||||
|
optional uint32 max = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EventData {
|
||||||
|
optional uint32 event_id = 1;
|
||||||
|
optional uint32 event_points = 2;
|
||||||
|
optional uint32 challenge_instance_id = 3;
|
||||||
|
optional uint32 challenge_quest_id = 4;
|
||||||
|
optional uint32 challenge_quest_challenge_id = 5;
|
||||||
|
optional bool challenge_completed = 6;
|
||||||
|
optional uint32 challenge_rank_completed = 7;
|
||||||
|
optional uint32 challenge_rank_previously_completed = 8;
|
||||||
|
optional bool event_owned = 9;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.SubChallenge sub_challenges_with_progress = 10;
|
||||||
|
optional uint32 wager_winnings = 11;
|
||||||
|
optional bool cavern_challenge_active = 12;
|
||||||
|
optional uint32 cavern_challenge_winnings = 13;
|
||||||
|
optional uint32 amount_wagered = 14;
|
||||||
|
optional uint32 periodic_point_adjustments = 16;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.CavernChallengeResult cavern_challenge_map_results = 17;
|
||||||
|
optional uint32 cavern_challenge_plus_shard_winnings = 18;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.ActionGrant actions_granted = 19;
|
||||||
|
optional uint32 cavern_crawl_map_variant = 20 [default = 255];
|
||||||
|
optional uint32 team_wager_bonus_pct = 21;
|
||||||
|
optional uint32 wager_streak_pct = 22;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.CandyGrant candy_points_granted = 23;
|
||||||
|
optional uint32 active_season_id = 24;
|
||||||
|
optional bool cavern_crawl_half_credit = 25;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.PeriodicResourceData periodic_resources = 26;
|
||||||
|
repeated .CExtraMsgBlock extra_event_messages = 27;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FeaturedGamemodeProgress {
|
||||||
|
optional uint32 start_value = 1;
|
||||||
|
optional uint32 end_value = 2;
|
||||||
|
optional uint32 max_value = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Player {
|
||||||
|
message ContractProgress {
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional uint32 event_id = 2;
|
||||||
|
optional uint32 challenge_instance_id = 3;
|
||||||
|
optional uint32 challenge_parameter = 4;
|
||||||
|
optional uint32 contract_stars = 5;
|
||||||
|
optional uint32 contract_slot = 6;
|
||||||
|
optional bool completed = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message OverworldRewards {
|
||||||
|
optional uint32 overworld_id = 1;
|
||||||
|
optional .CMsgOverworldTokenQuantity tokens = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated int32 ability_upgrades = 2;
|
||||||
|
optional uint32 player_slot = 3;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.PlayerKill kills = 5;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.ItemPurchase items = 6;
|
||||||
|
optional uint32 avg_kills_x16 = 7;
|
||||||
|
optional uint32 avg_deaths_x16 = 8;
|
||||||
|
optional uint32 avg_assists_x16 = 9;
|
||||||
|
optional uint32 avg_gpm_x16 = 10;
|
||||||
|
optional uint32 avg_xpm_x16 = 11;
|
||||||
|
optional uint32 best_kills_x16 = 12;
|
||||||
|
optional uint32 best_assists_x16 = 13;
|
||||||
|
optional uint32 best_gpm_x16 = 14;
|
||||||
|
optional uint32 best_xpm_x16 = 15;
|
||||||
|
optional uint32 win_streak = 16;
|
||||||
|
optional uint32 best_win_streak = 17;
|
||||||
|
optional float fight_score = 18;
|
||||||
|
optional float farm_score = 19;
|
||||||
|
optional float support_score = 20;
|
||||||
|
optional float push_score = 21;
|
||||||
|
repeated uint32 level_up_times = 22;
|
||||||
|
repeated float graph_net_worth = 23;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.InventorySnapshot inventory_snapshot = 24;
|
||||||
|
optional bool avg_stats_calibrated = 25;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.AutoStyleCriteria auto_style_criteria = 26;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.EventData event_data = 29;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.StrangeGemProgress strange_gem_progress = 30;
|
||||||
|
optional uint32 hero_xp = 31;
|
||||||
|
optional uint32 camps_stacked = 32;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.VictoryPrediction victory_prediction = 33;
|
||||||
|
optional uint32 lane_selection_flags = 34;
|
||||||
|
optional uint32 rampages = 35;
|
||||||
|
optional uint32 triple_kills = 36;
|
||||||
|
optional uint32 aegis_snatched = 37;
|
||||||
|
optional uint32 rapiers_purchased = 38;
|
||||||
|
optional uint32 couriers_killed = 39;
|
||||||
|
optional uint32 net_worth_rank = 40;
|
||||||
|
optional uint32 support_gold_spent = 41;
|
||||||
|
optional uint32 observer_wards_placed = 42;
|
||||||
|
optional uint32 sentry_wards_placed = 43;
|
||||||
|
optional uint32 wards_dewarded = 44;
|
||||||
|
optional float stun_duration = 45;
|
||||||
|
optional .EDOTAMMRBoostType rank_mmr_boost_type = 46 [default = k_EDOTAMMRBoostType_None];
|
||||||
|
repeated .CDOTAMatchMetadata.Team.Player.ContractProgress contract_progress = 48;
|
||||||
|
repeated uint32 guild_ids = 49;
|
||||||
|
repeated float graph_hero_damage = 50;
|
||||||
|
optional .DOTA_GC_TEAM team_number = 51 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional uint32 team_slot = 52;
|
||||||
|
optional .CDOTAMatchMetadata.Team.FeaturedGamemodeProgress featured_gamemode_progress = 53;
|
||||||
|
optional uint32 featured_hero_sticker_index = 54;
|
||||||
|
optional uint32 featured_hero_sticker_quality = 55;
|
||||||
|
repeated .CDOTAMatchMetadata.EconItem equipped_econ_items = 56;
|
||||||
|
optional int32 game_player_id = 57 [default = -1];
|
||||||
|
repeated .CMsgTrackedStat player_tracked_stats = 58;
|
||||||
|
optional .CDOTAMatchMetadata.Team.Player.OverworldRewards overworld_rewards = 59;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 dota_team = 1;
|
||||||
|
repeated .CDOTAMatchMetadata.Team.Player players = 2;
|
||||||
|
repeated float graph_experience = 3;
|
||||||
|
repeated float graph_gold_earned = 4;
|
||||||
|
repeated float graph_net_worth = 5;
|
||||||
|
optional bool cm_first_pick = 6;
|
||||||
|
optional int32 cm_captain_player_id = 7 [default = -1];
|
||||||
|
optional uint32 cm_penalty = 10;
|
||||||
|
repeated .CMsgTrackedStat team_tracked_stats = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GuildChallengeProgress {
|
||||||
|
message IndividualProgress {
|
||||||
|
optional uint32 progress = 2;
|
||||||
|
optional uint32 player_slot = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 guild_id = 1;
|
||||||
|
optional .EEvent event_id = 2 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 challenge_instance_id = 3;
|
||||||
|
optional uint32 challenge_parameter = 4;
|
||||||
|
optional uint32 challenge_timestamp = 5;
|
||||||
|
optional uint32 challenge_progress_at_start = 6;
|
||||||
|
optional uint32 challenge_progress_accumulated = 7;
|
||||||
|
repeated .CDOTAMatchMetadata.GuildChallengeProgress.IndividualProgress individual_progress = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Tip {
|
||||||
|
optional uint32 source_player_slot = 1;
|
||||||
|
optional uint32 target_player_slot = 2;
|
||||||
|
optional uint32 tip_amount = 3;
|
||||||
|
optional .EEvent event_id = 4 [default = EVENT_ID_NONE];
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CDOTAMatchMetadata.Team teams = 1;
|
||||||
|
optional fixed64 lobby_id = 3;
|
||||||
|
optional fixed64 report_until_time = 4;
|
||||||
|
optional bytes event_game_custom_table = 5;
|
||||||
|
optional uint32 primary_event_id = 6;
|
||||||
|
optional .CMsgMatchMatchmakingStats matchmaking_stats = 8;
|
||||||
|
optional .CMvpData mvp_data = 9;
|
||||||
|
repeated .CDOTAMatchMetadata.GuildChallengeProgress guild_challenge_progress = 10;
|
||||||
|
optional bytes custom_post_game_table = 11;
|
||||||
|
repeated .CDOTAMatchMetadata.Tip match_tips = 12;
|
||||||
|
repeated .CMsgTrackedStat match_tracked_stats = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAMatchPrivateMetadata {
|
||||||
|
message StringName {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Team {
|
||||||
|
message Player {
|
||||||
|
message CombatSegment {
|
||||||
|
message DamageByAbility {
|
||||||
|
message ByHeroTarget {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 damage = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 source_unit_index = 3;
|
||||||
|
optional int32 ability_id = 1 [default = -1];
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility.ByHeroTarget by_hero_targets = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HealingByAbility {
|
||||||
|
message ByHeroTarget {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional uint32 healing = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 source_unit_index = 3;
|
||||||
|
optional int32 ability_id = 1 [default = -1];
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility.ByHeroTarget by_hero_targets = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 game_time = 1;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.DamageByAbility damage_by_ability = 2;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment.HealingByAbility healing_by_ability = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BuffRecord {
|
||||||
|
message ByHeroTarget {
|
||||||
|
optional int32 hero_id = 1;
|
||||||
|
optional float elapsed_duration = 2;
|
||||||
|
optional bool is_hidden = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 buff_ability_id = 1 [default = -1];
|
||||||
|
optional string buff_modifier_name = 3;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord.ByHeroTarget by_hero_targets = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message GoldReceived {
|
||||||
|
optional uint32 creep = 1;
|
||||||
|
optional uint32 heroes = 2;
|
||||||
|
optional uint32 bounty_runes = 3;
|
||||||
|
optional uint32 passive = 4;
|
||||||
|
optional uint32 buildings = 5;
|
||||||
|
optional uint32 abilities = 6;
|
||||||
|
optional uint32 wards = 7;
|
||||||
|
optional uint32 other = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message XPReceived {
|
||||||
|
optional uint32 creep = 1;
|
||||||
|
optional uint32 heroes = 2;
|
||||||
|
optional uint32 roshan = 3;
|
||||||
|
optional uint32 tome_of_knowledge = 4;
|
||||||
|
optional uint32 outpost = 5;
|
||||||
|
optional uint32 other = 6;
|
||||||
|
optional uint32 abilities = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 player_slot = 2;
|
||||||
|
optional bytes position_stream = 3;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.CombatSegment combat_segments = 4;
|
||||||
|
repeated string damage_unit_names = 5;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player.BuffRecord buff_records = 6;
|
||||||
|
repeated float graph_kills = 7;
|
||||||
|
repeated float graph_deaths = 8;
|
||||||
|
repeated float graph_assists = 9;
|
||||||
|
repeated float graph_lasthits = 10;
|
||||||
|
repeated float graph_denies = 11;
|
||||||
|
optional .CDOTAMatchPrivateMetadata.Team.Player.GoldReceived gold_received = 12;
|
||||||
|
optional .CDOTAMatchPrivateMetadata.Team.Player.XPReceived xp_received = 13;
|
||||||
|
optional .DOTA_GC_TEAM team_number = 14 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional uint32 team_slot = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Building {
|
||||||
|
optional string unit_name = 1;
|
||||||
|
optional uint32 position_quant_x = 2;
|
||||||
|
optional uint32 position_quant_y = 3;
|
||||||
|
optional float death_time = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 dota_team = 1;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Player players = 2;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team.Building buildings = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.Team teams = 1;
|
||||||
|
repeated float graph_win_probability = 2;
|
||||||
|
repeated .CDOTAMatchPrivateMetadata.StringName string_names = 3;
|
||||||
|
}
|
||||||
62
protos/dota_messages_mlbot.proto
Normal file
62
protos/dota_messages_mlbot.proto
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
import "dota_gcmessages_common_bot_script.proto";
|
||||||
|
import "dota_commonmessages.proto";
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
enum MLBot_MessageId {
|
||||||
|
mlbot_MatchMetadata = 1;
|
||||||
|
mlbot_TickBoundary = 2;
|
||||||
|
mlbot_TeamState_Radiant = 3;
|
||||||
|
mlbot_TeamState_Radiant_Delta = 4;
|
||||||
|
mlbot_TeamState_Dire = 5;
|
||||||
|
mlbot_TeamState_Dire_Delta = 6;
|
||||||
|
mlbot_PlayerCommand = 7;
|
||||||
|
mlbot_PlayerOrder = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBotMatchMetadata {
|
||||||
|
message Player {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional int32 team_id = 2;
|
||||||
|
optional int32 hero_id = 3;
|
||||||
|
optional int32 rank = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional uint64 lobby_id = 2;
|
||||||
|
optional int32 lobby_type = 3 [default = -1];
|
||||||
|
optional uint32 game_mode = 4;
|
||||||
|
repeated .CMsgMLBotMatchMetadata.Player players = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBotTickBoundary {
|
||||||
|
optional uint32 tick_number = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBot_PlayerOrder {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional int32 team_id = 2;
|
||||||
|
optional int32 order_type = 3;
|
||||||
|
repeated uint32 selected_unit_handles = 4;
|
||||||
|
optional int32 target_index = 5 [default = -1];
|
||||||
|
optional uint32 target_handle = 6 [default = 4294967295];
|
||||||
|
optional int32 ability_index = 7 [default = -1];
|
||||||
|
optional uint32 ability_handle = 8 [default = 4294967295];
|
||||||
|
optional float pos_x = 9;
|
||||||
|
optional float pos_y = 10;
|
||||||
|
optional float pos_z = 11;
|
||||||
|
optional bool queue = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBot_TeamInference {
|
||||||
|
optional int32 team_id = 1;
|
||||||
|
repeated int32 bot_player_ids = 2;
|
||||||
|
optional .CMsgBotWorldState world_state = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBot_TeamInferenceResponse {
|
||||||
|
repeated .CMsgMLBot_PlayerOrder orders = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMLBot_TeamInferenceList {
|
||||||
|
repeated .CMsgMLBot_TeamInference messages = 1;
|
||||||
|
}
|
||||||
53
protos/dota_modifiers.proto
Normal file
53
protos/dota_modifiers.proto
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum DOTA_MODIFIER_ENTRY_TYPE {
|
||||||
|
DOTA_MODIFIER_ENTRY_TYPE_ACTIVE = 1;
|
||||||
|
DOTA_MODIFIER_ENTRY_TYPE_REMOVED = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAModifierBuffTableEntry {
|
||||||
|
required .DOTA_MODIFIER_ENTRY_TYPE entry_type = 1 [default = DOTA_MODIFIER_ENTRY_TYPE_ACTIVE];
|
||||||
|
required uint32 parent = 2 [default = 16777215];
|
||||||
|
required int32 index = 3;
|
||||||
|
required int32 serial_num = 4;
|
||||||
|
optional int32 modifier_class = 5;
|
||||||
|
optional int32 ability_level = 6;
|
||||||
|
optional int32 stack_count = 7;
|
||||||
|
optional float creation_time = 8;
|
||||||
|
optional float duration = 9 [default = -1];
|
||||||
|
optional uint32 caster = 10 [default = 16777215];
|
||||||
|
optional uint32 ability = 11 [default = 16777215];
|
||||||
|
optional int32 armor = 12;
|
||||||
|
optional float fade_time = 13;
|
||||||
|
optional bool subtle = 14;
|
||||||
|
optional float channel_time = 15;
|
||||||
|
optional .CMsgVector v_start = 16;
|
||||||
|
optional .CMsgVector v_end = 17;
|
||||||
|
optional string portal_loop_appear = 18;
|
||||||
|
optional string portal_loop_disappear = 19;
|
||||||
|
optional string hero_loop_appear = 20;
|
||||||
|
optional string hero_loop_disappear = 21;
|
||||||
|
optional int32 movement_speed = 22;
|
||||||
|
optional bool aura = 23;
|
||||||
|
optional int32 activity = 24;
|
||||||
|
optional int32 damage = 25;
|
||||||
|
optional int32 range = 26;
|
||||||
|
optional int32 dd_modifier_index = 27;
|
||||||
|
optional int32 dd_ability_id = 28 [default = -1];
|
||||||
|
optional string illusion_label = 29;
|
||||||
|
optional bool active = 30;
|
||||||
|
optional string player_ids = 31;
|
||||||
|
optional string lua_name = 32;
|
||||||
|
optional int32 attack_speed = 33;
|
||||||
|
optional uint32 aura_owner = 34 [default = 16777215];
|
||||||
|
optional int32 bonus_all_stats = 35;
|
||||||
|
optional int32 bonus_health = 36;
|
||||||
|
optional int32 bonus_mana = 37;
|
||||||
|
optional uint32 custom_entity = 38 [default = 16777215];
|
||||||
|
optional bool aura_within_range = 39;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTALuaModifierEntry {
|
||||||
|
required int32 modifier_type = 1;
|
||||||
|
required string modifier_filename = 2;
|
||||||
|
}
|
||||||
227
protos/dota_scenariomessages.proto
Normal file
227
protos/dota_scenariomessages.proto
Normal file
|
|
@ -0,0 +1,227 @@
|
||||||
|
import "dota_shared_enums.proto";
|
||||||
|
|
||||||
|
message CScenario_Position {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CScenarioGame_RoshanSpawner {
|
||||||
|
optional int32 kill_count = 1;
|
||||||
|
optional int32 state = 2;
|
||||||
|
optional float cooldown = 3;
|
||||||
|
optional int32 killer_team = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CScenarioEnt_Courier {
|
||||||
|
optional int32 team_number = 1;
|
||||||
|
optional int32 owner_player_id = 2 [default = -1];
|
||||||
|
optional float cooldown = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CScenarioEnt_NPC {
|
||||||
|
optional .CScenario_Position position = 1;
|
||||||
|
optional string unit_name = 2;
|
||||||
|
optional int32 team_number = 3;
|
||||||
|
optional float health_frac = 4 [default = 1];
|
||||||
|
optional string owning_camp = 10;
|
||||||
|
optional .CScenario_Position owning_camp_position = 11;
|
||||||
|
optional string invade_goal = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CScenarioEnt_SpiritBear {
|
||||||
|
optional int32 owner_id = 1 [default = -1];
|
||||||
|
optional int32 team_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CScenarioEnt_DroppedItem {
|
||||||
|
optional .CScenario_Position position = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDotaScenario {
|
||||||
|
message EntityRef {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional int32 neutral_stash_id = 2 [default = -1];
|
||||||
|
optional int32 entity_idx = 3 [default = -1];
|
||||||
|
optional bool roshan = 4 [default = false];
|
||||||
|
optional string ability_name = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Game {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional int32 game_mode = 2;
|
||||||
|
optional float clock_time = 3;
|
||||||
|
optional float internal_time = 4;
|
||||||
|
optional .CScenarioGame_RoshanSpawner roshan = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TeamNeutralItem {
|
||||||
|
optional string name = 1;
|
||||||
|
optional bool consumed = 2;
|
||||||
|
optional int32 tier = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Team {
|
||||||
|
optional int32 team_number = 1;
|
||||||
|
repeated .CMsgDotaScenario.TeamNeutralItem neutral_items = 2;
|
||||||
|
optional int32 hero_kills = 3;
|
||||||
|
optional int32 tower_kills = 4;
|
||||||
|
optional int32 barracks_kills = 5;
|
||||||
|
optional float glyph_cooldown = 6;
|
||||||
|
optional float radar_cooldown = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HeroHeroInt {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional int32 value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HeroHeroFloat {
|
||||||
|
optional int32 player_id = 1 [default = -1];
|
||||||
|
optional float value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DamageStatsByType {
|
||||||
|
optional int32 damage_type = 1;
|
||||||
|
optional int32 received_pre_reduction = 2;
|
||||||
|
optional int32 received_post_reduction = 3;
|
||||||
|
optional int32 outgoing_pre_reduction = 4;
|
||||||
|
optional int32 outgoing_post_reduction = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message HeroAbility {
|
||||||
|
optional string name = 1;
|
||||||
|
optional int32 level = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Hero {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional int32 player_id = 2 [default = -1];
|
||||||
|
optional int32 team_id = 3;
|
||||||
|
optional string hero = 4;
|
||||||
|
optional int32 total_xp = 5;
|
||||||
|
optional int32 bkb_charges_used = 6;
|
||||||
|
optional int32 aeon_charges_used = 7;
|
||||||
|
optional int32 reliable_gold = 8;
|
||||||
|
optional int32 unreliable_gold = 9;
|
||||||
|
optional int32 total_earned_gold = 10;
|
||||||
|
optional int32 shared_gold = 11;
|
||||||
|
optional int32 hero_kill_gold = 12;
|
||||||
|
optional int32 creep_kill_gold = 13;
|
||||||
|
optional int32 neutral_kill_gold = 14;
|
||||||
|
optional int32 courier_gold = 15;
|
||||||
|
optional int32 bounty_gold = 16;
|
||||||
|
optional int32 roshan_gold = 17;
|
||||||
|
optional int32 building_gold = 18;
|
||||||
|
optional int32 other_gold = 19;
|
||||||
|
optional int32 income_gold = 26;
|
||||||
|
optional int32 ward_kill_gold = 27;
|
||||||
|
optional int32 ability_gold = 28;
|
||||||
|
optional int32 denies = 29;
|
||||||
|
optional int32 last_hits = 30;
|
||||||
|
optional int32 last_hit_streak = 31;
|
||||||
|
optional int32 last_hit_multikill = 32;
|
||||||
|
optional int32 nearby_creep_death_count = 33;
|
||||||
|
optional int32 claimed_deny_count = 34;
|
||||||
|
optional int32 claimed_miss_count = 35;
|
||||||
|
optional int32 miss_count = 36;
|
||||||
|
optional float buyback_cooldown_time = 40;
|
||||||
|
optional float buyback_gold_limit_time = 41;
|
||||||
|
optional float stun_duration = 44;
|
||||||
|
optional float healing = 45;
|
||||||
|
optional int32 tower_kills = 46;
|
||||||
|
optional int32 roshan_kills = 47;
|
||||||
|
optional int32 observer_wards_placed = 48;
|
||||||
|
optional int32 sentry_wards_placed = 49;
|
||||||
|
optional int32 creeps_stacked = 50;
|
||||||
|
optional int32 camps_stacked = 51;
|
||||||
|
optional int32 rune_pickups = 52;
|
||||||
|
optional int32 gold_spent_on_support = 53;
|
||||||
|
optional int32 hero_damage = 54;
|
||||||
|
optional int32 wards_purchased = 55;
|
||||||
|
optional int32 wards_destroyed = 56;
|
||||||
|
optional int32 gold_spent_on_consumables = 58;
|
||||||
|
optional int32 gold_spent_on_items = 59;
|
||||||
|
optional int32 gold_spent_on_buybacks = 60;
|
||||||
|
optional int32 gold_lost_to_death = 61;
|
||||||
|
optional int32 kills = 62;
|
||||||
|
optional int32 assists = 63;
|
||||||
|
optional int32 deaths = 64;
|
||||||
|
optional int32 kill_streak = 65;
|
||||||
|
optional int32 respawn_seconds = 68 [default = -1];
|
||||||
|
optional int32 last_buyback_time = 69;
|
||||||
|
optional bool first_blood_claimed = 71;
|
||||||
|
optional bool first_blood_given = 72;
|
||||||
|
optional int32 bounty_runes = 73;
|
||||||
|
optional int32 outposts_captured = 74;
|
||||||
|
optional .CScenario_Position position = 75;
|
||||||
|
repeated .CMsgDotaScenario.HeroHeroInt enemy_kills = 150;
|
||||||
|
repeated .CMsgDotaScenario.DamageStatsByType damage_stats = 151;
|
||||||
|
repeated .CMsgDotaScenario.HeroAbility abilities = 152;
|
||||||
|
optional uint32 hero_facet = 153;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Stock {
|
||||||
|
optional string name = 1;
|
||||||
|
optional int32 team_number = 2 [default = -1];
|
||||||
|
optional int32 player_id = 3 [default = -1];
|
||||||
|
optional int32 current_stock = 4;
|
||||||
|
optional float cooldown = 5;
|
||||||
|
optional int32 bonus_stock = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Building {
|
||||||
|
optional string entity_name = 1;
|
||||||
|
optional string entity_class = 2;
|
||||||
|
optional int32 team_id = 3;
|
||||||
|
optional bool is_destroyed = 4;
|
||||||
|
optional float health_frac = 5 [default = 1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message Entity {
|
||||||
|
optional .CScenarioEnt_Courier courier = 1;
|
||||||
|
optional .CScenarioEnt_NPC npc = 2;
|
||||||
|
optional .CScenarioEnt_SpiritBear spirit_bear = 3;
|
||||||
|
optional .CScenarioEnt_DroppedItem dropped_item = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Item {
|
||||||
|
optional string name = 1;
|
||||||
|
optional .CMsgDotaScenario.EntityRef location = 2;
|
||||||
|
optional int32 owner_id = 3 [default = -1];
|
||||||
|
optional int32 item_slot = 4;
|
||||||
|
optional int32 neutral_drop_team = 5;
|
||||||
|
optional int32 charges = 6;
|
||||||
|
optional int32 secondary_charges = 7;
|
||||||
|
optional float lifetime = 8 [default = -1];
|
||||||
|
optional int32 stored_rune_type = 9 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message Modifier {
|
||||||
|
optional string name = 1;
|
||||||
|
optional .CMsgDotaScenario.EntityRef parent = 2;
|
||||||
|
optional .CMsgDotaScenario.EntityRef caster = 3;
|
||||||
|
optional .CMsgDotaScenario.EntityRef ability = 4;
|
||||||
|
optional float duration = 5 [default = -1];
|
||||||
|
optional float lifetime_remaining = 6 [default = 0];
|
||||||
|
optional int32 stack_count = 7;
|
||||||
|
optional bool create_even_if_existing = 8;
|
||||||
|
optional bool create_without_caster = 9;
|
||||||
|
optional bool create_without_ability = 10;
|
||||||
|
optional int32 moonshard_consumed_bonus = 100;
|
||||||
|
optional int32 moonshard_consumed_bonus_night_vision = 101;
|
||||||
|
optional int32 wardtruesight_range = 110;
|
||||||
|
optional int32 ultimate_scepter_consumed_alchemist_bonus_all_stats = 120;
|
||||||
|
optional int32 ultimate_scepter_consumed_alchemist_bonus_health = 121;
|
||||||
|
optional int32 ultimate_scepter_consumed_alchemist_bonus_mana = 122;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 lobby_id = 1;
|
||||||
|
optional .CMsgDotaScenario.Game game = 2;
|
||||||
|
repeated .CMsgDotaScenario.Team teams = 3;
|
||||||
|
repeated .CMsgDotaScenario.Hero heroes = 4;
|
||||||
|
repeated .CMsgDotaScenario.Stock stock = 5;
|
||||||
|
repeated .CMsgDotaScenario.Building buildings = 6;
|
||||||
|
repeated .CMsgDotaScenario.Entity entities = 7;
|
||||||
|
repeated .CMsgDotaScenario.Item items = 8;
|
||||||
|
repeated .CMsgDotaScenario.Modifier modifiers = 9;
|
||||||
|
}
|
||||||
831
protos/dota_shared_enums.proto
Normal file
831
protos/dota_shared_enums.proto
Normal file
|
|
@ -0,0 +1,831 @@
|
||||||
|
enum DOTA_GameMode {
|
||||||
|
DOTA_GAMEMODE_NONE = 0;
|
||||||
|
DOTA_GAMEMODE_AP = 1;
|
||||||
|
DOTA_GAMEMODE_CM = 2;
|
||||||
|
DOTA_GAMEMODE_RD = 3;
|
||||||
|
DOTA_GAMEMODE_SD = 4;
|
||||||
|
DOTA_GAMEMODE_AR = 5;
|
||||||
|
DOTA_GAMEMODE_INTRO = 6;
|
||||||
|
DOTA_GAMEMODE_HW = 7;
|
||||||
|
DOTA_GAMEMODE_REVERSE_CM = 8;
|
||||||
|
DOTA_GAMEMODE_XMAS = 9;
|
||||||
|
DOTA_GAMEMODE_TUTORIAL = 10;
|
||||||
|
DOTA_GAMEMODE_MO = 11;
|
||||||
|
DOTA_GAMEMODE_LP = 12;
|
||||||
|
DOTA_GAMEMODE_POOL1 = 13;
|
||||||
|
DOTA_GAMEMODE_FH = 14;
|
||||||
|
DOTA_GAMEMODE_CUSTOM = 15;
|
||||||
|
DOTA_GAMEMODE_CD = 16;
|
||||||
|
DOTA_GAMEMODE_BD = 17;
|
||||||
|
DOTA_GAMEMODE_ABILITY_DRAFT = 18;
|
||||||
|
DOTA_GAMEMODE_EVENT = 19;
|
||||||
|
DOTA_GAMEMODE_ARDM = 20;
|
||||||
|
DOTA_GAMEMODE_1V1MID = 21;
|
||||||
|
DOTA_GAMEMODE_ALL_DRAFT = 22;
|
||||||
|
DOTA_GAMEMODE_TURBO = 23;
|
||||||
|
DOTA_GAMEMODE_MUTATION = 24;
|
||||||
|
DOTA_GAMEMODE_COACHES_CHALLENGE = 25;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTA_GameState {
|
||||||
|
DOTA_GAMERULES_STATE_INIT = 0;
|
||||||
|
DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD = 1;
|
||||||
|
DOTA_GAMERULES_STATE_HERO_SELECTION = 2;
|
||||||
|
DOTA_GAMERULES_STATE_STRATEGY_TIME = 3;
|
||||||
|
DOTA_GAMERULES_STATE_PRE_GAME = 4;
|
||||||
|
DOTA_GAMERULES_STATE_GAME_IN_PROGRESS = 5;
|
||||||
|
DOTA_GAMERULES_STATE_POST_GAME = 6;
|
||||||
|
DOTA_GAMERULES_STATE_DISCONNECT = 7;
|
||||||
|
DOTA_GAMERULES_STATE_TEAM_SHOWCASE = 8;
|
||||||
|
DOTA_GAMERULES_STATE_CUSTOM_GAME_SETUP = 9;
|
||||||
|
DOTA_GAMERULES_STATE_WAIT_FOR_MAP_TO_LOAD = 10;
|
||||||
|
DOTA_GAMERULES_STATE_SCENARIO_SETUP = 11;
|
||||||
|
DOTA_GAMERULES_STATE_PLAYER_DRAFT = 12;
|
||||||
|
DOTA_GAMERULES_STATE_LAST = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTA_GC_TEAM {
|
||||||
|
DOTA_GC_TEAM_GOOD_GUYS = 0;
|
||||||
|
DOTA_GC_TEAM_BAD_GUYS = 1;
|
||||||
|
DOTA_GC_TEAM_BROADCASTER = 2;
|
||||||
|
DOTA_GC_TEAM_SPECTATOR = 3;
|
||||||
|
DOTA_GC_TEAM_PLAYER_POOL = 4;
|
||||||
|
DOTA_GC_TEAM_NOTEAM = 5;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_1 = 6;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_2 = 7;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_3 = 8;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_4 = 9;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_5 = 10;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_6 = 11;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_7 = 12;
|
||||||
|
DOTA_GC_TEAM_CUSTOM_8 = 13;
|
||||||
|
DOTA_GC_TEAM_NEUTRALS = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EEvent {
|
||||||
|
EVENT_ID_NONE = 0;
|
||||||
|
EVENT_ID_DIRETIDE = 1;
|
||||||
|
EVENT_ID_SPRING_FESTIVAL = 2;
|
||||||
|
EVENT_ID_FROSTIVUS_2013 = 3;
|
||||||
|
EVENT_ID_COMPENDIUM_2014 = 4;
|
||||||
|
EVENT_ID_NEXON_PC_BANG = 5;
|
||||||
|
EVENT_ID_PWRD_DAC_2015 = 6;
|
||||||
|
EVENT_ID_NEW_BLOOM_2015 = 7;
|
||||||
|
EVENT_ID_INTERNATIONAL_2015 = 8;
|
||||||
|
EVENT_ID_FALL_MAJOR_2015 = 9;
|
||||||
|
EVENT_ID_ORACLE_PA = 10;
|
||||||
|
EVENT_ID_NEW_BLOOM_2015_PREBEAST = 11;
|
||||||
|
EVENT_ID_FROSTIVUS = 12;
|
||||||
|
EVENT_ID_WINTER_MAJOR_2016 = 13;
|
||||||
|
EVENT_ID_INTERNATIONAL_2016 = 14;
|
||||||
|
EVENT_ID_FALL_MAJOR_2016 = 15;
|
||||||
|
EVENT_ID_WINTER_MAJOR_2017 = 16;
|
||||||
|
EVENT_ID_NEW_BLOOM_2017 = 17;
|
||||||
|
EVENT_ID_INTERNATIONAL_2017 = 18;
|
||||||
|
EVENT_ID_PLUS_SUBSCRIPTION = 19;
|
||||||
|
EVENT_ID_SINGLES_DAY_2017 = 20;
|
||||||
|
EVENT_ID_FROSTIVUS_2017 = 21;
|
||||||
|
EVENT_ID_INTERNATIONAL_2018 = 22;
|
||||||
|
EVENT_ID_FROSTIVUS_2018 = 23;
|
||||||
|
EVENT_ID_NEW_BLOOM_2019 = 24;
|
||||||
|
EVENT_ID_INTERNATIONAL_2019 = 25;
|
||||||
|
EVENT_ID_NEW_PLAYER_EXPERIENCE = 26;
|
||||||
|
EVENT_ID_FROSTIVUS_2019 = 27;
|
||||||
|
EVENT_ID_NEW_BLOOM_2020 = 28;
|
||||||
|
EVENT_ID_INTERNATIONAL_2020 = 29;
|
||||||
|
EVENT_ID_TEAM_FANDOM = 30;
|
||||||
|
EVENT_ID_DIRETIDE_2020 = 31;
|
||||||
|
EVENT_ID_SPRING_2021 = 32;
|
||||||
|
EVENT_ID_FALL_2021 = 33;
|
||||||
|
EVENT_ID_TEAM_FANDOM_FALL_2021 = 34;
|
||||||
|
EVENT_ID_TEAM_2021_2022_TOUR2 = 35;
|
||||||
|
EVENT_ID_INTERNATIONAL_2022 = 36;
|
||||||
|
EVENT_ID_TEAM_2021_2022_TOUR3 = 37;
|
||||||
|
EVENT_ID_TEAM_INTERNATIONAL_2022 = 38;
|
||||||
|
EVENT_ID_PERMANENT_GRANTS = 39;
|
||||||
|
EVENT_ID_MUERTA_RELEASE_SPRING2023 = 40;
|
||||||
|
EVENT_ID_TEAM_2023_TOUR1 = 41;
|
||||||
|
EVENT_ID_TEAM_2023_TOUR2 = 42;
|
||||||
|
EVENT_ID_TEAM_2023_TOUR3 = 43;
|
||||||
|
EVENT_ID_INTERNATIONAL_2023 = 45;
|
||||||
|
EVENT_ID_10TH_ANNIVERSARY = 46;
|
||||||
|
EVENT_ID_CROWNFALL = 47;
|
||||||
|
EVENT_ID_FROSTIVUS_2023 = 48;
|
||||||
|
EVENT_ID_INTERNATIONAL_2024 = 49;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ERankType {
|
||||||
|
k_ERankType_Invalid = 0;
|
||||||
|
k_ERankType_Casual = 1;
|
||||||
|
k_ERankType_Ranked = 2;
|
||||||
|
k_ERankType_CasualLegacy = 3;
|
||||||
|
k_ERankType_RankedLegacy = 4;
|
||||||
|
k_ERankType_CasualGlicko = 5;
|
||||||
|
k_ERankType_RankedGlicko = 6;
|
||||||
|
k_ERankType_RankMax = 7;
|
||||||
|
k_ERankType_BehaviorPrivate = 100;
|
||||||
|
k_ERankType_BehaviorPublic = 101;
|
||||||
|
k_ERankType_Max = 102;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTALeaverStatus_t {
|
||||||
|
DOTA_LEAVER_NONE = 0;
|
||||||
|
DOTA_LEAVER_DISCONNECTED = 1;
|
||||||
|
DOTA_LEAVER_DISCONNECTED_TOO_LONG = 2;
|
||||||
|
DOTA_LEAVER_ABANDONED = 3;
|
||||||
|
DOTA_LEAVER_AFK = 4;
|
||||||
|
DOTA_LEAVER_NEVER_CONNECTED = 5;
|
||||||
|
DOTA_LEAVER_NEVER_CONNECTED_TOO_LONG = 6;
|
||||||
|
DOTA_LEAVER_FAILED_TO_READY_UP = 7;
|
||||||
|
DOTA_LEAVER_DECLINED = 8;
|
||||||
|
DOTA_LEAVER_DECLINED_REQUEUE = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTAConnectionState_t {
|
||||||
|
DOTA_CONNECTION_STATE_UNKNOWN = 0;
|
||||||
|
DOTA_CONNECTION_STATE_NOT_YET_CONNECTED = 1;
|
||||||
|
DOTA_CONNECTION_STATE_CONNECTED = 2;
|
||||||
|
DOTA_CONNECTION_STATE_DISCONNECTED = 3;
|
||||||
|
DOTA_CONNECTION_STATE_ABANDONED = 4;
|
||||||
|
DOTA_CONNECTION_STATE_LOADING = 5;
|
||||||
|
DOTA_CONNECTION_STATE_FAILED = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Fantasy_Roles {
|
||||||
|
FANTASY_ROLE_UNDEFINED = 0;
|
||||||
|
FANTASY_ROLE_CORE = 1;
|
||||||
|
FANTASY_ROLE_SUPPORT = 2;
|
||||||
|
FANTASY_ROLE_OFFLANE = 3;
|
||||||
|
FANTASY_ROLE_MID = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Fantasy_Scoring {
|
||||||
|
FANTASY_SCORING_KILLS = 0;
|
||||||
|
FANTASY_SCORING_DEATHS = 1;
|
||||||
|
FANTASY_SCORING_CS = 2;
|
||||||
|
FANTASY_SCORING_GPM = 3;
|
||||||
|
FANTASY_SCORING_TOWER_KILLS = 4;
|
||||||
|
FANTASY_SCORING_ROSHAN_KILLS = 5;
|
||||||
|
FANTASY_SCORING_TEAMFIGHT_PARTICIPATION = 6;
|
||||||
|
FANTASY_SCORING_WARDS_PLANTED = 7;
|
||||||
|
FANTASY_SCORING_CAMPS_STACKED = 8;
|
||||||
|
FANTASY_SCORING_RUNES_GRABBED = 9;
|
||||||
|
FANTASY_SCORING_FIRST_BLOOD = 10;
|
||||||
|
FANTASY_SCORING_STUNS = 11;
|
||||||
|
FANTASY_SCORING_SMOKES_USED = 12;
|
||||||
|
FANTASY_SCORING_NEUTRAL_TOKENS_FOUND = 13;
|
||||||
|
FANTASY_SCORING_WATCHERS_TAKEN = 14;
|
||||||
|
FANTASY_SCORING_LOTUSES_GAINED = 15;
|
||||||
|
FANTASY_SCORING_TORMENTOR_KILLS = 16;
|
||||||
|
FANTASY_SCORING_COURIER_KILLS = 17;
|
||||||
|
FANTASY_SCORING_TYPES = 18;
|
||||||
|
FANTASY_SCORING_INVALID = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Fantasy_Team_Slots {
|
||||||
|
FANTASY_SLOT_NONE = 0;
|
||||||
|
FANTASY_SLOT_CORE = 1;
|
||||||
|
FANTASY_SLOT_SUPPORT = 2;
|
||||||
|
FANTASY_SLOT_ANY = 3;
|
||||||
|
FANTASY_SLOT_BENCH = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Fantasy_Selection_Mode {
|
||||||
|
FANTASY_SELECTION_INVALID = 0;
|
||||||
|
FANTASY_SELECTION_LOCKED = 1;
|
||||||
|
FANTASY_SELECTION_SHUFFLE = 2;
|
||||||
|
FANTASY_SELECTION_FREE_PICK = 3;
|
||||||
|
FANTASY_SELECTION_ENDED = 4;
|
||||||
|
FANTASY_SELECTION_PRE_SEASON = 5;
|
||||||
|
FANTASY_SELECTION_PRE_DRAFT = 6;
|
||||||
|
FANTASY_SELECTION_DRAFTING = 7;
|
||||||
|
FANTASY_SELECTION_REGULAR_SEASON = 8;
|
||||||
|
FANTASY_SELECTION_CARD_BASED = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Fantasy_Gem_Type {
|
||||||
|
FANTASY_GEM_TYPE_RUBY = 0;
|
||||||
|
FANTASY_GEM_TYPE_SAPPHIRE = 1;
|
||||||
|
FANTASY_GEM_TYPE_EMERALD = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTAChatChannelType_t {
|
||||||
|
DOTAChannelType_Regional = 0;
|
||||||
|
DOTAChannelType_Custom = 1;
|
||||||
|
DOTAChannelType_Party = 2;
|
||||||
|
DOTAChannelType_Lobby = 3;
|
||||||
|
DOTAChannelType_Team = 4;
|
||||||
|
DOTAChannelType_Guild = 5;
|
||||||
|
DOTAChannelType_Fantasy = 6;
|
||||||
|
DOTAChannelType_Whisper = 7;
|
||||||
|
DOTAChannelType_Console = 8;
|
||||||
|
DOTAChannelType_Tab = 9;
|
||||||
|
DOTAChannelType_Invalid = 10;
|
||||||
|
DOTAChannelType_GameAll = 11;
|
||||||
|
DOTAChannelType_GameAllies = 12;
|
||||||
|
DOTAChannelType_GameSpectator = 13;
|
||||||
|
DOTAChannelType_GameCoaching = 14;
|
||||||
|
DOTAChannelType_Cafe = 15;
|
||||||
|
DOTAChannelType_CustomGame = 16;
|
||||||
|
DOTAChannelType_Private = 17;
|
||||||
|
DOTAChannelType_PostGame = 18;
|
||||||
|
DOTAChannelType_BattleCup = 19;
|
||||||
|
DOTAChannelType_HLTVSpectator = 20;
|
||||||
|
DOTAChannelType_GameEvents = 21;
|
||||||
|
DOTAChannelType_Trivia = 22;
|
||||||
|
DOTAChannelType_NewPlayer = 23;
|
||||||
|
DOTAChannelType_PrivateCoaching = 24;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EChatSpecialPrivileges {
|
||||||
|
k_EChatSpecialPrivileges_None = 0;
|
||||||
|
k_EChatSpecialPrivileges_Moderator = 1;
|
||||||
|
k_EChatSpecialPrivileges_SuperModerator = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTACommType_t {
|
||||||
|
DOTA_COMM_TYPE_NONE = 0;
|
||||||
|
DOTA_COMM_TYPE_PING = 1;
|
||||||
|
DOTA_COMM_TYPE_CHATWHEEL = 2;
|
||||||
|
DOTA_COMM_TYPE_TIP = 3;
|
||||||
|
DOTA_COMM_TYPE_TEXT = 4;
|
||||||
|
DOTA_COMM_TYPE_SHOWCASE = 5;
|
||||||
|
DOTA_COMM_TYPE_VOICE = 6;
|
||||||
|
DOTA_COMM_TYPE_ALLY_ABILITY = 7;
|
||||||
|
DOTA_COMM_TYPE_PAUSE = 8;
|
||||||
|
DOTA_COMM_TYPE_COACHING = 9;
|
||||||
|
DOTA_COMM_TYPE_NOCOOLDOWN = 10;
|
||||||
|
DOTA_COMM_TYPE_RANKEDMATCHMAKE = 11;
|
||||||
|
DOTA_COMM_TYPE_DROPS = 12;
|
||||||
|
DOTA_COMM_TYPE_NEWPLAYER_EXPERT = 13;
|
||||||
|
DOTA_COMM_TYPE_COACHED = 14;
|
||||||
|
DOTA_COMM_TYPE_MAPDRAWING = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTACommLevel_t {
|
||||||
|
DOTA_COMM_LEVEL_NONE = 0;
|
||||||
|
DOTA_COMM_LEVEL_COOLDOWN = 1;
|
||||||
|
DOTA_COMM_LEVEL_PINGS = 2;
|
||||||
|
DOTA_COMM_LEVEL_MAPDRAWING = 3;
|
||||||
|
DOTA_COMM_LEVEL_CHAT = 4;
|
||||||
|
DOTA_COMM_LEVEL_TIPPING = 5;
|
||||||
|
DOTA_COMM_LEVEL_VOICE = 6;
|
||||||
|
DOTA_COMM_LEVEL_ALLIED_ABILITY = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTABehaviorLevel_t {
|
||||||
|
DOTA_BEHAVIOR_LEVEL_NONE = 0;
|
||||||
|
DOTA_BEHAVIOR_LEVEL_RANKED_ALLOWED = 1;
|
||||||
|
DOTA_BEHAVIOR_LEVEL_PAUSING = 2;
|
||||||
|
DOTA_BEHAVIOR_LEVEL_DROPS = 3;
|
||||||
|
DOTA_BEHAVIOR_LEVEL_COACHING = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EProfileCardSlotType {
|
||||||
|
k_EProfileCardSlotType_Empty = 0;
|
||||||
|
k_EProfileCardSlotType_Stat = 1;
|
||||||
|
k_EProfileCardSlotType_Trophy = 2;
|
||||||
|
k_EProfileCardSlotType_Item = 3;
|
||||||
|
k_EProfileCardSlotType_Hero = 4;
|
||||||
|
k_EProfileCardSlotType_Emoticon = 5;
|
||||||
|
k_EProfileCardSlotType_Team = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EMatchGroupServerStatus {
|
||||||
|
k_EMatchGroupServerStatus_OK = 0;
|
||||||
|
k_EMatchGroupServerStatus_LimitedAvailability = 1;
|
||||||
|
k_EMatchGroupServerStatus_Offline = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTA_CM_PICK {
|
||||||
|
DOTA_CM_RANDOM = 0;
|
||||||
|
DOTA_CM_GOOD_GUYS = 1;
|
||||||
|
DOTA_CM_BAD_GUYS = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTALowPriorityBanType {
|
||||||
|
DOTA_LOW_PRIORITY_BAN_ABANDON = 0;
|
||||||
|
DOTA_LOW_PRIORITY_BAN_REPORTS = 1;
|
||||||
|
DOTA_LOW_PRIORITY_BAN_SECONDARY_ABANDON = 2;
|
||||||
|
DOTA_LOW_PRIORITY_BAN_PRE_GAME_ROLE = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTALobbyReadyState {
|
||||||
|
DOTALobbyReadyState_UNDECLARED = 0;
|
||||||
|
DOTALobbyReadyState_ACCEPTED = 1;
|
||||||
|
DOTALobbyReadyState_DECLINED = 2;
|
||||||
|
DOTALobbyReadyState_DECLINED_REQUEUE = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTAJoinLobbyResult {
|
||||||
|
DOTA_JOIN_RESULT_SUCCESS = 0;
|
||||||
|
DOTA_JOIN_RESULT_ALREADY_IN_GAME = 1;
|
||||||
|
DOTA_JOIN_RESULT_INVALID_LOBBY = 2;
|
||||||
|
DOTA_JOIN_RESULT_INCORRECT_PASSWORD = 3;
|
||||||
|
DOTA_JOIN_RESULT_ACCESS_DENIED = 4;
|
||||||
|
DOTA_JOIN_RESULT_GENERIC_ERROR = 5;
|
||||||
|
DOTA_JOIN_RESULT_INCORRECT_VERSION = 6;
|
||||||
|
DOTA_JOIN_RESULT_IN_TEAM_PARTY = 7;
|
||||||
|
DOTA_JOIN_RESULT_NO_LOBBY_FOUND = 8;
|
||||||
|
DOTA_JOIN_RESULT_LOBBY_FULL = 9;
|
||||||
|
DOTA_JOIN_RESULT_CUSTOM_GAME_INCORRECT_VERSION = 10;
|
||||||
|
DOTA_JOIN_RESULT_TIMEOUT = 11;
|
||||||
|
DOTA_JOIN_RESULT_CUSTOM_GAME_COOLDOWN = 12;
|
||||||
|
DOTA_JOIN_RESULT_BUSY = 13;
|
||||||
|
DOTA_JOIN_RESULT_NO_PLAYTIME = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTASelectionPriorityRules {
|
||||||
|
k_DOTASelectionPriorityRules_Manual = 0;
|
||||||
|
k_DOTASelectionPriorityRules_Automatic = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTASelectionPriorityChoice {
|
||||||
|
k_DOTASelectionPriorityChoice_Invalid = 0;
|
||||||
|
k_DOTASelectionPriorityChoice_FirstPick = 1;
|
||||||
|
k_DOTASelectionPriorityChoice_SecondPick = 2;
|
||||||
|
k_DOTASelectionPriorityChoice_Radiant = 3;
|
||||||
|
k_DOTASelectionPriorityChoice_Dire = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTAMatchVote {
|
||||||
|
DOTAMatchVote_INVALID = 0;
|
||||||
|
DOTAMatchVote_POSITIVE = 1;
|
||||||
|
DOTAMatchVote_NEGATIVE = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTALobbyVisibility {
|
||||||
|
DOTALobbyVisibility_Public = 0;
|
||||||
|
DOTALobbyVisibility_Friends = 1;
|
||||||
|
DOTALobbyVisibility_Unlisted = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDOTAPlayerMMRType {
|
||||||
|
k_EDOTAPlayerMMRType_Invalid = 0;
|
||||||
|
k_EDOTAPlayerMMRType_GeneralHidden = 1;
|
||||||
|
k_EDOTAPlayerMMRType_GeneralCompetitive = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDOTAMMRBoostType {
|
||||||
|
k_EDOTAMMRBoostType_None = 0;
|
||||||
|
k_EDOTAMMRBoostType_Leader = 1;
|
||||||
|
k_EDOTAMMRBoostType_Follower = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum MatchType {
|
||||||
|
MATCH_TYPE_CASUAL = 0;
|
||||||
|
MATCH_TYPE_COOP_BOTS = 1;
|
||||||
|
MATCH_TYPE_COMPETITIVE = 4;
|
||||||
|
MATCH_TYPE_WEEKEND_TOURNEY = 5;
|
||||||
|
MATCH_TYPE_EVENT = 7;
|
||||||
|
MATCH_TYPE_COACHES_CHALLENGE = 12;
|
||||||
|
MATCH_TYPE_NEW_PLAYER_POOL = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTABotDifficulty {
|
||||||
|
BOT_DIFFICULTY_PASSIVE = 0;
|
||||||
|
BOT_DIFFICULTY_EASY = 1;
|
||||||
|
BOT_DIFFICULTY_MEDIUM = 2;
|
||||||
|
BOT_DIFFICULTY_HARD = 3;
|
||||||
|
BOT_DIFFICULTY_UNFAIR = 4;
|
||||||
|
BOT_DIFFICULTY_INVALID = 5;
|
||||||
|
BOT_DIFFICULTY_EXTRA1 = 6;
|
||||||
|
BOT_DIFFICULTY_EXTRA2 = 7;
|
||||||
|
BOT_DIFFICULTY_EXTRA3 = 8;
|
||||||
|
BOT_DIFFICULTY_NPX = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTA_BOT_MODE {
|
||||||
|
DOTA_BOT_MODE_NONE = 0;
|
||||||
|
DOTA_BOT_MODE_LANING = 1;
|
||||||
|
DOTA_BOT_MODE_ATTACK = 2;
|
||||||
|
DOTA_BOT_MODE_ROAM = 3;
|
||||||
|
DOTA_BOT_MODE_RETREAT = 4;
|
||||||
|
DOTA_BOT_MODE_SECRET_SHOP = 5;
|
||||||
|
DOTA_BOT_MODE_SIDE_SHOP = 6;
|
||||||
|
DOTA_BOT_MODE_RUNE = 7;
|
||||||
|
DOTA_BOT_MODE_PUSH_TOWER_TOP = 8;
|
||||||
|
DOTA_BOT_MODE_PUSH_TOWER_MID = 9;
|
||||||
|
DOTA_BOT_MODE_PUSH_TOWER_BOT = 10;
|
||||||
|
DOTA_BOT_MODE_DEFEND_TOWER_TOP = 11;
|
||||||
|
DOTA_BOT_MODE_DEFEND_TOWER_MID = 12;
|
||||||
|
DOTA_BOT_MODE_DEFEND_TOWER_BOT = 13;
|
||||||
|
DOTA_BOT_MODE_ASSEMBLE = 14;
|
||||||
|
DOTA_BOT_MODE_ASSEMBLE_WITH_HUMANS = 15;
|
||||||
|
DOTA_BOT_MODE_TEAM_ROAM = 16;
|
||||||
|
DOTA_BOT_MODE_FARM = 17;
|
||||||
|
DOTA_BOT_MODE_DEFEND_ALLY = 18;
|
||||||
|
DOTA_BOT_MODE_EVASIVE_MANEUVERS = 19;
|
||||||
|
DOTA_BOT_MODE_ROSHAN = 20;
|
||||||
|
DOTA_BOT_MODE_ITEM = 21;
|
||||||
|
DOTA_BOT_MODE_WARD = 22;
|
||||||
|
DOTA_BOT_MODE_COMPANION = 23;
|
||||||
|
DOTA_BOT_MODE_TUTORIAL_BOSS = 24;
|
||||||
|
DOTA_BOT_MODE_MINION = 25;
|
||||||
|
DOTA_BOT_MODE_OUTPOST = 26;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum MatchLanguages {
|
||||||
|
MATCH_LANGUAGE_INVALID = 0;
|
||||||
|
MATCH_LANGUAGE_ENGLISH = 1;
|
||||||
|
MATCH_LANGUAGE_RUSSIAN = 2;
|
||||||
|
MATCH_LANGUAGE_CHINESE = 3;
|
||||||
|
MATCH_LANGUAGE_KOREAN = 4;
|
||||||
|
MATCH_LANGUAGE_SPANISH = 5;
|
||||||
|
MATCH_LANGUAGE_PORTUGUESE = 6;
|
||||||
|
MATCH_LANGUAGE_ENGLISH2 = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ETourneyQueueDeadlineState {
|
||||||
|
k_ETourneyQueueDeadlineState_Normal = 0;
|
||||||
|
k_ETourneyQueueDeadlineState_Missed = 1;
|
||||||
|
k_ETourneyQueueDeadlineState_ExpiredOK = 2;
|
||||||
|
k_ETourneyQueueDeadlineState_SeekingBye = 3;
|
||||||
|
k_ETourneyQueueDeadlineState_EligibleForRefund = 4;
|
||||||
|
k_ETourneyQueueDeadlineState_NA = -1;
|
||||||
|
k_ETourneyQueueDeadlineState_ExpiringSoon = 101;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EMatchOutcome {
|
||||||
|
k_EMatchOutcome_Unknown = 0;
|
||||||
|
k_EMatchOutcome_RadVictory = 2;
|
||||||
|
k_EMatchOutcome_DireVictory = 3;
|
||||||
|
k_EMatchOutcome_NeutralVictory = 4;
|
||||||
|
k_EMatchOutcome_NoTeamWinner = 5;
|
||||||
|
k_EMatchOutcome_Custom1Victory = 6;
|
||||||
|
k_EMatchOutcome_Custom2Victory = 7;
|
||||||
|
k_EMatchOutcome_Custom3Victory = 8;
|
||||||
|
k_EMatchOutcome_Custom4Victory = 9;
|
||||||
|
k_EMatchOutcome_Custom5Victory = 10;
|
||||||
|
k_EMatchOutcome_Custom6Victory = 11;
|
||||||
|
k_EMatchOutcome_Custom7Victory = 12;
|
||||||
|
k_EMatchOutcome_Custom8Victory = 13;
|
||||||
|
k_EMatchOutcome_NotScored_PoorNetworkConditions = 64;
|
||||||
|
k_EMatchOutcome_NotScored_Leaver = 65;
|
||||||
|
k_EMatchOutcome_NotScored_ServerCrash = 66;
|
||||||
|
k_EMatchOutcome_NotScored_NeverStarted = 67;
|
||||||
|
k_EMatchOutcome_NotScored_Canceled = 68;
|
||||||
|
k_EMatchOutcome_NotScored_Suspicious = 69;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELaneType {
|
||||||
|
LANE_TYPE_UNKNOWN = 0;
|
||||||
|
LANE_TYPE_SAFE = 1;
|
||||||
|
LANE_TYPE_OFF = 2;
|
||||||
|
LANE_TYPE_MID = 3;
|
||||||
|
LANE_TYPE_JUNGLE = 4;
|
||||||
|
LANE_TYPE_ROAM = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EBadgeType {
|
||||||
|
k_EBadgeType_Invalid = 0;
|
||||||
|
k_EBadgeType_TI7_Midweek = 1;
|
||||||
|
k_EBadgeType_TI7_Finals = 2;
|
||||||
|
k_EBadgeType_TI7_AllEvent = 3;
|
||||||
|
k_EBadgeType_TI8_Midweek = 4;
|
||||||
|
k_EBadgeType_TI8_Finals = 5;
|
||||||
|
k_EBadgeType_TI8_AllEvent = 6;
|
||||||
|
k_EBadgeType_TI10 = 7;
|
||||||
|
k_EBadgeType_TI11_PlayoffsDay1 = 8;
|
||||||
|
k_EBadgeType_TI11_PlayoffsDay2 = 9;
|
||||||
|
k_EBadgeType_TI11_PlayoffsDay3 = 10;
|
||||||
|
k_EBadgeType_TI11_PlayoffsDay4 = 11;
|
||||||
|
k_EBadgeType_TI11_FinalsWeekend = 12;
|
||||||
|
k_EBadgeType_TI12_PlayoffsDay1 = 13;
|
||||||
|
k_EBadgeType_TI12_PlayoffsDay2 = 14;
|
||||||
|
k_EBadgeType_TI12_PlayoffsDay3 = 15;
|
||||||
|
k_EBadgeType_TI12_FinalsWeekend = 16;
|
||||||
|
k_EBadgeType_TI12_Special = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueStatus {
|
||||||
|
LEAGUE_STATUS_UNSET = 0;
|
||||||
|
LEAGUE_STATUS_UNSUBMITTED = 1;
|
||||||
|
LEAGUE_STATUS_SUBMITTED = 2;
|
||||||
|
LEAGUE_STATUS_ACCEPTED = 3;
|
||||||
|
LEAGUE_STATUS_REJECTED = 4;
|
||||||
|
LEAGUE_STATUS_CONCLUDED = 5;
|
||||||
|
LEAGUE_STATUS_DELETED = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueRegion {
|
||||||
|
LEAGUE_REGION_UNSET = 0;
|
||||||
|
LEAGUE_REGION_NA = 1;
|
||||||
|
LEAGUE_REGION_SA = 2;
|
||||||
|
LEAGUE_REGION_WEU = 3;
|
||||||
|
LEAGUE_REGION_EEU = 4;
|
||||||
|
LEAGUE_REGION_CHINA = 5;
|
||||||
|
LEAGUE_REGION_SEA = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueTier {
|
||||||
|
LEAGUE_TIER_UNSET = 0;
|
||||||
|
LEAGUE_TIER_AMATEUR = 1;
|
||||||
|
LEAGUE_TIER_PROFESSIONAL = 2;
|
||||||
|
LEAGUE_TIER_MINOR = 3;
|
||||||
|
LEAGUE_TIER_MAJOR = 4;
|
||||||
|
LEAGUE_TIER_INTERNATIONAL = 5;
|
||||||
|
LEAGUE_TIER_DPC_QUALIFIER = 6;
|
||||||
|
LEAGUE_TIER_DPC_LEAGUE_QUALIFIER = 7;
|
||||||
|
LEAGUE_TIER_DPC_LEAGUE = 8;
|
||||||
|
LEAGUE_TIER_DPC_LEAGUE_FINALS = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueTierCategory {
|
||||||
|
LEAGUE_TIER_CATEGORY_AMATEUR = 1;
|
||||||
|
LEAGUE_TIER_CATEGORY_PROFESSIONAL = 2;
|
||||||
|
LEAGUE_TIER_CATEGORY_DPC = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueDivision {
|
||||||
|
LEAGUE_DIVISION_UNSET = 0;
|
||||||
|
LEAGUE_DIVISION_I = 1;
|
||||||
|
LEAGUE_DIVISION_II = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueBroadcastProvider {
|
||||||
|
LEAGUE_BROADCAST_UNKNOWN = 0;
|
||||||
|
LEAGUE_BROADCAST_STEAM = 1;
|
||||||
|
LEAGUE_BROADCAST_TWITCH = 2;
|
||||||
|
LEAGUE_BROADCAST_YOUTUBE = 3;
|
||||||
|
LEAGUE_BROADCAST_OTHER = 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeaguePhase {
|
||||||
|
LEAGUE_PHASE_UNSET = 0;
|
||||||
|
LEAGUE_PHASE_REGIONAL_QUALIFIER = 1;
|
||||||
|
LEAGUE_PHASE_GROUP_STAGE = 2;
|
||||||
|
LEAGUE_PHASE_MAIN_EVENT = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ELeagueAuditAction {
|
||||||
|
LEAGUE_AUDIT_ACTION_INVALID = 0;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_CREATE = 1;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_EDIT = 2;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_DELETE = 3;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_ADD = 4;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_REVOKE = 5;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_ADMIN_PROMOTE = 6;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_ADD = 7;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_REMOVE = 8;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_IMAGE_UPDATED = 9;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_MESSAGE_ADDED = 10;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_SUBMITTED = 11;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_SET_PRIZE_POOL = 12;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_ADD_PRIZE_POOL_ITEM = 13;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_PRIZE_POOL_ITEM = 14;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_START = 15;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_MATCH_END = 16;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_ADD_INVITED_TEAM = 17;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_REMOVE_INVITED_TEAM = 18;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_STATUS_CHANGED = 19;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_STREAM_EDIT = 20;
|
||||||
|
LEAGUE_AUDIT_ACTION_LEAGUE_TEAM_SWAP = 21;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_CREATE = 100;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_DESTROY = 101;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_ADD_TEAM = 102;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_REMOVE_TEAM = 103;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_ADVANCING = 104;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_EDIT = 105;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_POPULATE = 106;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_COMPLETED = 107;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_SECONDARY_ADVANCING = 108;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODEGROUP_SET_TERTIARY_ADVANCING = 109;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_CREATE = 200;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_DESTROY = 201;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_AUTOCREATE = 202;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_SET_TEAM = 203;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_SET_SERIES_ID = 204;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_SET_ADVANCING = 205;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_SET_TIME = 206;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_MATCH_COMPLETED = 207;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_COMPLETED = 208;
|
||||||
|
LEAGUE_AUDIT_ACTION_NODE_EDIT = 209;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DOTA_COMBATLOG_TYPES {
|
||||||
|
DOTA_COMBATLOG_INVALID = -1;
|
||||||
|
DOTA_COMBATLOG_DAMAGE = 0;
|
||||||
|
DOTA_COMBATLOG_HEAL = 1;
|
||||||
|
DOTA_COMBATLOG_MODIFIER_ADD = 2;
|
||||||
|
DOTA_COMBATLOG_MODIFIER_REMOVE = 3;
|
||||||
|
DOTA_COMBATLOG_DEATH = 4;
|
||||||
|
DOTA_COMBATLOG_ABILITY = 5;
|
||||||
|
DOTA_COMBATLOG_ITEM = 6;
|
||||||
|
DOTA_COMBATLOG_LOCATION = 7;
|
||||||
|
DOTA_COMBATLOG_GOLD = 8;
|
||||||
|
DOTA_COMBATLOG_GAME_STATE = 9;
|
||||||
|
DOTA_COMBATLOG_XP = 10;
|
||||||
|
DOTA_COMBATLOG_PURCHASE = 11;
|
||||||
|
DOTA_COMBATLOG_BUYBACK = 12;
|
||||||
|
DOTA_COMBATLOG_ABILITY_TRIGGER = 13;
|
||||||
|
DOTA_COMBATLOG_PLAYERSTATS = 14;
|
||||||
|
DOTA_COMBATLOG_MULTIKILL = 15;
|
||||||
|
DOTA_COMBATLOG_KILLSTREAK = 16;
|
||||||
|
DOTA_COMBATLOG_TEAM_BUILDING_KILL = 17;
|
||||||
|
DOTA_COMBATLOG_FIRST_BLOOD = 18;
|
||||||
|
DOTA_COMBATLOG_MODIFIER_STACK_EVENT = 19;
|
||||||
|
DOTA_COMBATLOG_NEUTRAL_CAMP_STACK = 20;
|
||||||
|
DOTA_COMBATLOG_PICKUP_RUNE = 21;
|
||||||
|
DOTA_COMBATLOG_REVEALED_INVISIBLE = 22;
|
||||||
|
DOTA_COMBATLOG_HERO_SAVED = 23;
|
||||||
|
DOTA_COMBATLOG_MANA_RESTORED = 24;
|
||||||
|
DOTA_COMBATLOG_HERO_LEVELUP = 25;
|
||||||
|
DOTA_COMBATLOG_BOTTLE_HEAL_ALLY = 26;
|
||||||
|
DOTA_COMBATLOG_ENDGAME_STATS = 27;
|
||||||
|
DOTA_COMBATLOG_INTERRUPT_CHANNEL = 28;
|
||||||
|
DOTA_COMBATLOG_ALLIED_GOLD = 29;
|
||||||
|
DOTA_COMBATLOG_AEGIS_TAKEN = 30;
|
||||||
|
DOTA_COMBATLOG_MANA_DAMAGE = 31;
|
||||||
|
DOTA_COMBATLOG_PHYSICAL_DAMAGE_PREVENTED = 32;
|
||||||
|
DOTA_COMBATLOG_UNIT_SUMMONED = 33;
|
||||||
|
DOTA_COMBATLOG_ATTACK_EVADE = 34;
|
||||||
|
DOTA_COMBATLOG_TREE_CUT = 35;
|
||||||
|
DOTA_COMBATLOG_SUCCESSFUL_SCAN = 36;
|
||||||
|
DOTA_COMBATLOG_END_KILLSTREAK = 37;
|
||||||
|
DOTA_COMBATLOG_BLOODSTONE_CHARGE = 38;
|
||||||
|
DOTA_COMBATLOG_CRITICAL_DAMAGE = 39;
|
||||||
|
DOTA_COMBATLOG_SPELL_ABSORB = 40;
|
||||||
|
DOTA_COMBATLOG_UNIT_TELEPORTED = 41;
|
||||||
|
DOTA_COMBATLOG_KILL_EATER_EVENT = 42;
|
||||||
|
DOTA_COMBATLOG_NEUTRAL_ITEM_EARNED = 43;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDPCFavoriteType {
|
||||||
|
FAVORITE_TYPE_ALL = 0;
|
||||||
|
FAVORITE_TYPE_PLAYER = 1;
|
||||||
|
FAVORITE_TYPE_TEAM = 2;
|
||||||
|
FAVORITE_TYPE_LEAGUE = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EDPCPushNotification {
|
||||||
|
DPC_PUSH_NOTIFICATION_MATCH_STARTING = 1;
|
||||||
|
DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM = 10;
|
||||||
|
DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM = 11;
|
||||||
|
DPC_PUSH_NOTIFICATION_PLAYER_JOINED_TEAM_AS_COACH = 12;
|
||||||
|
DPC_PUSH_NOTIFICATION_PLAYER_LEFT_TEAM_AS_COACH = 13;
|
||||||
|
DPC_PUSH_NOTIFICATION_LEAGUE_RESULT = 20;
|
||||||
|
DPC_PUSH_NOTIFICATION_PREDICTION_MATCHES_AVAILABLE = 30;
|
||||||
|
DPC_PUSH_NOTIFICATION_PREDICTION_RESULT = 31;
|
||||||
|
DPC_PUSH_NOTIFICATION_FANTASY_PLAYER_CLEARED = 40;
|
||||||
|
DPC_PUSH_NOTIFICATION_FANTASY_DAILY_SUMMARY = 41;
|
||||||
|
DPC_PUSH_NOTIFICATION_FANTASY_FINAL_RESULTS = 42;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EEventActionScoreMode {
|
||||||
|
k_eEventActionScoreMode_Add = 0;
|
||||||
|
k_eEventActionScoreMode_Min = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EPlayerChallengeHistoryType {
|
||||||
|
k_EPlayerChallengeHistoryType_Invalid = 0;
|
||||||
|
k_EPlayerChallengeHistoryType_KillEater = 1;
|
||||||
|
k_EPlayerChallengeHistoryType_DotaPlusRelic = 2;
|
||||||
|
k_EPlayerChallengeHistoryType_DotaPlusHeroPlayerChallenge = 3;
|
||||||
|
k_EPlayerChallengeHistoryType_InGameEventChallenge = 4;
|
||||||
|
k_EPlayerChallengeHistoryType_GuildContract = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EOverwatchReportReason {
|
||||||
|
k_EOverwatchReportReason_Unknown = 0;
|
||||||
|
k_EOverwatchReportReason_Cheating = 1;
|
||||||
|
k_EOverwatchReportReason_Feeding = 2;
|
||||||
|
k_EOverwatchReportReason_Griefing = 3;
|
||||||
|
k_EOverwatchReportReason_Suspicious = 4;
|
||||||
|
k_EOverwatchReportReason_AbilityAbuse = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ECandyShopUpgrade {
|
||||||
|
k_ECandyShopUpgradeInvalid = -1;
|
||||||
|
k_ECandyShopUpgrade_InventorySize = 0;
|
||||||
|
k_ECandyShopUpgrade_RewardShelf = 1;
|
||||||
|
k_ECandyShopUpgrade_ExtraExchangeRecipe = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTAClientHardwareSpecs {
|
||||||
|
optional uint32 logical_processors = 1;
|
||||||
|
optional fixed64 cpu_cycles_per_second = 2;
|
||||||
|
optional fixed64 total_physical_memory = 3;
|
||||||
|
optional bool is_64_bit_os = 4;
|
||||||
|
optional uint64 upload_measurement = 5;
|
||||||
|
optional bool prefer_not_host = 6;
|
||||||
|
repeated uint32 crc = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CDOTASaveGame {
|
||||||
|
message Player {
|
||||||
|
optional .DOTA_GC_TEAM team = 1 [default = DOTA_GC_TEAM_GOOD_GUYS];
|
||||||
|
optional string name = 2;
|
||||||
|
optional string hero = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SaveInstance {
|
||||||
|
message PlayerPositions {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 game_time = 2;
|
||||||
|
optional uint32 team1_score = 3;
|
||||||
|
optional uint32 team2_score = 4;
|
||||||
|
repeated .CDOTASaveGame.SaveInstance.PlayerPositions player_positions = 5;
|
||||||
|
optional uint32 save_id = 6;
|
||||||
|
optional uint32 save_time = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint64 match_id = 5;
|
||||||
|
optional uint32 save_time = 2;
|
||||||
|
repeated .CDOTASaveGame.Player players = 3;
|
||||||
|
repeated .CDOTASaveGame.SaveInstance save_instances = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDOTACombatLogEntry {
|
||||||
|
optional .DOTA_COMBATLOG_TYPES type = 1 [default = DOTA_COMBATLOG_INVALID];
|
||||||
|
optional uint32 target_name = 2;
|
||||||
|
optional uint32 target_source_name = 3;
|
||||||
|
optional uint32 attacker_name = 4;
|
||||||
|
optional uint32 damage_source_name = 5;
|
||||||
|
optional uint32 inflictor_name = 6;
|
||||||
|
optional bool is_attacker_illusion = 7;
|
||||||
|
optional bool is_attacker_hero = 8;
|
||||||
|
optional bool is_target_illusion = 9;
|
||||||
|
optional bool is_target_hero = 10;
|
||||||
|
optional bool is_visible_radiant = 11;
|
||||||
|
optional bool is_visible_dire = 12;
|
||||||
|
optional uint32 value = 13;
|
||||||
|
optional int32 health = 14;
|
||||||
|
optional float timestamp = 15;
|
||||||
|
optional float stun_duration = 16;
|
||||||
|
optional float slow_duration = 17;
|
||||||
|
optional bool is_ability_toggle_on = 18;
|
||||||
|
optional bool is_ability_toggle_off = 19;
|
||||||
|
optional uint32 ability_level = 20;
|
||||||
|
optional float location_x = 21;
|
||||||
|
optional float location_y = 22;
|
||||||
|
optional uint32 gold_reason = 23;
|
||||||
|
optional float timestamp_raw = 24;
|
||||||
|
optional float modifier_duration = 25;
|
||||||
|
optional uint32 xp_reason = 26;
|
||||||
|
optional uint32 last_hits = 27;
|
||||||
|
optional uint32 attacker_team = 28;
|
||||||
|
optional uint32 target_team = 29;
|
||||||
|
optional uint32 obs_wards_placed = 30;
|
||||||
|
optional uint32 assist_player0 = 31;
|
||||||
|
optional uint32 assist_player1 = 32;
|
||||||
|
optional uint32 assist_player2 = 33;
|
||||||
|
optional uint32 assist_player3 = 34;
|
||||||
|
optional uint32 stack_count = 35;
|
||||||
|
optional bool hidden_modifier = 36;
|
||||||
|
optional bool is_target_building = 37;
|
||||||
|
optional uint32 neutral_camp_type = 38;
|
||||||
|
optional uint32 rune_type = 39;
|
||||||
|
repeated int32 assist_players = 40;
|
||||||
|
optional bool is_heal_save = 41;
|
||||||
|
optional bool is_ultimate_ability = 42;
|
||||||
|
optional uint32 attacker_hero_level = 43;
|
||||||
|
optional uint32 target_hero_level = 44;
|
||||||
|
optional uint32 xpm = 45;
|
||||||
|
optional uint32 gpm = 46;
|
||||||
|
optional uint32 event_location = 47;
|
||||||
|
optional bool target_is_self = 48;
|
||||||
|
optional uint32 damage_type = 49;
|
||||||
|
optional bool invisibility_modifier = 50;
|
||||||
|
optional uint32 damage_category = 51;
|
||||||
|
optional uint32 networth = 52;
|
||||||
|
optional uint32 building_type = 53;
|
||||||
|
optional float modifier_elapsed_duration = 54;
|
||||||
|
optional bool silence_modifier = 55;
|
||||||
|
optional bool heal_from_lifesteal = 56;
|
||||||
|
optional bool modifier_purged = 57;
|
||||||
|
optional bool spell_evaded = 58;
|
||||||
|
optional bool motion_controller_modifier = 59;
|
||||||
|
optional bool long_range_kill = 60;
|
||||||
|
optional uint32 modifier_purge_ability = 61;
|
||||||
|
optional uint32 modifier_purge_npc = 62;
|
||||||
|
optional bool root_modifier = 63;
|
||||||
|
optional uint32 total_unit_death_count = 64;
|
||||||
|
optional bool aura_modifier = 65;
|
||||||
|
optional bool armor_debuff_modifier = 66;
|
||||||
|
optional bool no_physical_damage_modifier = 67;
|
||||||
|
optional uint32 modifier_ability = 68;
|
||||||
|
optional bool modifier_hidden = 69;
|
||||||
|
optional bool inflictor_is_stolen_ability = 70;
|
||||||
|
optional uint32 kill_eater_event = 71;
|
||||||
|
optional uint32 unit_status_label = 72;
|
||||||
|
optional bool spell_generated_attack = 73;
|
||||||
|
optional bool at_night_time = 74;
|
||||||
|
optional bool attacker_has_scepter = 75;
|
||||||
|
optional uint32 neutral_camp_team = 76;
|
||||||
|
optional float regenerated_health = 77;
|
||||||
|
optional bool will_reincarnate = 78;
|
||||||
|
optional bool uses_charges = 79;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPendingEventAward {
|
||||||
|
optional .EEvent event_id = 1 [default = EVENT_ID_NONE];
|
||||||
|
optional uint32 action_id = 2;
|
||||||
|
optional uint32 num_to_grant = 3;
|
||||||
|
optional .EEventActionScoreMode score_mode = 4 [default = k_eEventActionScoreMode_Add];
|
||||||
|
optional uint32 audit_action = 5;
|
||||||
|
optional uint64 audit_data = 6;
|
||||||
|
}
|
||||||
15
protos/dota_usercmd.proto
Normal file
15
protos/dota_usercmd.proto
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
import "usercmd.proto";
|
||||||
|
|
||||||
|
message CDota2UserCmdPB {
|
||||||
|
optional .CBaseUserCmdPB base = 1;
|
||||||
|
optional int32 spectator_query_unit_entindex = 2;
|
||||||
|
optional .CMsgVector crosshairtrace = 3;
|
||||||
|
optional int32 cameraposition_x = 4;
|
||||||
|
optional int32 cameraposition_y = 5;
|
||||||
|
optional uint32 clickbehavior = 6;
|
||||||
|
optional uint32 statspanel = 7;
|
||||||
|
optional uint32 shoppanel = 8;
|
||||||
|
optional uint32 stats_dropdown = 9;
|
||||||
|
optional uint32 stats_dropdown_sort = 10;
|
||||||
|
}
|
||||||
1667
protos/dota_usermessages.proto
Normal file
1667
protos/dota_usermessages.proto
Normal file
File diff suppressed because it is too large
Load diff
1076
protos/econ_gcmessages.proto
Normal file
1076
protos/econ_gcmessages.proto
Normal file
File diff suppressed because it is too large
Load diff
37
protos/econ_shared_enums.proto
Normal file
37
protos/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;
|
||||||
|
}
|
||||||
14
protos/engine_gcmessages.proto
Normal file
14
protos/engine_gcmessages.proto
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
message CEngineGotvSyncPacket {
|
||||||
|
optional uint64 match_id = 1;
|
||||||
|
optional uint32 instance_id = 2;
|
||||||
|
optional uint32 signupfragment = 3;
|
||||||
|
optional uint32 currentfragment = 4;
|
||||||
|
optional float tickrate = 5;
|
||||||
|
optional uint32 tick = 6;
|
||||||
|
optional float rtdelay = 8;
|
||||||
|
optional float rcvage = 9;
|
||||||
|
optional float keyframe_interval = 10;
|
||||||
|
optional uint32 cdndelay = 11;
|
||||||
|
}
|
||||||
1547
protos/enums_clientserver.proto
Normal file
1547
protos/enums_clientserver.proto
Normal file
File diff suppressed because it is too large
Load diff
120
protos/gameevents.proto
Normal file
120
protos/gameevents.proto
Normal file
|
|
@ -0,0 +1,120 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum EBaseGameEvents {
|
||||||
|
GE_VDebugGameSessionIDEvent = 200;
|
||||||
|
GE_PlaceDecalEvent = 201;
|
||||||
|
GE_ClearWorldDecalsEvent = 202;
|
||||||
|
GE_ClearEntityDecalsEvent = 203;
|
||||||
|
GE_ClearDecalsForSkeletonInstanceEvent = 204;
|
||||||
|
GE_Source1LegacyGameEventList = 205;
|
||||||
|
GE_Source1LegacyListenEvents = 206;
|
||||||
|
GE_Source1LegacyGameEvent = 207;
|
||||||
|
GE_SosStartSoundEvent = 208;
|
||||||
|
GE_SosStopSoundEvent = 209;
|
||||||
|
GE_SosSetSoundEventParams = 210;
|
||||||
|
GE_SosSetLibraryStackFields = 211;
|
||||||
|
GE_SosStopSoundEventHash = 212;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgVDebugGameSessionIDEvent {
|
||||||
|
optional int32 clientid = 1;
|
||||||
|
optional string gamesessionid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPlaceDecalEvent {
|
||||||
|
optional .CMsgVector position = 1;
|
||||||
|
optional .CMsgVector normal = 2;
|
||||||
|
optional .CMsgVector saxis = 3;
|
||||||
|
optional uint32 decalmaterialindex = 4;
|
||||||
|
optional uint32 flags = 5;
|
||||||
|
optional fixed32 color = 6;
|
||||||
|
optional float width = 7;
|
||||||
|
optional float height = 8;
|
||||||
|
optional float depth = 9;
|
||||||
|
optional uint32 entityhandleindex = 10;
|
||||||
|
optional fixed32 skeletoninstancehash = 11;
|
||||||
|
optional int32 boneindex = 12;
|
||||||
|
optional bool translucenthit = 13;
|
||||||
|
optional bool is_adjacent = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClearWorldDecalsEvent {
|
||||||
|
optional uint32 flagstoclear = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClearEntityDecalsEvent {
|
||||||
|
optional uint32 flagstoclear = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClearDecalsForSkeletonInstanceEvent {
|
||||||
|
optional uint32 flagstoclear = 1;
|
||||||
|
optional uint32 entityhandleindex = 2;
|
||||||
|
optional uint32 skeletoninstancehash = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource1LegacyGameEventList {
|
||||||
|
message key_t {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message descriptor_t {
|
||||||
|
optional int32 eventid = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
repeated .CMsgSource1LegacyGameEventList.key_t keys = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgSource1LegacyGameEventList.descriptor_t descriptors = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource1LegacyListenEvents {
|
||||||
|
optional int32 playerslot = 1;
|
||||||
|
repeated uint32 eventarraybits = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource1LegacyGameEvent {
|
||||||
|
message key_t {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional string val_string = 2;
|
||||||
|
optional float val_float = 3;
|
||||||
|
optional int32 val_long = 4;
|
||||||
|
optional int32 val_short = 5;
|
||||||
|
optional int32 val_byte = 6;
|
||||||
|
optional bool val_bool = 7;
|
||||||
|
optional uint64 val_uint64 = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string event_name = 1;
|
||||||
|
optional int32 eventid = 2;
|
||||||
|
repeated .CMsgSource1LegacyGameEvent.key_t keys = 3;
|
||||||
|
optional int32 server_tick = 4;
|
||||||
|
optional int32 passthrough = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSosStartSoundEvent {
|
||||||
|
optional int32 soundevent_guid = 1;
|
||||||
|
optional fixed32 soundevent_hash = 2;
|
||||||
|
optional int32 source_entity_index = 3 [default = -1];
|
||||||
|
optional int32 seed = 4;
|
||||||
|
optional bytes packed_params = 5;
|
||||||
|
optional float start_time = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSosStopSoundEvent {
|
||||||
|
optional int32 soundevent_guid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSosStopSoundEventHash {
|
||||||
|
optional fixed32 soundevent_hash = 1;
|
||||||
|
optional int32 source_entity_index = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSosSetSoundEventParams {
|
||||||
|
optional int32 soundevent_guid = 1;
|
||||||
|
optional bytes packed_params = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSosSetLibraryStackFields {
|
||||||
|
optional fixed32 stack_hash = 1;
|
||||||
|
optional bytes packed_fields = 5;
|
||||||
|
}
|
||||||
78
protos/gametoolevents.proto
Normal file
78
protos/gametoolevents.proto
Normal file
|
|
@ -0,0 +1,78 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
message ChangeMapToolEvent {
|
||||||
|
optional string mapname = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TraceRayServerToolEvent {
|
||||||
|
optional .CMsgVector start = 1;
|
||||||
|
optional .CMsgVector end = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolTraceRayResult {
|
||||||
|
optional bool hit = 1;
|
||||||
|
optional .CMsgVector impact = 2;
|
||||||
|
optional .CMsgVector normal = 3;
|
||||||
|
optional float distance = 4;
|
||||||
|
optional float fraction = 5;
|
||||||
|
optional int32 ehandle = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SpawnEntityToolEvent {
|
||||||
|
optional bytes entity_keyvalues = 1;
|
||||||
|
optional bool clientsideentity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SpawnEntityToolEventResult {
|
||||||
|
optional int32 ehandle = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyEntityToolEvent {
|
||||||
|
optional int32 ehandle = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyAllEntitiesToolEvent {
|
||||||
|
}
|
||||||
|
|
||||||
|
message RestartMapToolEvent {
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_GetEntityInfo {
|
||||||
|
optional int32 ehandle = 1;
|
||||||
|
optional bool clientsideentity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_GetEntityInfoResult {
|
||||||
|
optional string cppclass = 1 [default = "shithead"];
|
||||||
|
optional string classname = 2;
|
||||||
|
optional string name = 3;
|
||||||
|
optional .CMsgVector origin = 4;
|
||||||
|
optional .CMsgVector mins = 5;
|
||||||
|
optional .CMsgVector maxs = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_GetEntityInputs {
|
||||||
|
optional int32 ehandle = 1;
|
||||||
|
optional bool clientsideentity = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_GetEntityInputsResult {
|
||||||
|
repeated string input_list = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_FireEntityInput {
|
||||||
|
optional int32 ehandle = 1;
|
||||||
|
optional bool clientsideentity = 2;
|
||||||
|
optional string input_name = 3;
|
||||||
|
optional string input_param = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_SFMRecordingStateChanged {
|
||||||
|
optional bool isrecording = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ToolEvent_SFMToolActiveStateChanged {
|
||||||
|
optional bool isactive = 1;
|
||||||
|
}
|
||||||
494
protos/gcsdk_gcmessages.proto
Normal file
494
protos/gcsdk_gcmessages.proto
Normal file
|
|
@ -0,0 +1,494 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
import "steammessages_steamlearn.steamworkssdk.proto";
|
||||||
|
|
||||||
|
enum ESourceEngine {
|
||||||
|
k_ESE_Source1 = 0;
|
||||||
|
k_ESE_Source2 = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum PartnerAccountType {
|
||||||
|
PARTNER_NONE = 0;
|
||||||
|
PARTNER_PERFECT_WORLD = 1;
|
||||||
|
PARTNER_INVALID = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum GCConnectionStatus {
|
||||||
|
GCConnectionStatus_HAVE_SESSION = 0;
|
||||||
|
GCConnectionStatus_GC_GOING_DOWN = 1;
|
||||||
|
GCConnectionStatus_NO_SESSION = 2;
|
||||||
|
GCConnectionStatus_NO_SESSION_IN_LOGON_QUEUE = 3;
|
||||||
|
GCConnectionStatus_NO_STEAM = 4;
|
||||||
|
GCConnectionStatus_SUSPENDED = 5;
|
||||||
|
GCConnectionStatus_STEAM_GOING_DOWN = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CExtraMsgBlock {
|
||||||
|
optional uint32 msg_type = 1;
|
||||||
|
optional bytes contents = 2;
|
||||||
|
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 bool enable_data_submission = 1;
|
||||||
|
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 {
|
||||||
|
optional uint32 type = 1;
|
||||||
|
optional uint64 id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSOSingleObject {
|
||||||
|
optional int32 type_id = 2;
|
||||||
|
optional bytes object_data = 3;
|
||||||
|
optional fixed64 version = 4;
|
||||||
|
optional .CMsgSOIDOwner owner_soid = 5;
|
||||||
|
optional uint32 service_id = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSOMultipleObjects {
|
||||||
|
message SingleObject {
|
||||||
|
option (msgpool_soft_limit) = 256;
|
||||||
|
option (msgpool_hard_limit) = 1024;
|
||||||
|
|
||||||
|
optional int32 type_id = 1;
|
||||||
|
optional bytes object_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgSOMultipleObjects.SingleObject objects_modified = 2;
|
||||||
|
optional fixed64 version = 3;
|
||||||
|
repeated .CMsgSOMultipleObjects.SingleObject objects_added = 4;
|
||||||
|
repeated .CMsgSOMultipleObjects.SingleObject objects_removed = 5;
|
||||||
|
optional .CMsgSOIDOwner owner_soid = 6;
|
||||||
|
optional uint32 service_id = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSOCacheSubscribed {
|
||||||
|
message SubscribedType {
|
||||||
|
optional int32 type_id = 1;
|
||||||
|
repeated bytes object_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgSOCacheSubscribed.SubscribedType objects = 2;
|
||||||
|
optional fixed64 version = 3;
|
||||||
|
optional .CMsgSOIDOwner owner_soid = 4;
|
||||||
|
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 {
|
||||||
|
optional .CMsgSOIDOwner owner_soid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 {
|
||||||
|
optional .CMsgSOIDOwner owner_soid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSOCacheVersion {
|
||||||
|
optional fixed64 version = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCMultiplexMessage {
|
||||||
|
optional uint32 msgtype = 1;
|
||||||
|
optional bytes payload = 2;
|
||||||
|
repeated fixed64 steamids = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCToGCSubGCStarting {
|
||||||
|
optional int32 dir_index = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCToGCMsgMasterAck {
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCToGCMsgRoutedReply {
|
||||||
|
optional uint32 msg_type = 1;
|
||||||
|
optional bytes net_message = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCUpdateSubGCSessionInfo {
|
||||||
|
message CMsgUpdate {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional fixed32 ip = 2;
|
||||||
|
optional bool trusted = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgGCUpdateSubGCSessionInfo.CMsgUpdate updates = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCRequestSubGCSessionInfo {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 .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 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 {
|
||||||
|
message Location {
|
||||||
|
optional float latitude = 1;
|
||||||
|
optional float longitude = 2;
|
||||||
|
optional string country = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 version = 1;
|
||||||
|
optional bytes game_data = 2;
|
||||||
|
repeated .CMsgSOCacheSubscribed outofdate_subscribed_caches = 3;
|
||||||
|
repeated .CMsgSOCacheSubscriptionCheck uptodate_subscribed_caches = 4;
|
||||||
|
optional .CMsgClientWelcome.Location location = 5;
|
||||||
|
optional bytes save_game_key = 6;
|
||||||
|
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 {
|
||||||
|
optional .GCConnectionStatus status = 1 [default = GCConnectionStatus_HAVE_SESSION];
|
||||||
|
optional uint32 client_session_need = 2;
|
||||||
|
optional int32 queue_position = 3;
|
||||||
|
optional int32 queue_size = 4;
|
||||||
|
optional int32 wait_seconds = 5;
|
||||||
|
optional int32 estimated_wait_seconds_remaining = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ItemDescriptionsLanguageBlock {
|
||||||
|
optional string language = 1;
|
||||||
|
repeated .CWorkshop_PopulateItemDescriptions_Request.SingleItemDescription descriptions = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
repeated .CWorkshop_PopulateItemDescriptions_Request.ItemDescriptionsLanguageBlock languages = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CWorkshop_GetContributors_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional uint32 gameitemid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CWorkshop_GetContributors_Response {
|
||||||
|
repeated fixed64 contributors = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CWorkshop_SetItemPaymentRules_Request {
|
||||||
|
message WorkshopItemPaymentRule {
|
||||||
|
optional uint64 workshop_file_id = 1;
|
||||||
|
optional float revenue_percentage = 2;
|
||||||
|
optional string rule_description = 3;
|
||||||
|
optional uint32 rule_type = 4 [default = 1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message WorkshopDirectPaymentRule {
|
||||||
|
optional uint64 workshop_file_id = 1;
|
||||||
|
optional string rule_description = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PartnerItemPaymentRule {
|
||||||
|
optional uint32 account_id = 1;
|
||||||
|
optional float revenue_percentage = 2;
|
||||||
|
optional string rule_description = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional uint32 gameitemid = 2;
|
||||||
|
repeated .CWorkshop_SetItemPaymentRules_Request.WorkshopItemPaymentRule associated_workshop_files = 3;
|
||||||
|
repeated .CWorkshop_SetItemPaymentRules_Request.PartnerItemPaymentRule partner_accounts = 4;
|
||||||
|
optional bool validate_only = 5;
|
||||||
|
optional bool make_workshop_files_subscribable = 6;
|
||||||
|
optional .CWorkshop_SetItemPaymentRules_Request.WorkshopDirectPaymentRule associated_workshop_file_for_direct_payments = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CWorkshop_SetItemPaymentRules_Response {
|
||||||
|
repeated string validation_errors = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 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 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 fixed64 steamid = 2;
|
||||||
|
optional fixed64 broadcast_id = 3;
|
||||||
|
optional bytes frame_data = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSerializedSOCache {
|
||||||
|
message TypeCache {
|
||||||
|
optional uint32 type = 1;
|
||||||
|
repeated bytes objects = 2;
|
||||||
|
optional uint32 service_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Cache {
|
||||||
|
message Version {
|
||||||
|
optional uint32 service = 1;
|
||||||
|
optional uint64 version = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 type = 1;
|
||||||
|
optional uint64 id = 2;
|
||||||
|
repeated .CMsgSerializedSOCache.Cache.Version versions = 3;
|
||||||
|
repeated .CMsgSerializedSOCache.TypeCache type_caches = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 file_version = 1;
|
||||||
|
repeated .CMsgSerializedSOCache.Cache caches = 2;
|
||||||
|
optional uint32 gc_socache_file_version = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
26
protos/gcsystemmsgs.proto
Normal file
26
protos/gcsystemmsgs.proto
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
enum ESOMsg {
|
||||||
|
k_ESOMsg_Create = 21;
|
||||||
|
k_ESOMsg_Update = 22;
|
||||||
|
k_ESOMsg_Destroy = 23;
|
||||||
|
k_ESOMsg_CacheSubscribed = 24;
|
||||||
|
k_ESOMsg_CacheUnsubscribed = 25;
|
||||||
|
k_ESOMsg_UpdateMultiple = 26;
|
||||||
|
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;
|
||||||
|
}
|
||||||
669
protos/netmessages.proto
Normal file
669
protos/netmessages.proto
Normal file
|
|
@ -0,0 +1,669 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum CLC_Messages {
|
||||||
|
clc_ClientInfo = 20;
|
||||||
|
clc_Move = 21;
|
||||||
|
clc_VoiceData = 22;
|
||||||
|
clc_BaselineAck = 23;
|
||||||
|
clc_RespondCvarValue = 25;
|
||||||
|
clc_FileCRCCheck = 26;
|
||||||
|
clc_LoadingProgress = 27;
|
||||||
|
clc_SplitPlayerConnect = 28;
|
||||||
|
clc_SplitPlayerDisconnect = 30;
|
||||||
|
clc_ServerStatus = 31;
|
||||||
|
clc_RequestPause = 33;
|
||||||
|
clc_CmdKeyValues = 34;
|
||||||
|
clc_RconServerDetails = 35;
|
||||||
|
clc_HltvReplay = 36;
|
||||||
|
clc_Diagnostic = 37;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum SVC_Messages {
|
||||||
|
svc_ServerInfo = 40;
|
||||||
|
svc_FlattenedSerializer = 41;
|
||||||
|
svc_ClassInfo = 42;
|
||||||
|
svc_SetPause = 43;
|
||||||
|
svc_CreateStringTable = 44;
|
||||||
|
svc_UpdateStringTable = 45;
|
||||||
|
svc_VoiceInit = 46;
|
||||||
|
svc_VoiceData = 47;
|
||||||
|
svc_Print = 48;
|
||||||
|
svc_Sounds = 49;
|
||||||
|
svc_SetView = 50;
|
||||||
|
svc_ClearAllStringTables = 51;
|
||||||
|
svc_CmdKeyValues = 52;
|
||||||
|
svc_BSPDecal = 53;
|
||||||
|
svc_SplitScreen = 54;
|
||||||
|
svc_PacketEntities = 55;
|
||||||
|
svc_Prefetch = 56;
|
||||||
|
svc_Menu = 57;
|
||||||
|
svc_GetCvarValue = 58;
|
||||||
|
svc_StopSound = 59;
|
||||||
|
svc_PeerList = 60;
|
||||||
|
svc_PacketReliable = 61;
|
||||||
|
svc_HLTVStatus = 62;
|
||||||
|
svc_ServerSteamID = 63;
|
||||||
|
svc_FullFrameSplit = 70;
|
||||||
|
svc_RconServerDetails = 71;
|
||||||
|
svc_UserMessage = 72;
|
||||||
|
svc_Broadcast_Command = 74;
|
||||||
|
svc_HltvFixupOperatorStatus = 75;
|
||||||
|
svc_UserCmds = 76;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum VoiceDataFormat_t {
|
||||||
|
VOICEDATA_FORMAT_STEAM = 0;
|
||||||
|
VOICEDATA_FORMAT_ENGINE = 1;
|
||||||
|
VOICEDATA_FORMAT_OPUS = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum RequestPause_t {
|
||||||
|
RP_PAUSE = 0;
|
||||||
|
RP_UNPAUSE = 1;
|
||||||
|
RP_TOGGLEPAUSE = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum PrefetchType {
|
||||||
|
PFT_SOUND = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ESplitScreenMessageType {
|
||||||
|
MSG_SPLITSCREEN_ADDUSER = 0;
|
||||||
|
MSG_SPLITSCREEN_REMOVEUSER = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EQueryCvarValueStatus {
|
||||||
|
eQueryCvarValueStatus_ValueIntact = 0;
|
||||||
|
eQueryCvarValueStatus_CvarNotFound = 1;
|
||||||
|
eQueryCvarValueStatus_NotACvar = 2;
|
||||||
|
eQueryCvarValueStatus_CvarProtected = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum DIALOG_TYPE {
|
||||||
|
DIALOG_MSG = 0;
|
||||||
|
DIALOG_MENU = 1;
|
||||||
|
DIALOG_TEXT = 2;
|
||||||
|
DIALOG_ENTRY = 3;
|
||||||
|
DIALOG_ASKCONNECT = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum SVC_Messages_LowFrequency {
|
||||||
|
svc_dummy = 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Bidirectional_Messages {
|
||||||
|
bi_RebroadcastGameEvent = 16;
|
||||||
|
bi_RebroadcastSource = 17;
|
||||||
|
bi_GameEvent = 18;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Bidirectional_Messages_LowFrequency {
|
||||||
|
bi_RelayInfo = 700;
|
||||||
|
bi_RelayPacket = 701;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ReplayEventType_t {
|
||||||
|
REPLAY_EVENT_CANCEL = 0;
|
||||||
|
REPLAY_EVENT_DEATH = 1;
|
||||||
|
REPLAY_EVENT_GENERIC = 2;
|
||||||
|
REPLAY_EVENT_STUCK_NEED_FULL_UPDATE = 3;
|
||||||
|
REPLAY_EVENT_VICTORY = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_ClientInfo {
|
||||||
|
optional fixed32 send_table_crc = 1;
|
||||||
|
optional uint32 server_count = 2;
|
||||||
|
optional bool is_hltv = 3;
|
||||||
|
optional uint32 friends_id = 5;
|
||||||
|
optional string friends_name = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_Move {
|
||||||
|
optional bytes data = 3;
|
||||||
|
optional uint32 last_command_number = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgVoiceAudio {
|
||||||
|
optional .VoiceDataFormat_t format = 1 [default = VOICEDATA_FORMAT_STEAM];
|
||||||
|
optional bytes voice_data = 2;
|
||||||
|
optional int32 sequence_bytes = 3;
|
||||||
|
optional uint32 section_number = 4;
|
||||||
|
optional uint32 sample_rate = 5;
|
||||||
|
optional uint32 uncompressed_sample_offset = 6;
|
||||||
|
optional uint32 num_packets = 7;
|
||||||
|
repeated uint32 packet_offsets = 8 [packed = true];
|
||||||
|
optional float voice_level = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_VoiceData {
|
||||||
|
optional .CMsgVoiceAudio audio = 1;
|
||||||
|
optional fixed64 xuid = 2;
|
||||||
|
optional uint32 tick = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_BaselineAck {
|
||||||
|
optional int32 baseline_tick = 1;
|
||||||
|
optional int32 baseline_nr = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_ListenEvents {
|
||||||
|
repeated fixed32 event_mask = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_RespondCvarValue {
|
||||||
|
optional int32 cookie = 1;
|
||||||
|
optional int32 status_code = 2;
|
||||||
|
optional string name = 3;
|
||||||
|
optional string value = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_FileCRCCheck {
|
||||||
|
optional int32 code_path = 1;
|
||||||
|
optional string path = 2;
|
||||||
|
optional int32 code_filename = 3;
|
||||||
|
optional string filename = 4;
|
||||||
|
optional fixed32 crc = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_LoadingProgress {
|
||||||
|
optional int32 progress = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_SplitPlayerConnect {
|
||||||
|
optional string playername = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_SplitPlayerDisconnect {
|
||||||
|
optional int32 slot = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_ServerStatus {
|
||||||
|
optional bool simplified = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_RequestPause {
|
||||||
|
optional .RequestPause_t pause_type = 1 [default = RP_PAUSE];
|
||||||
|
optional int32 pause_group = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_CmdKeyValues {
|
||||||
|
optional bytes data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_RconServerDetails {
|
||||||
|
optional bytes token = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource2SystemSpecs {
|
||||||
|
optional string cpu_id = 1;
|
||||||
|
optional string cpu_brand = 2;
|
||||||
|
optional uint32 cpu_model = 3;
|
||||||
|
optional uint32 cpu_num_physical = 4;
|
||||||
|
optional uint32 ram_physical_total_mb = 21;
|
||||||
|
optional string gpu_rendersystem_dll_name = 41;
|
||||||
|
optional uint32 gpu_vendor_id = 42;
|
||||||
|
optional string gpu_driver_name = 43;
|
||||||
|
optional uint32 gpu_driver_version_high = 44;
|
||||||
|
optional uint32 gpu_driver_version_low = 45;
|
||||||
|
optional uint32 gpu_dx_support_level = 46;
|
||||||
|
optional uint32 gpu_texture_memory_size_mb = 47;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource2VProfLiteReportItem {
|
||||||
|
optional string name = 1;
|
||||||
|
optional uint32 active_samples = 2;
|
||||||
|
optional uint32 usec_max = 3;
|
||||||
|
optional uint32 usec_avg_active = 11;
|
||||||
|
optional uint32 usec_p50_active = 12;
|
||||||
|
optional uint32 usec_p99_active = 13;
|
||||||
|
optional uint32 usec_avg_all = 21;
|
||||||
|
optional uint32 usec_p50_all = 22;
|
||||||
|
optional uint32 usec_p99_all = 23;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSource2VProfLiteReport {
|
||||||
|
optional .CMsgSource2VProfLiteReportItem total = 1;
|
||||||
|
repeated .CMsgSource2VProfLiteReportItem items = 2;
|
||||||
|
optional uint32 discarded_frames = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_Diagnostic {
|
||||||
|
optional .CMsgSource2SystemSpecs system_specs = 1;
|
||||||
|
optional .CMsgSource2VProfLiteReport vprof_report = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSource2Metrics_MatchPerfSummary_Notification {
|
||||||
|
message Client {
|
||||||
|
optional .CMsgSource2SystemSpecs system_specs = 1;
|
||||||
|
optional .CMsgSource2VProfLiteReport profile = 2;
|
||||||
|
optional uint32 build_id = 3;
|
||||||
|
optional fixed64 steamid = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional string game_mode = 2;
|
||||||
|
optional uint32 server_build_id = 3;
|
||||||
|
optional .CMsgSource2VProfLiteReport server_profile = 10;
|
||||||
|
repeated .CSource2Metrics_MatchPerfSummary_Notification.Client clients = 11;
|
||||||
|
optional string map = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_ServerInfo {
|
||||||
|
optional int32 protocol = 1;
|
||||||
|
optional int32 server_count = 2;
|
||||||
|
optional bool is_dedicated = 3;
|
||||||
|
optional bool is_hltv = 4;
|
||||||
|
optional int32 c_os = 6;
|
||||||
|
optional int32 max_clients = 10;
|
||||||
|
optional int32 max_classes = 11;
|
||||||
|
optional int32 player_slot = 12 [default = -1];
|
||||||
|
optional float tick_interval = 13;
|
||||||
|
optional string game_dir = 14;
|
||||||
|
optional string map_name = 15;
|
||||||
|
optional string sky_name = 16;
|
||||||
|
optional string host_name = 17;
|
||||||
|
optional string addon_name = 18;
|
||||||
|
optional .CSVCMsg_GameSessionConfiguration game_session_config = 19;
|
||||||
|
optional bytes game_session_manifest = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_ClassInfo {
|
||||||
|
message class_t {
|
||||||
|
optional int32 class_id = 1;
|
||||||
|
optional string class_name = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool create_on_client = 1;
|
||||||
|
repeated .CSVCMsg_ClassInfo.class_t classes = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_SetPause {
|
||||||
|
optional bool paused = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_VoiceInit {
|
||||||
|
optional int32 quality = 1;
|
||||||
|
optional string codec = 2;
|
||||||
|
optional int32 version = 3 [default = 0];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_Print {
|
||||||
|
optional string text = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_Sounds {
|
||||||
|
message sounddata_t {
|
||||||
|
optional sint32 origin_x = 1;
|
||||||
|
optional sint32 origin_y = 2;
|
||||||
|
optional sint32 origin_z = 3;
|
||||||
|
optional uint32 volume = 4;
|
||||||
|
optional float delay_value = 5;
|
||||||
|
optional int32 sequence_number = 6;
|
||||||
|
optional int32 entity_index = 7 [default = -1];
|
||||||
|
optional int32 channel = 8;
|
||||||
|
optional int32 pitch = 9;
|
||||||
|
optional int32 flags = 10;
|
||||||
|
optional uint32 sound_num = 11;
|
||||||
|
optional fixed32 sound_num_handle = 12;
|
||||||
|
optional int32 speaker_entity = 13;
|
||||||
|
optional int32 random_seed = 14;
|
||||||
|
optional int32 sound_level = 15;
|
||||||
|
optional bool is_sentence = 16;
|
||||||
|
optional bool is_ambient = 17;
|
||||||
|
optional uint32 guid = 18;
|
||||||
|
optional fixed64 sound_resource_id = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool reliable_sound = 1;
|
||||||
|
repeated .CSVCMsg_Sounds.sounddata_t sounds = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_Prefetch {
|
||||||
|
optional int32 sound_index = 1;
|
||||||
|
optional .PrefetchType resource_type = 2 [default = PFT_SOUND];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_SetView {
|
||||||
|
optional int32 entity_index = 1 [default = -1];
|
||||||
|
optional int32 slot = 2 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_FixAngle {
|
||||||
|
optional bool relative = 1;
|
||||||
|
optional .CMsgQAngle angle = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_CrosshairAngle {
|
||||||
|
optional .CMsgQAngle angle = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_BSPDecal {
|
||||||
|
optional .CMsgVector pos = 1;
|
||||||
|
optional int32 decal_texture_index = 2;
|
||||||
|
optional int32 entity_index = 3 [default = -1];
|
||||||
|
optional int32 model_index = 4;
|
||||||
|
optional bool low_priority = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_SplitScreen {
|
||||||
|
optional .ESplitScreenMessageType type = 1 [default = MSG_SPLITSCREEN_ADDUSER];
|
||||||
|
optional int32 slot = 2;
|
||||||
|
optional int32 player_index = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_GetCvarValue {
|
||||||
|
optional int32 cookie = 1;
|
||||||
|
optional string cvar_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_Menu {
|
||||||
|
optional int32 dialog_type = 1;
|
||||||
|
optional bytes menu_key_values = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_UserMessage {
|
||||||
|
optional int32 msg_type = 1;
|
||||||
|
optional bytes msg_data = 2;
|
||||||
|
optional int32 passthrough = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_SendTable {
|
||||||
|
message sendprop_t {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional string var_name = 2;
|
||||||
|
optional int32 flags = 3;
|
||||||
|
optional int32 priority = 4;
|
||||||
|
optional string dt_name = 5;
|
||||||
|
optional int32 num_elements = 6;
|
||||||
|
optional float low_value = 7;
|
||||||
|
optional float high_value = 8;
|
||||||
|
optional int32 num_bits = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool is_end = 1;
|
||||||
|
optional string net_table_name = 2;
|
||||||
|
optional bool needs_decoder = 3;
|
||||||
|
repeated .CSVCMsg_SendTable.sendprop_t props = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_GameEventList {
|
||||||
|
message key_t {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message descriptor_t {
|
||||||
|
optional int32 eventid = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
repeated .CSVCMsg_GameEventList.key_t keys = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CSVCMsg_GameEventList.descriptor_t descriptors = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_PacketEntities {
|
||||||
|
message alternate_baseline_t {
|
||||||
|
optional int32 entity_index = 1;
|
||||||
|
optional int32 baseline_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message non_transmitted_entities_t {
|
||||||
|
optional int32 header_count = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 max_entries = 1;
|
||||||
|
optional int32 updated_entries = 2;
|
||||||
|
optional bool legacy_is_delta = 3;
|
||||||
|
optional bool update_baseline = 4;
|
||||||
|
optional int32 baseline = 5;
|
||||||
|
optional int32 delta_from = 6;
|
||||||
|
optional bytes entity_data = 7;
|
||||||
|
optional bool pending_full_frame = 8;
|
||||||
|
optional uint32 active_spawngroup_handle = 9;
|
||||||
|
optional uint32 max_spawngroup_creationsequence = 10;
|
||||||
|
optional uint32 last_cmd_number_executed = 11;
|
||||||
|
optional sint32 last_cmd_number_recv_delta = 17;
|
||||||
|
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;
|
||||||
|
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;
|
||||||
|
optional uint32 cq_discarded_command_ticks = 21;
|
||||||
|
optional bytes dev_padding = 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_TempEntities {
|
||||||
|
optional bool reliable = 1;
|
||||||
|
optional int32 num_entries = 2;
|
||||||
|
optional bytes entity_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_CreateStringTable {
|
||||||
|
optional string name = 1;
|
||||||
|
optional int32 num_entries = 2;
|
||||||
|
optional bool user_data_fixed_size = 3;
|
||||||
|
optional int32 user_data_size = 4;
|
||||||
|
optional int32 user_data_size_bits = 5;
|
||||||
|
optional int32 flags = 6;
|
||||||
|
optional bytes string_data = 7;
|
||||||
|
optional int32 uncompressed_size = 8;
|
||||||
|
optional bool data_compressed = 9;
|
||||||
|
optional bool using_varint_bitcounts = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_UpdateStringTable {
|
||||||
|
optional int32 table_id = 1;
|
||||||
|
optional int32 num_changed_entries = 2;
|
||||||
|
optional bytes string_data = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_VoiceData {
|
||||||
|
optional .CMsgVoiceAudio audio = 1;
|
||||||
|
optional int32 client = 2 [default = -1];
|
||||||
|
optional bool proximity = 3;
|
||||||
|
optional fixed64 xuid = 4;
|
||||||
|
optional int32 audible_mask = 5;
|
||||||
|
optional uint32 tick = 6;
|
||||||
|
optional int32 passthrough = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_PacketReliable {
|
||||||
|
optional int32 tick = 1;
|
||||||
|
optional int32 messagessize = 2;
|
||||||
|
optional bool state = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_FullFrameSplit {
|
||||||
|
optional int32 tick = 1;
|
||||||
|
optional int32 section = 2;
|
||||||
|
optional int32 total = 3;
|
||||||
|
optional bytes data = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_HLTVStatus {
|
||||||
|
optional string master = 1;
|
||||||
|
optional int32 clients = 2;
|
||||||
|
optional int32 slots = 3;
|
||||||
|
optional int32 proxies = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_ServerSteamID {
|
||||||
|
optional uint64 steam_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_CmdKeyValues {
|
||||||
|
optional bytes data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_RconServerDetails {
|
||||||
|
optional bytes token = 1;
|
||||||
|
optional string details = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgIPCAddress {
|
||||||
|
optional fixed64 computer_guid = 1;
|
||||||
|
optional uint32 process_id = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgServerPeer {
|
||||||
|
optional int32 player_slot = 1 [default = -1];
|
||||||
|
optional fixed64 steamid = 2;
|
||||||
|
optional .CMsgIPCAddress ipc = 3;
|
||||||
|
optional bool they_hear_you = 4;
|
||||||
|
optional bool you_hear_them = 5;
|
||||||
|
optional bool is_listenserver_host = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_PeerList {
|
||||||
|
repeated .CMsgServerPeer peer = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_ClearAllStringTables {
|
||||||
|
optional string mapname = 1;
|
||||||
|
optional bool create_tables_skipped = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProtoFlattenedSerializerField_t {
|
||||||
|
message polymorphic_field_t {
|
||||||
|
optional int32 polymorphic_field_serializer_name_sym = 1;
|
||||||
|
optional int32 polymorphic_field_serializer_version = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 var_type_sym = 1;
|
||||||
|
optional int32 var_name_sym = 2;
|
||||||
|
optional int32 bit_count = 3;
|
||||||
|
optional float low_value = 4;
|
||||||
|
optional float high_value = 5;
|
||||||
|
optional int32 encode_flags = 6;
|
||||||
|
optional int32 field_serializer_name_sym = 7;
|
||||||
|
optional int32 field_serializer_version = 8;
|
||||||
|
optional int32 send_node_sym = 9;
|
||||||
|
optional int32 var_encoder_sym = 10;
|
||||||
|
repeated .ProtoFlattenedSerializerField_t.polymorphic_field_t polymorphic_types = 11;
|
||||||
|
optional int32 var_serializer_sym = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ProtoFlattenedSerializer_t {
|
||||||
|
optional int32 serializer_name_sym = 1;
|
||||||
|
optional int32 serializer_version = 2;
|
||||||
|
repeated int32 fields_index = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_FlattenedSerializer {
|
||||||
|
repeated .ProtoFlattenedSerializer_t serializers = 1;
|
||||||
|
repeated string symbols = 2;
|
||||||
|
repeated .ProtoFlattenedSerializerField_t fields = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_StopSound {
|
||||||
|
optional fixed32 guid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CBidirMsg_RebroadcastGameEvent {
|
||||||
|
optional bool posttoserver = 1;
|
||||||
|
optional int32 buftype = 2;
|
||||||
|
optional uint32 clientbitcount = 3;
|
||||||
|
optional uint64 receivingclients = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CBidirMsg_RebroadcastSource {
|
||||||
|
optional int32 eventsource = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgServerNetworkStats {
|
||||||
|
message Port {
|
||||||
|
optional int32 port = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Player {
|
||||||
|
optional uint64 steamid = 1;
|
||||||
|
optional string remote_addr = 2;
|
||||||
|
optional int32 ping_avg_ms = 4;
|
||||||
|
optional float packet_loss_pct = 5;
|
||||||
|
optional bool is_bot = 6;
|
||||||
|
optional float loss_in = 7;
|
||||||
|
optional float loss_out = 8;
|
||||||
|
optional int32 engine_latency_ms = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional bool dedicated = 1;
|
||||||
|
optional int32 cpu_usage = 2;
|
||||||
|
optional int32 memory_used_mb = 3;
|
||||||
|
optional int32 memory_free_mb = 4;
|
||||||
|
optional int32 uptime = 5;
|
||||||
|
optional int32 spawn_count = 6;
|
||||||
|
optional int32 num_clients = 8;
|
||||||
|
optional int32 num_bots = 9;
|
||||||
|
optional int32 num_spectators = 10;
|
||||||
|
optional int32 num_tv_relays = 11;
|
||||||
|
optional float fps = 12;
|
||||||
|
repeated .CMsgServerNetworkStats.Port ports = 17;
|
||||||
|
optional float avg_ping_ms = 18;
|
||||||
|
optional float avg_engine_latency_out = 19;
|
||||||
|
optional float avg_packets_out = 20;
|
||||||
|
optional float avg_packets_in = 21;
|
||||||
|
optional float avg_loss_out = 22;
|
||||||
|
optional float avg_loss_in = 23;
|
||||||
|
optional float avg_data_out = 24;
|
||||||
|
optional float avg_data_in = 25;
|
||||||
|
optional uint64 total_data_in = 26;
|
||||||
|
optional uint64 total_packets_in = 27;
|
||||||
|
optional uint64 total_data_out = 28;
|
||||||
|
optional uint64 total_packets_out = 29;
|
||||||
|
repeated .CMsgServerNetworkStats.Player players = 30;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_HltvReplay {
|
||||||
|
optional int32 delay = 1;
|
||||||
|
optional int32 primary_target = 2 [default = -1];
|
||||||
|
optional int32 replay_stop_at = 3;
|
||||||
|
optional int32 replay_start_at = 4;
|
||||||
|
optional int32 replay_slowdown_begin = 5;
|
||||||
|
optional int32 replay_slowdown_end = 6;
|
||||||
|
optional float replay_slowdown_rate = 7;
|
||||||
|
optional int32 reason = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_HltvReplay {
|
||||||
|
optional int32 request = 1;
|
||||||
|
optional float slowdown_length = 2;
|
||||||
|
optional float slowdown_rate = 3;
|
||||||
|
optional int32 primary_target = 4 [default = -1];
|
||||||
|
optional float event_time = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_Broadcast_Command {
|
||||||
|
optional string cmd = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCLCMsg_HltvFixupOperatorTick {
|
||||||
|
optional int32 tick = 1;
|
||||||
|
optional bytes props_data = 2;
|
||||||
|
optional .CMsgVector origin = 3;
|
||||||
|
optional .CMsgQAngle eye_angles = 4;
|
||||||
|
optional int32 observer_mode = 5;
|
||||||
|
optional bool cameraman_scoreboard = 6;
|
||||||
|
optional int32 observer_target = 7;
|
||||||
|
optional .CMsgVector view_offset = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_HltvFixupOperatorStatus {
|
||||||
|
optional uint32 mode = 1;
|
||||||
|
optional string override_operator_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgServerUserCmd {
|
||||||
|
optional bytes data = 1;
|
||||||
|
optional int32 cmd_number = 2;
|
||||||
|
optional int32 player_slot = 3 [default = -1];
|
||||||
|
optional int32 server_tick_executed = 4;
|
||||||
|
optional int32 client_tick = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_UserCommands {
|
||||||
|
repeated .CMsgServerUserCmd commands = 1;
|
||||||
|
}
|
||||||
126
protos/network_connection.proto
Normal file
126
protos/network_connection.proto
Normal file
|
|
@ -0,0 +1,126 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
extend .google.protobuf.EnumValueOptions {
|
||||||
|
optional string network_connection_token = 50500;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ENetworkDisconnectionReason {
|
||||||
|
NETWORK_DISCONNECT_INVALID = 0;
|
||||||
|
NETWORK_DISCONNECT_SHUTDOWN = 1;
|
||||||
|
NETWORK_DISCONNECT_DISCONNECT_BY_USER = 2 [(network_connection_token) = "#GameUI_Disconnect_User"];
|
||||||
|
NETWORK_DISCONNECT_DISCONNECT_BY_SERVER = 3 [(network_connection_token) = "#GameUI_Disconnect_Server"];
|
||||||
|
NETWORK_DISCONNECT_LOST = 4 [(network_connection_token) = "#GameUI_Disconnect_ConnectionLost"];
|
||||||
|
NETWORK_DISCONNECT_OVERFLOW = 5 [(network_connection_token) = "#GameUI_Disconnect_ConnectionOverflow"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_BANNED = 6 [(network_connection_token) = "#GameUI_Disconnect_SteamIDBanned"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_INUSE = 7 [(network_connection_token) = "#GameUI_Disconnect_SteamIDInUse"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_TICKET = 8 [(network_connection_token) = "#GameUI_Disconnect_SteamTicket"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_LOGON = 9 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_AUTHCANCELLED = 10 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_AUTHALREADYUSED = 11 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_AUTHINVALID = 12 [(network_connection_token) = "#GameUI_Disconnect_SteamLogon"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_VACBANSTATE = 13 [(network_connection_token) = "#GameUI_Disconnect_SteamVAC"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_LOGGED_IN_ELSEWHERE = 14 [(network_connection_token) = "#GameUI_Disconnect_SteamInUse"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_VAC_CHECK_TIMEDOUT = 15 [(network_connection_token) = "#GameUI_Disconnect_SteamTimeOut"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_DROPPED = 16 [(network_connection_token) = "#GameUI_Disconnect_SteamDropped"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_OWNERSHIP = 17 [(network_connection_token) = "#GameUI_Disconnect_SteamOwnership"];
|
||||||
|
NETWORK_DISCONNECT_SERVERINFO_OVERFLOW = 18 [(network_connection_token) = "#GameUI_Disconnect_ServerInfoOverflow"];
|
||||||
|
NETWORK_DISCONNECT_TICKMSG_OVERFLOW = 19 [(network_connection_token) = "#GameUI_Disconnect_TickMessage"];
|
||||||
|
NETWORK_DISCONNECT_STRINGTABLEMSG_OVERFLOW = 20 [(network_connection_token) = "#GameUI_Disconnect_StringTableMessage"];
|
||||||
|
NETWORK_DISCONNECT_DELTAENTMSG_OVERFLOW = 21 [(network_connection_token) = "#GameUI_Disconnect_DeltaEntMessage"];
|
||||||
|
NETWORK_DISCONNECT_TEMPENTMSG_OVERFLOW = 22 [(network_connection_token) = "#GameUI_Disconnect_TempEntMessage"];
|
||||||
|
NETWORK_DISCONNECT_SOUNDSMSG_OVERFLOW = 23 [(network_connection_token) = "#GameUI_Disconnect_SoundsMessage"];
|
||||||
|
NETWORK_DISCONNECT_SNAPSHOTOVERFLOW = 24 [(network_connection_token) = "#GameUI_Disconnect_SnapshotOverflow"];
|
||||||
|
NETWORK_DISCONNECT_SNAPSHOTERROR = 25 [(network_connection_token) = "#GameUI_Disconnect_SnapshotError"];
|
||||||
|
NETWORK_DISCONNECT_RELIABLEOVERFLOW = 26 [(network_connection_token) = "#GameUI_Disconnect_ReliableOverflow"];
|
||||||
|
NETWORK_DISCONNECT_BADDELTATICK = 27 [(network_connection_token) = "#GameUI_Disconnect_BadClientDeltaTick"];
|
||||||
|
NETWORK_DISCONNECT_NOMORESPLITS = 28 [(network_connection_token) = "#GameUI_Disconnect_NoMoreSplits"];
|
||||||
|
NETWORK_DISCONNECT_TIMEDOUT = 29 [(network_connection_token) = "#GameUI_Disconnect_TimedOut"];
|
||||||
|
NETWORK_DISCONNECT_DISCONNECTED = 30 [(network_connection_token) = "#GameUI_Disconnect_Disconnected"];
|
||||||
|
NETWORK_DISCONNECT_LEAVINGSPLIT = 31 [(network_connection_token) = "#GameUI_Disconnect_LeavingSplit"];
|
||||||
|
NETWORK_DISCONNECT_DIFFERENTCLASSTABLES = 32 [(network_connection_token) = "#GameUI_Disconnect_DifferentClassTables"];
|
||||||
|
NETWORK_DISCONNECT_BADRELAYPASSWORD = 33 [(network_connection_token) = "#GameUI_Disconnect_BadRelayPassword"];
|
||||||
|
NETWORK_DISCONNECT_BADSPECTATORPASSWORD = 34 [(network_connection_token) = "#GameUI_Disconnect_BadSpectatorPassword"];
|
||||||
|
NETWORK_DISCONNECT_HLTVRESTRICTED = 35 [(network_connection_token) = "#GameUI_Disconnect_HLTVRestricted"];
|
||||||
|
NETWORK_DISCONNECT_NOSPECTATORS = 36 [(network_connection_token) = "#GameUI_Disconnect_NoSpectators"];
|
||||||
|
NETWORK_DISCONNECT_HLTVUNAVAILABLE = 37 [(network_connection_token) = "#GameUI_Disconnect_HLTVUnavailable"];
|
||||||
|
NETWORK_DISCONNECT_HLTVSTOP = 38 [(network_connection_token) = "#GameUI_Disconnect_HLTVStop"];
|
||||||
|
NETWORK_DISCONNECT_KICKED = 39 [(network_connection_token) = "#GameUI_Disconnect_Kicked"];
|
||||||
|
NETWORK_DISCONNECT_BANADDED = 40 [(network_connection_token) = "#GameUI_Disconnect_BanAdded"];
|
||||||
|
NETWORK_DISCONNECT_KICKBANADDED = 41 [(network_connection_token) = "#GameUI_Disconnect_KickBanAdded"];
|
||||||
|
NETWORK_DISCONNECT_HLTVDIRECT = 42 [(network_connection_token) = "#GameUI_Disconnect_HLTVDirect"];
|
||||||
|
NETWORK_DISCONNECT_PURESERVER_CLIENTEXTRA = 43 [(network_connection_token) = "#GameUI_Disconnect_PureServer_ClientExtra"];
|
||||||
|
NETWORK_DISCONNECT_PURESERVER_MISMATCH = 44 [(network_connection_token) = "#GameUI_Disconnect_PureServer_Mismatch"];
|
||||||
|
NETWORK_DISCONNECT_USERCMD = 45 [(network_connection_token) = "#GameUI_Disconnect_UserCmd"];
|
||||||
|
NETWORK_DISCONNECT_REJECTED_BY_GAME = 46 [(network_connection_token) = "#GameUI_Disconnect_RejectedByGame"];
|
||||||
|
NETWORK_DISCONNECT_MESSAGE_PARSE_ERROR = 47 [(network_connection_token) = "#GameUI_Disconnect_MessageParseError"];
|
||||||
|
NETWORK_DISCONNECT_INVALID_MESSAGE_ERROR = 48 [(network_connection_token) = "#GameUI_Disconnect_InvalidMessageError"];
|
||||||
|
NETWORK_DISCONNECT_BAD_SERVER_PASSWORD = 49 [(network_connection_token) = "#GameUI_Disconnect_BadServerPassword"];
|
||||||
|
NETWORK_DISCONNECT_DIRECT_CONNECT_RESERVATION = 50;
|
||||||
|
NETWORK_DISCONNECT_CONNECTION_FAILURE = 51 [(network_connection_token) = "#GameUI_Disconnect_ConnectionFailure"];
|
||||||
|
NETWORK_DISCONNECT_NO_PEER_GROUP_HANDLERS = 52 [(network_connection_token) = "#GameUI_Disconnect_NoPeerGroupHandlers"];
|
||||||
|
NETWORK_DISCONNECT_RECONNECTION = 53;
|
||||||
|
NETWORK_DISCONNECT_LOOPSHUTDOWN = 54 [(network_connection_token) = "#GameUI_Disconnect_LoopShutdown"];
|
||||||
|
NETWORK_DISCONNECT_LOOPDEACTIVATE = 55 [(network_connection_token) = "#GameUI_Disconnect_LoopDeactivate"];
|
||||||
|
NETWORK_DISCONNECT_HOST_ENDGAME = 56 [(network_connection_token) = "#GameUI_Disconnect_Host_EndGame"];
|
||||||
|
NETWORK_DISCONNECT_LOOP_LEVELLOAD_ACTIVATE = 57 [(network_connection_token) = "#GameUI_Disconnect_LoopLevelLoadActivate"];
|
||||||
|
NETWORK_DISCONNECT_CREATE_SERVER_FAILED = 58 [(network_connection_token) = "#GameUI_Disconnect_CreateServerFailed"];
|
||||||
|
NETWORK_DISCONNECT_EXITING = 59 [(network_connection_token) = "#GameUI_Disconnect_ExitingEngine"];
|
||||||
|
NETWORK_DISCONNECT_REQUEST_HOSTSTATE_IDLE = 60 [(network_connection_token) = "#GameUI_Disconnect_Request_HSIdle"];
|
||||||
|
NETWORK_DISCONNECT_REQUEST_HOSTSTATE_HLTVRELAY = 61 [(network_connection_token) = "#GameUI_Disconnect_Request_HLTVRelay"];
|
||||||
|
NETWORK_DISCONNECT_CLIENT_CONSISTENCY_FAIL = 62 [(network_connection_token) = "#GameUI_ClientConsistencyFail"];
|
||||||
|
NETWORK_DISCONNECT_CLIENT_UNABLE_TO_CRC_MAP = 63 [(network_connection_token) = "#GameUI_ClientUnableToCRCMap"];
|
||||||
|
NETWORK_DISCONNECT_CLIENT_NO_MAP = 64 [(network_connection_token) = "#GameUI_ClientNoMap"];
|
||||||
|
NETWORK_DISCONNECT_CLIENT_DIFFERENT_MAP = 65 [(network_connection_token) = "#GameUI_ClientDifferentMap"];
|
||||||
|
NETWORK_DISCONNECT_SERVER_REQUIRES_STEAM = 66 [(network_connection_token) = "#GameUI_ServerRequireSteams"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_DENY_MISC = 67 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_Misc"];
|
||||||
|
NETWORK_DISCONNECT_STEAM_DENY_BAD_ANTI_CHEAT = 68 [(network_connection_token) = "#GameUI_Disconnect_SteamDeny_BadAntiCheat"];
|
||||||
|
NETWORK_DISCONNECT_SERVER_SHUTDOWN = 69 [(network_connection_token) = "#GameUI_Disconnect_ServerShutdown"];
|
||||||
|
NETWORK_DISCONNECT_REPLAY_INCOMPATIBLE = 71 [(network_connection_token) = "#GameUI_Disconnect_ReplayIncompatible"];
|
||||||
|
NETWORK_DISCONNECT_CONNECT_REQUEST_TIMEDOUT = 72 [(network_connection_token) = "#GameUI_Disconnect_ConnectionTimedout"];
|
||||||
|
NETWORK_DISCONNECT_SERVER_INCOMPATIBLE = 73 [(network_connection_token) = "#GameUI_Disconnect_ServerIncompatible"];
|
||||||
|
NETWORK_DISCONNECT_LOCALPROBLEM_MANYRELAYS = 74 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_ManyRelays"];
|
||||||
|
NETWORK_DISCONNECT_LOCALPROBLEM_HOSTEDSERVERPRIMARYRELAY = 75 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_HostedServerPrimaryRelay"];
|
||||||
|
NETWORK_DISCONNECT_LOCALPROBLEM_NETWORKCONFIG = 76 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_NetworkConfig"];
|
||||||
|
NETWORK_DISCONNECT_LOCALPROBLEM_OTHER = 77 [(network_connection_token) = "#GameUI_Disconnect_LocalProblem_Other"];
|
||||||
|
NETWORK_DISCONNECT_REMOTE_TIMEOUT = 79 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Timeout"];
|
||||||
|
NETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECTING = 80 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_TimeoutConnecting"];
|
||||||
|
NETWORK_DISCONNECT_REMOTE_OTHER = 81 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_Other"];
|
||||||
|
NETWORK_DISCONNECT_REMOTE_BADCRYPT = 82 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCrypt"];
|
||||||
|
NETWORK_DISCONNECT_REMOTE_CERTNOTTRUSTED = 83 [(network_connection_token) = "#GameUI_Disconnect_RemoteProblem_BadCert"];
|
||||||
|
NETWORK_DISCONNECT_UNUSUAL = 84 [(network_connection_token) = "#GameUI_Disconnect_Unusual"];
|
||||||
|
NETWORK_DISCONNECT_INTERNAL_ERROR = 85 [(network_connection_token) = "#GameUI_Disconnect_InternalError"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_BADCHALLENGE = 128 [(network_connection_token) = "#GameUI_ServerRejectBadChallenge"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_NOLOBBY = 129 [(network_connection_token) = "#GameUI_ServerNoLobby"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_BACKGROUND_MAP = 130 [(network_connection_token) = "#Valve_Reject_Background_Map"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_SINGLE_PLAYER = 131 [(network_connection_token) = "#Valve_Reject_Single_Player"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_HIDDEN_GAME = 132 [(network_connection_token) = "#Valve_Reject_Hidden_Game"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_LANRESTRICT = 133 [(network_connection_token) = "#GameUI_ServerRejectLANRestrict"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_BADPASSWORD = 134 [(network_connection_token) = "#GameUI_ServerRejectBadPassword"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_SERVERFULL = 135 [(network_connection_token) = "#GameUI_ServerRejectServerFull"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_INVALIDRESERVATION = 136 [(network_connection_token) = "#GameUI_ServerRejectInvalidReservation"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_FAILEDCHANNEL = 137 [(network_connection_token) = "#GameUI_ServerRejectFailedChannel"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_CONNECT_FROM_LOBBY = 138 [(network_connection_token) = "#Valve_Reject_Connect_From_Lobby"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_RESERVED_FOR_LOBBY = 139 [(network_connection_token) = "#Valve_Reject_Reserved_For_Lobby"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_INVALIDKEYLENGTH = 140 [(network_connection_token) = "#GameUI_ServerReject_InvalidKeyLength"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_OLDPROTOCOL = 141 [(network_connection_token) = "#GameUI_ServerRejectOldProtocol"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_NEWPROTOCOL = 142 [(network_connection_token) = "#GameUI_ServerRejectNewProtocol"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_INVALIDCONNECTION = 143 [(network_connection_token) = "#GameUI_ServerRejectInvalidConnection"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_INVALIDCERTLEN = 144 [(network_connection_token) = "#GameUI_ServerRejectInvalidCertLen"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_INVALIDSTEAMCERTLEN = 145 [(network_connection_token) = "#GameUI_ServerRejectInvalidSteamCertLen"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_STEAM = 146 [(network_connection_token) = "#GameUI_ServerRejectSteam"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_SERVERAUTHDISABLED = 147 [(network_connection_token) = "#GameUI_ServerAuthDisabled"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_SERVERCDKEYAUTHINVALID = 148 [(network_connection_token) = "#GameUI_ServerCDKeyAuthInvalid"];
|
||||||
|
NETWORK_DISCONNECT_REJECT_BANNED = 149 [(network_connection_token) = "#GameUI_ServerRejectBanned"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_TEAMKILLING = 150 [(network_connection_token) = "#Player_DisconnectReason_TeamKilling"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_TK_START = 151 [(network_connection_token) = "#Player_DisconnectReason_TK_Start"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_UNTRUSTEDACCOUNT = 152 [(network_connection_token) = "#Player_DisconnectReason_UntrustedAccount"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_CONVICTEDACCOUNT = 153 [(network_connection_token) = "#Player_DisconnectReason_ConvictedAccount"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_COMPETITIVECOOLDOWN = 154 [(network_connection_token) = "#Player_DisconnectReason_CompetitiveCooldown"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_TEAMHURTING = 155 [(network_connection_token) = "#Player_DisconnectReason_TeamHurting"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_HOSTAGEKILLING = 156 [(network_connection_token) = "#Player_DisconnectReason_HostageKilling"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_VOTEDOFF = 157 [(network_connection_token) = "#Player_DisconnectReason_VotedOff"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_IDLE = 158 [(network_connection_token) = "#Player_DisconnectReason_Idle"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_SUICIDE = 159 [(network_connection_token) = "#Player_DisconnectReason_Suicide"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_NOSTEAMLOGIN = 160 [(network_connection_token) = "#Player_DisconnectReason_NoSteamLogin"];
|
||||||
|
NETWORK_DISCONNECT_KICKED_NOSTEAMTICKET = 161 [(network_connection_token) = "#Player_DisconnectReason_NoSteamTicket"];
|
||||||
|
}
|
||||||
242
protos/networkbasetypes.proto
Normal file
242
protos/networkbasetypes.proto
Normal file
|
|
@ -0,0 +1,242 @@
|
||||||
|
import "network_connection.proto";
|
||||||
|
|
||||||
|
enum SignonState_t {
|
||||||
|
SIGNONSTATE_NONE = 0;
|
||||||
|
SIGNONSTATE_CHALLENGE = 1;
|
||||||
|
SIGNONSTATE_CONNECTED = 2;
|
||||||
|
SIGNONSTATE_NEW = 3;
|
||||||
|
SIGNONSTATE_PRESPAWN = 4;
|
||||||
|
SIGNONSTATE_SPAWN = 5;
|
||||||
|
SIGNONSTATE_FULL = 6;
|
||||||
|
SIGNONSTATE_CHANGELEVEL = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum NET_Messages {
|
||||||
|
net_NOP = 0;
|
||||||
|
net_Disconnect_Legacy = 1;
|
||||||
|
net_SplitScreenUser = 3;
|
||||||
|
net_Tick = 4;
|
||||||
|
net_StringCmd = 5;
|
||||||
|
net_SetConVar = 6;
|
||||||
|
net_SignonState = 7;
|
||||||
|
net_SpawnGroup_Load = 8;
|
||||||
|
net_SpawnGroup_ManifestUpdate = 9;
|
||||||
|
net_SpawnGroup_SetCreationTick = 11;
|
||||||
|
net_SpawnGroup_Unload = 12;
|
||||||
|
net_SpawnGroup_LoadCompleted = 13;
|
||||||
|
net_DebugOverlay = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum SpawnGroupFlags_t {
|
||||||
|
SPAWN_GROUP_LOAD_ENTITIES_FROM_SAVE = 1;
|
||||||
|
SPAWN_GROUP_DONT_SPAWN_ENTITIES = 2;
|
||||||
|
SPAWN_GROUP_SYNCHRONOUS_SPAWN = 4;
|
||||||
|
SPAWN_GROUP_IS_INITIAL_SPAWN_GROUP = 8;
|
||||||
|
SPAWN_GROUP_CREATE_CLIENT_ONLY_ENTITIES = 16;
|
||||||
|
SPAWN_GROUP_BLOCK_UNTIL_LOADED = 64;
|
||||||
|
SPAWN_GROUP_LOAD_STREAMING_DATA = 128;
|
||||||
|
SPAWN_GROUP_CREATE_NEW_SCENE_WORLD = 256;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgVector {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
optional float z = 3;
|
||||||
|
optional float w = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgVector2D {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgQAngle {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
optional float z = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgQuaternion {
|
||||||
|
optional float x = 1;
|
||||||
|
optional float y = 2;
|
||||||
|
optional float z = 3;
|
||||||
|
optional float w = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTransform {
|
||||||
|
optional .CMsgVector position = 1;
|
||||||
|
optional float scale = 2;
|
||||||
|
optional .CMsgQuaternion orientation = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgRGBA {
|
||||||
|
optional int32 r = 1;
|
||||||
|
optional int32 g = 2;
|
||||||
|
optional int32 b = 3;
|
||||||
|
optional int32 a = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgPlayerInfo {
|
||||||
|
optional string name = 1;
|
||||||
|
optional fixed64 xuid = 2;
|
||||||
|
optional int32 userid = 3;
|
||||||
|
optional fixed64 steamid = 4;
|
||||||
|
optional bool fakeplayer = 5;
|
||||||
|
optional bool ishltv = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMsg {
|
||||||
|
optional uint32 target_entity = 1 [default = 16777215];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsg_CVars {
|
||||||
|
message CVar {
|
||||||
|
optional string name = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsg_CVars.CVar cvars = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_NOP {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SplitScreenUser {
|
||||||
|
optional int32 slot = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_Tick {
|
||||||
|
optional uint32 tick = 1;
|
||||||
|
optional uint32 host_frametime = 2;
|
||||||
|
optional uint32 host_frametime_std_deviation = 3;
|
||||||
|
optional uint32 host_computationtime = 4;
|
||||||
|
optional uint32 host_computationtime_std_deviation = 5;
|
||||||
|
optional uint32 host_framestarttime_std_deviation = 6;
|
||||||
|
optional uint32 host_loss = 7;
|
||||||
|
optional uint32 host_unfiltered_frametime = 8;
|
||||||
|
optional uint32 hltv_replay_flags = 9;
|
||||||
|
optional uint32 expected_long_tick = 10;
|
||||||
|
optional string expected_long_tick_reason = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_StringCmd {
|
||||||
|
optional string command = 1;
|
||||||
|
optional uint32 prediction_sync = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SetConVar {
|
||||||
|
optional .CMsg_CVars convars = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SignonState {
|
||||||
|
optional .SignonState_t signon_state = 1 [default = SIGNONSTATE_NONE];
|
||||||
|
optional uint32 spawn_count = 2;
|
||||||
|
optional uint32 num_server_players = 3;
|
||||||
|
repeated string players_networkids = 4;
|
||||||
|
optional string map_name = 5;
|
||||||
|
optional string addons = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_GameEvent {
|
||||||
|
message key_t {
|
||||||
|
optional int32 type = 1;
|
||||||
|
optional string val_string = 2;
|
||||||
|
optional float val_float = 3;
|
||||||
|
optional int32 val_long = 4;
|
||||||
|
optional int32 val_short = 5;
|
||||||
|
optional int32 val_byte = 6;
|
||||||
|
optional bool val_bool = 7;
|
||||||
|
optional uint64 val_uint64 = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string event_name = 1;
|
||||||
|
optional int32 eventid = 2;
|
||||||
|
repeated .CSVCMsg_GameEvent.key_t keys = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsgList_GameEvents {
|
||||||
|
message event_t {
|
||||||
|
optional int32 tick = 1;
|
||||||
|
optional .CSVCMsg_GameEvent event = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CSVCMsgList_GameEvents.event_t events = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SpawnGroup_Load {
|
||||||
|
optional string worldname = 1;
|
||||||
|
optional string entitylumpname = 2;
|
||||||
|
optional string entityfiltername = 3;
|
||||||
|
optional uint32 spawngrouphandle = 4;
|
||||||
|
optional uint32 spawngroupownerhandle = 5;
|
||||||
|
optional .CMsgVector world_offset_pos = 6;
|
||||||
|
optional .CMsgQAngle world_offset_angle = 7;
|
||||||
|
optional bytes spawngroupmanifest = 8;
|
||||||
|
optional uint32 flags = 9;
|
||||||
|
optional int32 tickcount = 10;
|
||||||
|
optional bool manifestincomplete = 11;
|
||||||
|
optional string localnamefixup = 12;
|
||||||
|
optional string parentnamefixup = 13;
|
||||||
|
optional int32 manifestloadpriority = 14;
|
||||||
|
optional uint32 worldgroupid = 15;
|
||||||
|
optional uint32 creationsequence = 16;
|
||||||
|
optional string savegamefilename = 17;
|
||||||
|
optional uint32 spawngroupparenthandle = 18;
|
||||||
|
optional bool leveltransition = 19;
|
||||||
|
optional string worldgroupname = 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SpawnGroup_ManifestUpdate {
|
||||||
|
optional uint32 spawngrouphandle = 1;
|
||||||
|
optional bytes spawngroupmanifest = 2;
|
||||||
|
optional bool manifestincomplete = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SpawnGroup_SetCreationTick {
|
||||||
|
optional uint32 spawngrouphandle = 1;
|
||||||
|
optional int32 tickcount = 2;
|
||||||
|
optional uint32 creationsequence = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SpawnGroup_Unload {
|
||||||
|
optional uint32 spawngrouphandle = 1;
|
||||||
|
optional uint32 flags = 2;
|
||||||
|
optional int32 tickcount = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_SpawnGroup_LoadCompleted {
|
||||||
|
optional uint32 spawngrouphandle = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSVCMsg_GameSessionConfiguration {
|
||||||
|
optional bool is_multiplayer = 1;
|
||||||
|
optional bool is_loadsavegame = 2;
|
||||||
|
optional bool is_background_map = 3;
|
||||||
|
optional bool is_headless = 4;
|
||||||
|
optional uint32 min_client_limit = 5;
|
||||||
|
optional uint32 max_client_limit = 6;
|
||||||
|
optional uint32 max_clients = 7;
|
||||||
|
optional fixed32 tick_interval = 8;
|
||||||
|
optional string hostname = 9;
|
||||||
|
optional string savegamename = 10;
|
||||||
|
optional string s1_mapname = 11;
|
||||||
|
optional string gamemode = 12;
|
||||||
|
optional string server_ip_address = 13;
|
||||||
|
optional bytes data = 14;
|
||||||
|
optional bool is_localonly = 15;
|
||||||
|
optional bool no_steam_server = 19;
|
||||||
|
optional bool is_transition = 16;
|
||||||
|
optional string previouslevel = 17;
|
||||||
|
optional string landmarkname = 18;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CNETMsg_DebugOverlay {
|
||||||
|
optional int32 etype = 1;
|
||||||
|
repeated .CMsgVector vectors = 2;
|
||||||
|
repeated .CMsgRGBA colors = 3;
|
||||||
|
repeated float dimensions = 4;
|
||||||
|
repeated float times = 5;
|
||||||
|
repeated bool bools = 6;
|
||||||
|
repeated uint64 uint64s = 7;
|
||||||
|
repeated string strings = 8;
|
||||||
|
}
|
||||||
17
protos/networksystem_protomessages.proto
Normal file
17
protos/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 {
|
||||||
|
}
|
||||||
65
protos/steamdatagram_messages_auth.proto
Normal file
65
protos/steamdatagram_messages_auth.proto
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
import "steamnetworkingsockets_messages_certs.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
message CMsgSteamDatagramRelayAuthTicket {
|
||||||
|
message ExtraField {
|
||||||
|
optional string name = 1;
|
||||||
|
optional string string_value = 2;
|
||||||
|
optional sint64 int64_value = 3;
|
||||||
|
optional fixed64 fixed64_value = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 time_expiry = 1;
|
||||||
|
optional string authorized_client_identity_string = 14;
|
||||||
|
optional string gameserver_identity_string = 15;
|
||||||
|
optional fixed32 authorized_public_ip = 3;
|
||||||
|
optional bytes gameserver_address = 11;
|
||||||
|
optional uint32 app_id = 7;
|
||||||
|
optional uint32 virtual_port = 10;
|
||||||
|
repeated .CMsgSteamDatagramRelayAuthTicket.ExtraField extra_fields = 8;
|
||||||
|
optional fixed64 legacy_authorized_steam_id = 2;
|
||||||
|
optional fixed64 legacy_gameserver_steam_id = 4;
|
||||||
|
optional fixed32 legacy_gameserver_pop_id = 9;
|
||||||
|
optional bytes legacy_authorized_client_identity_binary = 12;
|
||||||
|
optional bytes legacy_gameserver_identity_binary = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSignedRelayAuthTicket {
|
||||||
|
optional fixed64 reserved_do_not_use = 1;
|
||||||
|
optional bytes ticket = 3;
|
||||||
|
optional bytes signature = 4;
|
||||||
|
optional fixed64 key_id = 2;
|
||||||
|
repeated .CMsgSteamDatagramCertificateSigned certs = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramCachedCredentialsForApp {
|
||||||
|
optional bytes private_key = 1;
|
||||||
|
optional bytes cert = 2;
|
||||||
|
repeated bytes relay_tickets = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameCoordinatorServerLogin {
|
||||||
|
optional uint32 time_generated = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
optional bytes routing = 3;
|
||||||
|
optional bytes appdata = 4;
|
||||||
|
optional bytes legacy_identity_binary = 5;
|
||||||
|
optional string identity_string = 6;
|
||||||
|
optional fixed64 dummy_steam_id = 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSignedGameCoordinatorServerLogin {
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 1;
|
||||||
|
optional bytes login = 2;
|
||||||
|
optional bytes signature = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramHostedServerAddressPlaintext {
|
||||||
|
optional fixed32 ipv4 = 1;
|
||||||
|
optional bytes ipv6 = 2;
|
||||||
|
optional uint32 port = 3;
|
||||||
|
optional fixed64 routing_secret = 4;
|
||||||
|
optional uint32 protocol_version = 5;
|
||||||
|
}
|
||||||
534
protos/steamdatagram_messages_sdr.proto
Normal file
534
protos/steamdatagram_messages_sdr.proto
Normal file
|
|
@ -0,0 +1,534 @@
|
||||||
|
import "steamnetworkingsockets_messages_certs.proto";
|
||||||
|
import "steamnetworkingsockets_messages.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
enum ESteamDatagramMsgID {
|
||||||
|
k_ESteamDatagramMsg_Invalid = 0;
|
||||||
|
k_ESteamDatagramMsg_RouterPingRequest = 1;
|
||||||
|
k_ESteamDatagramMsg_RouterPingReply = 2;
|
||||||
|
k_ESteamDatagramMsg_GameserverPingRequest = 3;
|
||||||
|
k_ESteamDatagramMsg_GameserverSessionRequest = 5;
|
||||||
|
k_ESteamDatagramMsg_GameserverSessionEstablished = 6;
|
||||||
|
k_ESteamDatagramMsg_NoSession = 7;
|
||||||
|
k_ESteamDatagramMsg_Diagnostic = 8;
|
||||||
|
k_ESteamDatagramMsg_DataClientToRouter = 9;
|
||||||
|
k_ESteamDatagramMsg_DataRouterToServer = 10;
|
||||||
|
k_ESteamDatagramMsg_DataServerToRouter = 11;
|
||||||
|
k_ESteamDatagramMsg_DataRouterToClient = 12;
|
||||||
|
k_ESteamDatagramMsg_Stats = 13;
|
||||||
|
k_ESteamDatagramMsg_ClientPingSampleRequest = 14;
|
||||||
|
k_ESteamDatagramMsg_ClientPingSampleReply = 15;
|
||||||
|
k_ESteamDatagramMsg_ClientToRouterSwitchedPrimary = 16;
|
||||||
|
k_ESteamDatagramMsg_RelayHealth = 17;
|
||||||
|
k_ESteamDatagramMsg_ConnectRequest = 18;
|
||||||
|
k_ESteamDatagramMsg_ConnectOK = 19;
|
||||||
|
k_ESteamDatagramMsg_ConnectionClosed = 20;
|
||||||
|
k_ESteamDatagramMsg_NoConnection = 21;
|
||||||
|
k_ESteamDatagramMsg_TicketDecryptRequest = 22;
|
||||||
|
k_ESteamDatagramMsg_TicketDecryptReply = 23;
|
||||||
|
k_ESteamDatagramMsg_P2PSessionRequest = 24;
|
||||||
|
k_ESteamDatagramMsg_P2PSessionEstablished = 25;
|
||||||
|
k_ESteamDatagramMsg_P2PStatsClient = 26;
|
||||||
|
k_ESteamDatagramMsg_P2PStatsRelay = 27;
|
||||||
|
k_ESteamDatagramMsg_P2PBadRoute = 28;
|
||||||
|
k_ESteamDatagramMsg_GameserverPingReply = 29;
|
||||||
|
k_ESteamDatagramMsg_LegacyGameserverRegistration = 30;
|
||||||
|
k_ESteamDatagramMsg_SetSecondaryAddressRequest = 31;
|
||||||
|
k_ESteamDatagramMsg_SetSecondaryAddressResult = 32;
|
||||||
|
k_ESteamDatagramMsg_RelayToRelayPingRequest = 33;
|
||||||
|
k_ESteamDatagramMsg_RelayToRelayPingReply = 34;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamNetworkingIPAddress {
|
||||||
|
optional fixed32 v4 = 1;
|
||||||
|
optional bytes v6 = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSignedMessageGeneric {
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 1;
|
||||||
|
optional bytes signed_data = 2;
|
||||||
|
optional bytes signature = 3;
|
||||||
|
optional bytes dummy_pad = 1023;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramRouterPingReply {
|
||||||
|
message RouteException {
|
||||||
|
optional fixed32 data_center_id = 1;
|
||||||
|
optional uint32 flags = 2;
|
||||||
|
optional uint32 penalty = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message AltAddress {
|
||||||
|
enum Protocol {
|
||||||
|
DefaultProtocol = 0;
|
||||||
|
NetworkNext = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 ipv4 = 1;
|
||||||
|
optional uint32 port = 2;
|
||||||
|
optional uint32 penalty = 3;
|
||||||
|
optional .CMsgSteamDatagramRouterPingReply.AltAddress.Protocol protocol = 4 [default = DefaultProtocol];
|
||||||
|
optional string id = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum Flags {
|
||||||
|
FLAG_MAYBE_MORE_DATA_CENTERS = 1;
|
||||||
|
FLAG_MAYBE_MORE_ALT_ADDRESSES = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 client_timestamp = 1;
|
||||||
|
repeated fixed32 latency_datacenter_ids = 2 [packed = true];
|
||||||
|
repeated uint32 latency_ping_ms = 3 [packed = true];
|
||||||
|
repeated fixed32 latency_datacenter_ids_p2p = 14 [packed = true];
|
||||||
|
repeated uint32 latency_ping_ms_p2p = 15 [packed = true];
|
||||||
|
optional fixed32 your_public_ip = 4;
|
||||||
|
optional fixed32 your_public_port = 11;
|
||||||
|
optional fixed32 server_time = 5;
|
||||||
|
optional fixed64 challenge = 6;
|
||||||
|
optional uint32 seconds_until_shutdown = 7;
|
||||||
|
optional fixed32 client_cookie = 8;
|
||||||
|
optional uint32 scoring_penalty_relay_cluster = 9;
|
||||||
|
optional uint32 flags = 12;
|
||||||
|
repeated .CMsgSteamDatagramRouterPingReply.RouteException route_exceptions = 10;
|
||||||
|
repeated .CMsgSteamDatagramRouterPingReply.AltAddress alt_addresses = 13;
|
||||||
|
optional bytes dummy_pad = 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameserverPingRequestBody {
|
||||||
|
optional fixed32 relay_popid = 1;
|
||||||
|
optional .CMsgSteamNetworkingIPAddress your_public_ip = 2;
|
||||||
|
optional uint32 your_public_port = 3;
|
||||||
|
optional uint64 relay_unix_time = 4;
|
||||||
|
optional fixed64 routing_secret = 5;
|
||||||
|
repeated .CMsgSteamNetworkingIPAddress my_ips = 6;
|
||||||
|
optional bytes echo = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameserverPingRequestEnvelope {
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 6;
|
||||||
|
optional bytes signed_data = 7;
|
||||||
|
optional bytes signature = 8;
|
||||||
|
optional fixed32 legacy_your_public_ip = 1;
|
||||||
|
optional fixed32 legacy_your_public_port = 5;
|
||||||
|
optional fixed32 legacy_relay_unix_time = 2;
|
||||||
|
optional fixed64 legacy_challenge = 3;
|
||||||
|
optional fixed32 legacy_router_timestamp = 4;
|
||||||
|
optional bytes dummy_pad = 1023;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameserverPingReplyData {
|
||||||
|
optional fixed32 echo_relay_unix_time = 2;
|
||||||
|
optional bytes echo = 8;
|
||||||
|
optional fixed64 legacy_challenge = 3;
|
||||||
|
optional fixed32 legacy_router_timestamp = 4;
|
||||||
|
optional fixed32 data_center_id = 5;
|
||||||
|
optional uint32 appid = 6;
|
||||||
|
optional uint32 protocol_version = 7;
|
||||||
|
optional string build = 9;
|
||||||
|
optional uint64 network_config_version = 10;
|
||||||
|
optional fixed32 my_unix_time = 11;
|
||||||
|
optional bytes routing_blob = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramNoSessionRelayToClient {
|
||||||
|
optional fixed32 connection_id = 7;
|
||||||
|
optional fixed32 your_public_ip = 2;
|
||||||
|
optional fixed32 your_public_port = 6;
|
||||||
|
optional fixed32 server_time = 3;
|
||||||
|
optional fixed64 challenge = 4;
|
||||||
|
optional uint32 seconds_until_shutdown = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramNoSessionRelayToPeer {
|
||||||
|
optional uint32 legacy_relay_session_id = 1;
|
||||||
|
optional fixed32 from_relay_session_id = 2;
|
||||||
|
optional fixed32 from_connection_id = 7;
|
||||||
|
optional fixed64 kludge_pad = 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramClientPingSampleRequest {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramClientPingSampleReply {
|
||||||
|
message POP {
|
||||||
|
message AltAddress {
|
||||||
|
optional string id = 1;
|
||||||
|
optional uint32 front_ping_ms = 2;
|
||||||
|
optional uint32 penalty = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 pop_id = 1;
|
||||||
|
optional uint32 default_front_ping_ms = 2;
|
||||||
|
optional uint32 cluster_penalty = 4;
|
||||||
|
repeated .CMsgSteamDatagramClientPingSampleReply.POP.AltAddress alt_addresses = 7;
|
||||||
|
optional uint32 default_e2e_ping_ms = 3;
|
||||||
|
optional uint32 default_e2e_score = 5;
|
||||||
|
optional fixed32 p2p_via_peer_relay_pop_id = 6;
|
||||||
|
optional uint32 best_dc_ping_ms = 9;
|
||||||
|
optional uint32 best_dc_score = 10;
|
||||||
|
optional fixed32 best_dc_via_relay_pop_id = 11;
|
||||||
|
optional uint32 default_dc_ping_ms = 12;
|
||||||
|
optional uint32 default_dc_score = 13;
|
||||||
|
optional fixed32 default_dc_via_relay_pop_id = 14;
|
||||||
|
optional uint32 test_dc_ping_ms = 15;
|
||||||
|
optional uint32 test_dc_score = 16;
|
||||||
|
optional fixed32 test_dc_via_relay_pop_id = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message LegacyDataCenter {
|
||||||
|
optional fixed32 data_center_id = 1;
|
||||||
|
optional fixed32 best_dc_via_relay_pop_id = 2;
|
||||||
|
optional uint32 best_dc_ping_ms = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional bool relay_override_active = 5;
|
||||||
|
repeated .CMsgSteamDatagramClientPingSampleReply.POP pops = 2;
|
||||||
|
repeated .CMsgSteamDatagramClientPingSampleReply.LegacyDataCenter legacy_data_centers = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramClientSwitchedPrimary {
|
||||||
|
message RouterQuality {
|
||||||
|
optional uint32 score = 1;
|
||||||
|
optional uint32 front_ping = 2;
|
||||||
|
optional uint32 back_ping = 3;
|
||||||
|
optional uint32 seconds_until_down = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional fixed32 from_ip = 2;
|
||||||
|
optional uint32 from_port = 3;
|
||||||
|
optional fixed32 from_router_cluster = 4;
|
||||||
|
optional uint32 from_active_time = 5;
|
||||||
|
optional uint32 from_active_packets_recv = 6;
|
||||||
|
optional string from_dropped_reason = 7;
|
||||||
|
optional uint32 gap_ms = 8;
|
||||||
|
optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_now = 9;
|
||||||
|
optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_now = 10;
|
||||||
|
optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality from_quality_then = 11;
|
||||||
|
optional .CMsgSteamDatagramClientSwitchedPrimary.RouterQuality to_quality_then = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectRequest {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional fixed64 my_timestamp = 4;
|
||||||
|
optional uint32 ping_est_ms = 5;
|
||||||
|
optional uint32 virtual_port = 9;
|
||||||
|
optional uint32 gameserver_relay_session_id = 2;
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 7;
|
||||||
|
optional fixed64 routing_secret = 10;
|
||||||
|
optional fixed64 legacy_client_steam_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectOK {
|
||||||
|
optional fixed32 client_connection_id = 1;
|
||||||
|
optional fixed32 server_connection_id = 7;
|
||||||
|
optional fixed64 your_timestamp = 3;
|
||||||
|
optional uint32 delay_time_usec = 4;
|
||||||
|
optional uint32 gameserver_relay_session_id = 2;
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamNetworkingP2PSDRRoutingSummary {
|
||||||
|
optional uint32 initial_ping = 1;
|
||||||
|
optional uint32 initial_ping_front_local = 2;
|
||||||
|
optional uint32 initial_ping_front_remote = 3;
|
||||||
|
optional uint32 initial_score = 4;
|
||||||
|
optional fixed32 initial_pop_local = 5;
|
||||||
|
optional fixed32 initial_pop_remote = 6;
|
||||||
|
optional uint32 best_ping = 11;
|
||||||
|
optional uint32 best_ping_front_local = 12;
|
||||||
|
optional uint32 best_ping_front_remote = 13;
|
||||||
|
optional uint32 best_score = 14;
|
||||||
|
optional fixed32 best_pop_local = 15;
|
||||||
|
optional fixed32 best_pop_remote = 16;
|
||||||
|
optional uint32 best_time = 17;
|
||||||
|
optional uint32 negotiation_ms = 7;
|
||||||
|
optional uint32 selected_seconds = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PRoutingSummary {
|
||||||
|
optional .CMsgSteamNetworkingICESessionSummary ice = 2;
|
||||||
|
optional .CMsgSteamNetworkingP2PSDRRoutingSummary sdr = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionClosed {
|
||||||
|
enum ERelayMode {
|
||||||
|
None = 0;
|
||||||
|
EndToEnd = 1;
|
||||||
|
ClosedByPeer = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 to_connection_id = 7;
|
||||||
|
optional fixed32 from_connection_id = 8;
|
||||||
|
optional string from_identity_string = 15;
|
||||||
|
optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_from_identity_binary = 13;
|
||||||
|
optional fixed64 legacy_from_steam_id = 3;
|
||||||
|
optional uint32 legacy_gameserver_relay_session_id = 2;
|
||||||
|
optional fixed32 to_relay_session_id = 9;
|
||||||
|
optional fixed32 from_relay_session_id = 10;
|
||||||
|
optional bytes forward_target_relay_routing_token = 11;
|
||||||
|
optional uint32 forward_target_revision = 12;
|
||||||
|
optional .CMsgSteamDatagramConnectionClosed.ERelayMode relay_mode = 4 [default = None];
|
||||||
|
optional string debug = 5;
|
||||||
|
optional uint32 reason_code = 6;
|
||||||
|
optional fixed64 routing_secret = 14;
|
||||||
|
optional bool not_primary_session = 16;
|
||||||
|
optional bool not_primary_transport = 19;
|
||||||
|
optional bool relay_override_active = 22;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 17;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 18;
|
||||||
|
optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 21;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramNoConnection {
|
||||||
|
optional fixed32 to_connection_id = 5;
|
||||||
|
optional fixed32 from_connection_id = 6;
|
||||||
|
optional uint32 legacy_gameserver_relay_session_id = 2;
|
||||||
|
optional fixed32 to_relay_session_id = 9;
|
||||||
|
optional fixed32 from_relay_session_id = 10;
|
||||||
|
optional string from_identity_string = 7;
|
||||||
|
optional fixed64 legacy_from_steam_id = 3;
|
||||||
|
optional bool end_to_end = 4;
|
||||||
|
optional bool not_primary_session = 12;
|
||||||
|
optional bool not_primary_transport = 15;
|
||||||
|
optional bool relay_override_active = 17;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 13;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 14;
|
||||||
|
optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 16;
|
||||||
|
optional fixed64 routing_secret = 11;
|
||||||
|
optional fixed32 dummy_pad = 1023;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameserverSessionRequest {
|
||||||
|
optional bytes ticket = 1;
|
||||||
|
optional fixed32 challenge_time = 3;
|
||||||
|
optional fixed64 challenge = 4;
|
||||||
|
optional fixed32 client_connection_id = 5;
|
||||||
|
optional fixed32 server_connection_id = 8;
|
||||||
|
optional uint64 network_config_version = 6;
|
||||||
|
optional uint32 protocol_version = 7;
|
||||||
|
optional string platform = 9;
|
||||||
|
optional string build = 10;
|
||||||
|
optional string dev_gameserver_identity = 100;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned dev_client_cert = 101;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramGameserverSessionEstablished {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional string gameserver_identity_string = 2;
|
||||||
|
optional uint32 seconds_until_shutdown = 4;
|
||||||
|
optional uint32 seq_num_r2c = 6;
|
||||||
|
optional bytes dummy_legacy_identity_binary = 7;
|
||||||
|
optional fixed64 legacy_gameserver_steamid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsClientToRouter {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
NOT_PRIMARY_SESSION = 8;
|
||||||
|
CLIENT_RELAY_OVERRIDE = 32;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
repeated fixed32 ack_relay = 4;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 5;
|
||||||
|
optional uint32 flags = 6;
|
||||||
|
optional fixed32 client_connection_id = 8;
|
||||||
|
optional uint32 seq_num_c2r = 9;
|
||||||
|
optional uint32 seq_num_e2e = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsRouterToClient {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
optional uint32 seconds_until_shutdown = 6;
|
||||||
|
optional fixed32 migrate_request_ip = 10;
|
||||||
|
optional uint32 migrate_request_port = 11;
|
||||||
|
optional uint32 scoring_penalty_relay_cluster = 12;
|
||||||
|
repeated fixed32 ack_relay = 13;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 14;
|
||||||
|
optional uint32 flags = 15;
|
||||||
|
optional fixed32 client_connection_id = 7;
|
||||||
|
optional uint32 seq_num_r2c = 8;
|
||||||
|
optional uint32 seq_num_e2e = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsRouterToServer {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
repeated fixed32 ack_relay = 10;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 11;
|
||||||
|
optional uint32 flags = 12;
|
||||||
|
optional uint32 seq_num_r2s = 5;
|
||||||
|
optional uint32 seq_num_e2e = 6;
|
||||||
|
optional string client_identity_string = 15;
|
||||||
|
optional fixed64 legacy_client_steam_id = 7;
|
||||||
|
optional uint32 relay_session_id = 8;
|
||||||
|
optional fixed32 client_connection_id = 9;
|
||||||
|
optional fixed32 server_connection_id = 13;
|
||||||
|
optional fixed64 routing_secret = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsServerToRouter {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
repeated fixed32 ack_relay = 8;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 9;
|
||||||
|
optional uint32 flags = 10;
|
||||||
|
optional uint32 seq_num_s2r = 3;
|
||||||
|
optional uint32 seq_num_e2e = 4;
|
||||||
|
optional uint32 relay_session_id = 6;
|
||||||
|
optional fixed32 client_connection_id = 7;
|
||||||
|
optional fixed32 server_connection_id = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PSessionRequestBody {
|
||||||
|
message EncryptedData {
|
||||||
|
optional string peer_identity_string = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 challenge_time = 1;
|
||||||
|
optional fixed64 challenge = 2;
|
||||||
|
optional fixed32 client_connection_id = 3;
|
||||||
|
optional fixed64 legacy_peer_steam_id = 4;
|
||||||
|
optional string peer_identity_string = 11;
|
||||||
|
optional fixed32 peer_connection_id = 5;
|
||||||
|
optional bytes encrypted_data = 14;
|
||||||
|
optional uint32 encryption_your_public_key_lead_byte = 15;
|
||||||
|
optional bytes encryption_my_ephemeral_public_key = 16;
|
||||||
|
optional uint32 protocol_version = 8;
|
||||||
|
optional uint64 network_config_version = 9;
|
||||||
|
optional string platform = 12;
|
||||||
|
optional string build = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PSessionRequest {
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 1;
|
||||||
|
optional bytes body = 2;
|
||||||
|
optional bytes signature = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PSessionEstablished {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional uint32 seconds_until_shutdown = 3;
|
||||||
|
optional bytes relay_routing_token = 4;
|
||||||
|
optional uint32 seq_num_r2c = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsP2PClientToRouter {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
NOT_PRIMARY_SESSION = 8;
|
||||||
|
NOT_PRIMARY_TRANSPORT_E2E = 16;
|
||||||
|
CLIENT_RELAY_OVERRIDE = 32;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing_summary = 14;
|
||||||
|
repeated fixed32 ack_relay = 3;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 4;
|
||||||
|
optional uint32 flags = 5;
|
||||||
|
optional bytes forward_target_relay_routing_token = 6;
|
||||||
|
optional uint32 forward_target_revision = 7;
|
||||||
|
optional bytes routes = 8;
|
||||||
|
optional uint32 ack_peer_routes_revision = 9;
|
||||||
|
optional fixed32 connection_id = 10;
|
||||||
|
optional uint32 seq_num_c2r = 11;
|
||||||
|
optional uint32 seq_num_e2e = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionStatsP2PRouterToClient {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_RELAY = 1;
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
NOT_PRIMARY_TRANSPORT_E2E = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_relay = 1;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality quality_e2e = 2;
|
||||||
|
optional uint32 seconds_until_shutdown = 3;
|
||||||
|
optional fixed32 migrate_request_ip = 4;
|
||||||
|
optional uint32 migrate_request_port = 5;
|
||||||
|
optional uint32 scoring_penalty_relay_cluster = 6;
|
||||||
|
repeated fixed32 ack_relay = 7;
|
||||||
|
repeated fixed32 legacy_ack_e2e = 8;
|
||||||
|
optional uint32 flags = 9;
|
||||||
|
optional uint32 ack_forward_target_revision = 10;
|
||||||
|
optional bytes routes = 11;
|
||||||
|
optional uint32 ack_peer_routes_revision = 12;
|
||||||
|
optional fixed32 connection_id = 13;
|
||||||
|
optional uint32 seq_num_r2c = 14;
|
||||||
|
optional uint32 seq_num_e2e = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PBadRouteRouterToClient {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional bytes failed_relay_routing_token = 2;
|
||||||
|
optional uint32 ack_forward_target_revision = 3;
|
||||||
|
optional fixed64 kludge_pad = 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramP2PRoutes {
|
||||||
|
message RelayCluster {
|
||||||
|
optional fixed32 pop_id = 1;
|
||||||
|
optional uint32 ping_ms = 2;
|
||||||
|
optional uint32 score_penalty = 3;
|
||||||
|
optional bytes session_relay_routing_token = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Route {
|
||||||
|
optional fixed32 my_pop_id = 1;
|
||||||
|
optional fixed32 your_pop_id = 2;
|
||||||
|
optional uint32 legacy_score = 3;
|
||||||
|
optional uint32 interior_score = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CMsgSteamDatagramP2PRoutes.RelayCluster relay_clusters = 1;
|
||||||
|
repeated .CMsgSteamDatagramP2PRoutes.Route routes = 2;
|
||||||
|
optional uint32 revision = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSetSecondaryAddressRequest {
|
||||||
|
optional fixed32 client_main_ip = 1;
|
||||||
|
optional fixed32 client_main_port = 2;
|
||||||
|
optional fixed32 client_connection_id = 3;
|
||||||
|
optional string client_identity = 4;
|
||||||
|
optional bool request_send_duplication = 5;
|
||||||
|
optional bytes kludge_pad = 99;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSetSecondaryAddressResult {
|
||||||
|
optional bool success = 1;
|
||||||
|
optional string message = 2;
|
||||||
|
}
|
||||||
108
protos/steammessages.proto
Normal file
108
protos/steammessages.proto
Normal file
|
|
@ -0,0 +1,108 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
extend .google.protobuf.FieldOptions {
|
||||||
|
optional bool key_field = 60000 [default = false];
|
||||||
|
}
|
||||||
|
|
||||||
|
extend .google.protobuf.MessageOptions {
|
||||||
|
optional int32 msgpool_soft_limit = 60000 [default = 32];
|
||||||
|
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 {
|
||||||
|
option (msgpool_soft_limit) = 256;
|
||||||
|
option (msgpool_hard_limit) = 1024;
|
||||||
|
|
||||||
|
optional fixed64 client_steam_id = 1;
|
||||||
|
optional int32 client_session_id = 2;
|
||||||
|
optional uint32 source_app_id = 3;
|
||||||
|
optional fixed64 job_id_source = 10 [default = 18446744073709551615];
|
||||||
|
optional fixed64 job_id_target = 11 [default = 18446744073709551615];
|
||||||
|
optional string target_job_name = 12;
|
||||||
|
optional int32 eresult = 13 [default = 2];
|
||||||
|
optional string error_message = 14;
|
||||||
|
optional .GCProtoBufMsgSrc gc_msg_src = 200 [default = GCProtoBufMsgSrc_Unspecified];
|
||||||
|
optional int32 gc_dir_index_source = 201 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCSystemMsg_GetAccountDetails {
|
||||||
|
option (msgpool_soft_limit) = 128;
|
||||||
|
option (msgpool_hard_limit) = 512;
|
||||||
|
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
332
protos/steammessages_base.proto
Normal file
332
protos/steammessages_base.proto
Normal file
|
|
@ -0,0 +1,332 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = true;
|
||||||
|
option (force_php_generation) = true;
|
||||||
|
|
||||||
|
extend .google.protobuf.MessageOptions {
|
||||||
|
optional int32 msgpool_soft_limit = 50000 [default = 32];
|
||||||
|
optional int32 msgpool_hard_limit = 50001 [default = 384];
|
||||||
|
}
|
||||||
|
|
||||||
|
extend .google.protobuf.FileOptions {
|
||||||
|
optional bool force_php_generation = 50000 [default = false];
|
||||||
|
}
|
||||||
|
|
||||||
|
extend .google.protobuf.FieldOptions {
|
||||||
|
optional bool php_output_always_number = 50020 [default = false];
|
||||||
|
optional bool allow_field_named_steam_id = 50024 [default = false];
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EBanContentCheckResult {
|
||||||
|
k_EBanContentCheckResult_NotScanned = 0;
|
||||||
|
k_EBanContentCheckResult_Reset = 1;
|
||||||
|
k_EBanContentCheckResult_NeedsChecking = 2;
|
||||||
|
k_EBanContentCheckResult_VeryUnlikely = 5;
|
||||||
|
k_EBanContentCheckResult_Unlikely = 30;
|
||||||
|
k_EBanContentCheckResult_Possible = 50;
|
||||||
|
k_EBanContentCheckResult_Likely = 75;
|
||||||
|
k_EBanContentCheckResult_VeryLikely = 100;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EProtoClanEventType {
|
||||||
|
k_EClanOtherEvent = 1;
|
||||||
|
k_EClanGameEvent = 2;
|
||||||
|
k_EClanPartyEvent = 3;
|
||||||
|
k_EClanMeetingEvent = 4;
|
||||||
|
k_EClanSpecialCauseEvent = 5;
|
||||||
|
k_EClanMusicAndArtsEvent = 6;
|
||||||
|
k_EClanSportsEvent = 7;
|
||||||
|
k_EClanTripEvent = 8;
|
||||||
|
k_EClanChatEvent = 9;
|
||||||
|
k_EClanGameReleaseEvent = 10;
|
||||||
|
k_EClanBroadcastEvent = 11;
|
||||||
|
k_EClanSmallUpdateEvent = 12;
|
||||||
|
k_EClanPreAnnounceMajorUpdateEvent = 13;
|
||||||
|
k_EClanMajorUpdateEvent = 14;
|
||||||
|
k_EClanDLCReleaseEvent = 15;
|
||||||
|
k_EClanFutureReleaseEvent = 16;
|
||||||
|
k_EClanESportTournamentStreamEvent = 17;
|
||||||
|
k_EClanDevStreamEvent = 18;
|
||||||
|
k_EClanFamousStreamEvent = 19;
|
||||||
|
k_EClanGameSalesEvent = 20;
|
||||||
|
k_EClanGameItemSalesEvent = 21;
|
||||||
|
k_EClanInGameBonusXPEvent = 22;
|
||||||
|
k_EClanInGameLootEvent = 23;
|
||||||
|
k_EClanInGamePerksEvent = 24;
|
||||||
|
k_EClanInGameChallengeEvent = 25;
|
||||||
|
k_EClanInGameContestEvent = 26;
|
||||||
|
k_EClanIRLEvent = 27;
|
||||||
|
k_EClanNewsEvent = 28;
|
||||||
|
k_EClanBetaReleaseEvent = 29;
|
||||||
|
k_EClanInGameContentReleaseEvent = 30;
|
||||||
|
k_EClanFreeTrial = 31;
|
||||||
|
k_EClanSeasonRelease = 32;
|
||||||
|
k_EClanSeasonUpdate = 33;
|
||||||
|
k_EClanCrosspostEvent = 34;
|
||||||
|
k_EClanInGameEventGeneral = 35;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum PartnerEventNotificationType {
|
||||||
|
k_EEventStart = 0;
|
||||||
|
k_EEventBroadcastStart = 1;
|
||||||
|
k_EEventMatchStart = 2;
|
||||||
|
k_EEventPartnerMaxType = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgIPAddress {
|
||||||
|
oneof ip {
|
||||||
|
fixed32 v4 = 1;
|
||||||
|
bytes v6 = 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgIPAddressBucket {
|
||||||
|
optional .CMsgIPAddress original_ip_address = 1;
|
||||||
|
optional fixed64 bucket = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCRoutingProtoBufHeader {
|
||||||
|
optional uint64 dst_gcid_queue = 1;
|
||||||
|
optional uint32 dst_gc_dir_index = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgProtoBufHeader {
|
||||||
|
enum ESessionDisposition {
|
||||||
|
k_ESessionDispositionNormal = 0;
|
||||||
|
k_ESessionDispositionDisconnect = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional int32 client_sessionid = 2;
|
||||||
|
optional uint32 routing_appid = 3;
|
||||||
|
optional fixed64 jobid_source = 10 [default = 18446744073709551615];
|
||||||
|
optional fixed64 jobid_target = 11 [default = 18446744073709551615];
|
||||||
|
optional string target_job_name = 12;
|
||||||
|
optional int32 seq_num = 24;
|
||||||
|
optional int32 eresult = 13 [default = 2];
|
||||||
|
optional string error_message = 14;
|
||||||
|
optional uint32 auth_account_flags = 16;
|
||||||
|
optional uint32 token_source = 22;
|
||||||
|
optional bool admin_spoofing_user = 23;
|
||||||
|
optional int32 transport_error = 17 [default = 1];
|
||||||
|
optional uint64 messageid = 18 [default = 18446744073709551615];
|
||||||
|
optional uint32 publisher_group_id = 19;
|
||||||
|
optional uint32 sysid = 20;
|
||||||
|
optional uint64 trace_tag = 21;
|
||||||
|
optional uint32 webapi_key_id = 25;
|
||||||
|
optional bool is_from_external_source = 26;
|
||||||
|
repeated uint32 forward_to_sysid = 27;
|
||||||
|
optional uint32 cm_sysid = 28;
|
||||||
|
optional uint32 launcher_type = 31 [default = 0];
|
||||||
|
optional uint32 realm = 32 [default = 0];
|
||||||
|
optional int32 timeout_ms = 33 [default = -1];
|
||||||
|
optional string debug_source = 34;
|
||||||
|
optional uint32 debug_source_string_index = 35;
|
||||||
|
optional uint64 token_id = 36;
|
||||||
|
optional .CMsgGCRoutingProtoBufHeader routing_gc = 37;
|
||||||
|
optional .CMsgProtoBufHeader.ESessionDisposition session_disposition = 38 [default = k_ESessionDispositionNormal];
|
||||||
|
optional string wg_token = 39;
|
||||||
|
optional string webui_auth_key = 40;
|
||||||
|
|
||||||
|
oneof ip_addr {
|
||||||
|
uint32 ip = 15;
|
||||||
|
bytes ip_v6 = 29;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgMulti {
|
||||||
|
optional uint32 size_unzipped = 1;
|
||||||
|
optional bytes message_body = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgProtobufWrapped {
|
||||||
|
optional bytes message_body = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAuthTicket {
|
||||||
|
optional uint32 estate = 1;
|
||||||
|
optional uint32 eresult = 2 [default = 2];
|
||||||
|
optional fixed64 steamid = 3;
|
||||||
|
optional fixed64 gameid = 4;
|
||||||
|
optional uint32 h_steam_pipe = 5;
|
||||||
|
optional uint32 ticket_crc = 6;
|
||||||
|
optional bytes ticket = 7;
|
||||||
|
optional bytes server_secret = 8;
|
||||||
|
optional uint32 ticket_type = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCDDBAppDetailCommon {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional string icon = 3;
|
||||||
|
optional bool tool = 6;
|
||||||
|
optional bool demo = 7;
|
||||||
|
optional bool media = 8;
|
||||||
|
optional bool community_visible_stats = 9;
|
||||||
|
optional string friendly_name = 10;
|
||||||
|
optional string propagation = 11;
|
||||||
|
optional bool has_adult_content = 12;
|
||||||
|
optional bool is_visible_in_steam_china = 13;
|
||||||
|
optional uint32 app_type = 14;
|
||||||
|
optional bool has_adult_content_sex = 15;
|
||||||
|
optional bool has_adult_content_violence = 16;
|
||||||
|
repeated uint32 content_descriptorids = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAppRights {
|
||||||
|
optional bool edit_info = 1;
|
||||||
|
optional bool publish = 2;
|
||||||
|
optional bool view_error_data = 3;
|
||||||
|
optional bool download = 4;
|
||||||
|
optional bool upload_cdkeys = 5;
|
||||||
|
optional bool generate_cdkeys = 6;
|
||||||
|
optional bool view_financials = 7;
|
||||||
|
optional bool manage_ceg = 8;
|
||||||
|
optional bool manage_signing = 9;
|
||||||
|
optional bool manage_cdkeys = 10;
|
||||||
|
optional bool edit_marketing = 11;
|
||||||
|
optional bool economy_support = 12;
|
||||||
|
optional bool economy_support_supervisor = 13;
|
||||||
|
optional bool manage_pricing = 14;
|
||||||
|
optional bool broadcast_live = 15;
|
||||||
|
optional bool view_marketing_traffic = 16;
|
||||||
|
optional bool edit_store_display_content = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCuratorPreferences {
|
||||||
|
optional uint32 supported_languages = 1;
|
||||||
|
optional bool platform_windows = 2;
|
||||||
|
optional bool platform_mac = 3;
|
||||||
|
optional bool platform_linux = 4;
|
||||||
|
optional bool vr_content = 5;
|
||||||
|
optional bool adult_content_violence = 6;
|
||||||
|
optional bool adult_content_sex = 7;
|
||||||
|
optional uint32 timestamp_updated = 8;
|
||||||
|
repeated uint32 tagids_curated = 9;
|
||||||
|
repeated uint32 tagids_filtered = 10;
|
||||||
|
optional string website_title = 11;
|
||||||
|
optional string website_url = 12;
|
||||||
|
optional string discussion_url = 13;
|
||||||
|
optional bool show_broadcast = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CLocalizationToken {
|
||||||
|
optional uint32 language = 1;
|
||||||
|
optional string localized_string = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClanEventUserNewsTuple {
|
||||||
|
optional uint32 clanid = 1;
|
||||||
|
optional fixed64 event_gid = 2;
|
||||||
|
optional fixed64 announcement_gid = 3;
|
||||||
|
optional uint32 rtime_start = 4;
|
||||||
|
optional uint32 rtime_end = 5;
|
||||||
|
optional uint32 priority_score = 6;
|
||||||
|
optional uint32 type = 7;
|
||||||
|
optional uint32 clamp_range_slot = 8;
|
||||||
|
optional uint32 appid = 9;
|
||||||
|
optional uint32 rtime32_last_modified = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClanMatchEventByRange {
|
||||||
|
optional uint32 rtime_before = 1;
|
||||||
|
optional uint32 rtime_after = 2;
|
||||||
|
optional uint32 qualified = 3;
|
||||||
|
repeated .CClanEventUserNewsTuple events = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
optional fixed64 event_gid = 13;
|
||||||
|
optional int32 voteupcount = 14;
|
||||||
|
optional int32 votedowncount = 15;
|
||||||
|
optional .EBanContentCheckResult ban_check_result = 16 [default = k_EBanContentCheckResult_NotScanned];
|
||||||
|
optional bool banned = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CClanEventData {
|
||||||
|
optional fixed64 gid = 1;
|
||||||
|
optional fixed64 clan_steamid = 2;
|
||||||
|
optional string event_name = 3;
|
||||||
|
optional .EProtoClanEventType event_type = 4 [default = k_EClanOtherEvent];
|
||||||
|
optional uint32 appid = 5;
|
||||||
|
optional string server_address = 6;
|
||||||
|
optional string server_password = 7;
|
||||||
|
optional uint32 rtime32_start_time = 8;
|
||||||
|
optional uint32 rtime32_end_time = 9;
|
||||||
|
optional int32 comment_count = 10;
|
||||||
|
optional fixed64 creator_steamid = 11;
|
||||||
|
optional fixed64 last_update_steamid = 12;
|
||||||
|
optional string event_notes = 13;
|
||||||
|
optional string jsondata = 14;
|
||||||
|
optional .CCommunity_ClanAnnouncementInfo announcement_body = 15;
|
||||||
|
optional bool published = 16;
|
||||||
|
optional bool hidden = 17;
|
||||||
|
optional uint32 rtime32_visibility_start = 18;
|
||||||
|
optional uint32 rtime32_visibility_end = 19;
|
||||||
|
optional uint32 broadcaster_accountid = 20;
|
||||||
|
optional uint32 follower_count = 21;
|
||||||
|
optional uint32 ignore_count = 22;
|
||||||
|
optional fixed64 forum_topic_id = 23;
|
||||||
|
optional uint32 rtime32_last_modified = 24;
|
||||||
|
optional fixed64 news_post_gid = 25;
|
||||||
|
optional uint32 rtime_mod_reviewed = 26;
|
||||||
|
optional uint32 featured_app_tagid = 27;
|
||||||
|
repeated uint32 referenced_appids = 28;
|
||||||
|
optional uint32 build_id = 29;
|
||||||
|
optional string build_branch = 30;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CBilling_Address {
|
||||||
|
optional string first_name = 1;
|
||||||
|
optional string last_name = 2;
|
||||||
|
optional string address1 = 3;
|
||||||
|
optional string address2 = 4;
|
||||||
|
optional string city = 5;
|
||||||
|
optional string us_state = 6;
|
||||||
|
optional string country_code = 7;
|
||||||
|
optional string postcode = 8;
|
||||||
|
optional int32 zip_plus4 = 9;
|
||||||
|
optional string phone = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPackageReservationStatus {
|
||||||
|
optional uint32 packageid = 1;
|
||||||
|
optional int32 reservation_state = 2;
|
||||||
|
optional int32 queue_position = 3;
|
||||||
|
optional int32 total_queue_size = 4;
|
||||||
|
optional string reservation_country_code = 5;
|
||||||
|
optional bool expired = 6;
|
||||||
|
optional uint32 time_expires = 7;
|
||||||
|
optional uint32 time_reserved = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgKeyValuePair {
|
||||||
|
optional string name = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgKeyValueSet {
|
||||||
|
repeated .CMsgKeyValuePair pairs = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UserContentDescriptorPreferences {
|
||||||
|
message ContentDescriptor {
|
||||||
|
optional uint32 content_descriptorid = 1;
|
||||||
|
optional uint32 timestamp_added = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .UserContentDescriptorPreferences.ContentDescriptor content_descriptors_to_exclude = 1;
|
||||||
|
}
|
||||||
155
protos/steammessages_clientserver_login.proto
Normal file
155
protos/steammessages_clientserver_login.proto
Normal file
|
|
@ -0,0 +1,155 @@
|
||||||
|
import "steammessages_base.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
message CMsgClientHeartBeat {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientServerTimestampRequest {
|
||||||
|
optional uint64 client_request_timestamp = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientServerTimestampResponse {
|
||||||
|
optional uint64 client_request_timestamp = 1;
|
||||||
|
optional uint64 server_timestamp_ms = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientSecret {
|
||||||
|
optional uint32 version = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
optional uint32 deviceid = 3;
|
||||||
|
optional fixed64 nonce = 4;
|
||||||
|
optional bytes hmac = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientLogon {
|
||||||
|
optional uint32 protocol_version = 1;
|
||||||
|
optional uint32 deprecated_obfustucated_private_ip = 2;
|
||||||
|
optional uint32 cell_id = 3;
|
||||||
|
optional uint32 last_session_id = 4;
|
||||||
|
optional uint32 client_package_version = 5;
|
||||||
|
optional string client_language = 6;
|
||||||
|
optional uint32 client_os_type = 7;
|
||||||
|
optional bool should_remember_password = 8 [default = false];
|
||||||
|
optional string wine_version = 9;
|
||||||
|
optional uint32 deprecated_10 = 10;
|
||||||
|
optional .CMsgIPAddress obfuscated_private_ip = 11;
|
||||||
|
optional uint32 deprecated_public_ip = 20;
|
||||||
|
optional uint32 qos_level = 21;
|
||||||
|
optional fixed64 client_supplied_steam_id = 22;
|
||||||
|
optional .CMsgIPAddress public_ip = 23;
|
||||||
|
optional bytes machine_id = 30;
|
||||||
|
optional uint32 launcher_type = 31 [default = 0];
|
||||||
|
optional uint32 ui_mode = 32 [default = 0];
|
||||||
|
optional uint32 chat_mode = 33 [default = 0];
|
||||||
|
optional bytes steam2_auth_ticket = 41;
|
||||||
|
optional string email_address = 42;
|
||||||
|
optional fixed32 rtime32_account_creation = 43;
|
||||||
|
optional string account_name = 50;
|
||||||
|
optional string password = 51;
|
||||||
|
optional string game_server_token = 52;
|
||||||
|
optional string login_key = 60;
|
||||||
|
optional bool was_converted_deprecated_msg = 70 [default = false];
|
||||||
|
optional string anon_user_target_account_name = 80;
|
||||||
|
optional fixed64 resolved_user_steam_id = 81;
|
||||||
|
optional int32 eresult_sentryfile = 82;
|
||||||
|
optional bytes sha_sentryfile = 83;
|
||||||
|
optional string auth_code = 84;
|
||||||
|
optional int32 otp_type = 85;
|
||||||
|
optional uint32 otp_value = 86;
|
||||||
|
optional string otp_identifier = 87;
|
||||||
|
optional bool steam2_ticket_request = 88;
|
||||||
|
optional bytes sony_psn_ticket = 90;
|
||||||
|
optional string sony_psn_service_id = 91;
|
||||||
|
optional bool create_new_psn_linked_account_if_needed = 92 [default = false];
|
||||||
|
optional string sony_psn_name = 93;
|
||||||
|
optional int32 game_server_app_id = 94;
|
||||||
|
optional bool steamguard_dont_remember_computer = 95;
|
||||||
|
optional string machine_name = 96;
|
||||||
|
optional string machine_name_userchosen = 97;
|
||||||
|
optional string country_override = 98;
|
||||||
|
optional bool is_steam_box = 99;
|
||||||
|
optional uint64 client_instance_id = 100;
|
||||||
|
optional string two_factor_code = 101;
|
||||||
|
optional bool supports_rate_limit_response = 102;
|
||||||
|
optional string web_logon_nonce = 103;
|
||||||
|
optional int32 priority_reason = 104;
|
||||||
|
optional .CMsgClientSecret embedded_client_secret = 105;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientLogonResponse {
|
||||||
|
optional int32 eresult = 1 [default = 2];
|
||||||
|
optional int32 out_of_game_heartbeat_seconds = 2;
|
||||||
|
optional int32 in_game_heartbeat_seconds = 3;
|
||||||
|
optional uint32 deprecated_public_ip = 4;
|
||||||
|
optional fixed32 rtime32_server_time = 5;
|
||||||
|
optional uint32 account_flags = 6;
|
||||||
|
optional uint32 cell_id = 7;
|
||||||
|
optional string email_domain = 8;
|
||||||
|
optional bytes steam2_ticket = 9;
|
||||||
|
optional int32 eresult_extended = 10;
|
||||||
|
optional string webapi_authenticate_user_nonce = 11;
|
||||||
|
optional uint32 cell_id_ping_threshold = 12;
|
||||||
|
optional bool use_pics = 13;
|
||||||
|
optional string vanity_url = 14;
|
||||||
|
optional .CMsgIPAddress public_ip = 15;
|
||||||
|
optional fixed64 client_supplied_steamid = 20;
|
||||||
|
optional string ip_country_code = 21;
|
||||||
|
optional bytes parental_settings = 22;
|
||||||
|
optional bytes parental_setting_signature = 23;
|
||||||
|
optional int32 count_loginfailures_to_migrate = 24;
|
||||||
|
optional int32 count_disconnects_to_migrate = 25;
|
||||||
|
optional int32 ogs_data_report_time_window = 26;
|
||||||
|
optional uint64 client_instance_id = 27;
|
||||||
|
optional bool force_client_update_check = 28;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientRequestWebAPIAuthenticateUserNonce {
|
||||||
|
optional int32 token_type = 1 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientRequestWebAPIAuthenticateUserNonceResponse {
|
||||||
|
optional int32 eresult = 1 [default = 2];
|
||||||
|
optional string webapi_authenticate_user_nonce = 11;
|
||||||
|
optional int32 token_type = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientLogOff {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientLoggedOff {
|
||||||
|
optional int32 eresult = 1 [default = 2];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientNewLoginKey {
|
||||||
|
optional uint32 unique_id = 1;
|
||||||
|
optional string login_key = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientNewLoginKeyAccepted {
|
||||||
|
optional uint32 unique_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientAccountInfo {
|
||||||
|
optional string persona_name = 1;
|
||||||
|
optional string ip_country = 2;
|
||||||
|
optional int32 count_authed_computers = 5;
|
||||||
|
optional uint32 account_flags = 7;
|
||||||
|
optional uint64 facebook_id = 8;
|
||||||
|
optional string facebook_name = 9;
|
||||||
|
optional bool steamguard_notify_newmachines = 14;
|
||||||
|
optional string steamguard_machine_name_user_chosen = 15;
|
||||||
|
optional bool is_phone_verified = 16;
|
||||||
|
optional uint32 two_factor_state = 17;
|
||||||
|
optional bool is_phone_identifying = 18;
|
||||||
|
optional bool is_phone_needing_reverify = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientChallengeRequest {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgClientChallengeResponse {
|
||||||
|
optional fixed64 challenge = 1;
|
||||||
|
}
|
||||||
68
protos/steammessages_cloud.steamworkssdk.proto
Normal file
68
protos/steammessages_cloud.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,68 @@
|
||||||
|
import "steammessages_unified_base.steamworkssdk.proto";
|
||||||
|
|
||||||
|
message CCloud_GetUploadServerInfo_Request {
|
||||||
|
optional uint32 appid = 1 [(description) = "App ID to which a file will be uploaded to."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_GetUploadServerInfo_Response {
|
||||||
|
optional string server_url = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_GetFileDetails_Request {
|
||||||
|
optional uint64 ugcid = 1 [(description) = "ID of the Cloud file to get details for."];
|
||||||
|
optional uint32 appid = 2 [(description) = "App ID the file belongs to."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_UserFile {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional uint64 ugcid = 2;
|
||||||
|
optional string filename = 3;
|
||||||
|
optional uint64 timestamp = 4;
|
||||||
|
optional uint32 file_size = 5;
|
||||||
|
optional string url = 6;
|
||||||
|
optional fixed64 steamid_creator = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_GetFileDetails_Response {
|
||||||
|
optional .CCloud_UserFile details = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_EnumerateUserFiles_Request {
|
||||||
|
optional uint32 appid = 1 [(description) = "App ID to enumerate the files of."];
|
||||||
|
optional bool extended_details = 2 [(description) = "(Optional) Get extended details back on the files found. Defaults to only returned the app Id and UGC Id of the files found."];
|
||||||
|
optional uint32 count = 3 [(description) = "(Optional) Maximum number of results to return on this call. Defaults to a maximum of 500 files returned."];
|
||||||
|
optional uint32 start_index = 4 [(description) = "(Optional) Starting index to begin enumeration at. Defaults to the beginning of the list."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_EnumerateUserFiles_Response {
|
||||||
|
repeated .CCloud_UserFile files = 1;
|
||||||
|
optional uint32 total_files = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_Delete_Request {
|
||||||
|
optional string filename = 1;
|
||||||
|
optional uint32 appid = 2 [(description) = "App ID the file belongs to."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CCloud_Delete_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
service Cloud {
|
||||||
|
option (service_description) = "A service for Steam Cloud operations.";
|
||||||
|
|
||||||
|
rpc GetUploadServerInfo (.CCloud_GetUploadServerInfo_Request) returns (.CCloud_GetUploadServerInfo_Response) {
|
||||||
|
option (method_description) = "Returns the URL of the proper cloud server for a user.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetFileDetails (.CCloud_GetFileDetails_Request) returns (.CCloud_GetFileDetails_Response) {
|
||||||
|
option (method_description) = "Returns details on a Cloud file.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc EnumerateUserFiles (.CCloud_EnumerateUserFiles_Request) returns (.CCloud_EnumerateUserFiles_Response) {
|
||||||
|
option (method_description) = "Enumerates Cloud files for a user of a given app ID. Returns up to 500 files at a time.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc Delete (.CCloud_Delete_Request) returns (.CCloud_Delete_Response) {
|
||||||
|
option (method_description) = "Deletes a file from the user's cloud.";
|
||||||
|
}
|
||||||
|
}
|
||||||
61
protos/steammessages_gamenetworkingui.proto
Normal file
61
protos/steammessages_gamenetworkingui.proto
Normal file
|
|
@ -0,0 +1,61 @@
|
||||||
|
import "steamnetworkingsockets_messages.proto";
|
||||||
|
import "steamdatagram_messages_sdr.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = true;
|
||||||
|
|
||||||
|
message CGameNetworkingUI_GlobalState {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGameNetworkingUI_ConnectionState {
|
||||||
|
optional string connection_key = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
optional fixed32 connection_id_local = 3;
|
||||||
|
optional string identity_local = 4;
|
||||||
|
optional string identity_remote = 5;
|
||||||
|
optional uint32 connection_state = 10;
|
||||||
|
optional uint32 start_time = 12;
|
||||||
|
optional uint32 close_time = 13;
|
||||||
|
optional uint32 close_reason = 14;
|
||||||
|
optional string close_message = 15;
|
||||||
|
optional string status_loc_token = 16;
|
||||||
|
optional uint32 transport_kind = 20;
|
||||||
|
optional string sdrpopid_local = 21;
|
||||||
|
optional string sdrpopid_remote = 22;
|
||||||
|
optional string address_remote = 23;
|
||||||
|
optional .CMsgSteamDatagramP2PRoutingSummary p2p_routing = 24;
|
||||||
|
optional uint32 ping_interior = 25;
|
||||||
|
optional uint32 ping_remote_front = 26;
|
||||||
|
optional uint32 ping_default_internet_route = 27;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality e2e_quality_local = 30;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality e2e_quality_remote = 31;
|
||||||
|
optional uint64 e2e_quality_remote_instantaneous_time = 32;
|
||||||
|
optional uint64 e2e_quality_remote_lifetime_time = 33;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality front_quality_local = 40;
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality front_quality_remote = 41;
|
||||||
|
optional uint64 front_quality_remote_instantaneous_time = 42;
|
||||||
|
optional uint64 front_quality_remote_lifetime_time = 43;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGameNetworkingUI_Message {
|
||||||
|
repeated .CGameNetworkingUI_ConnectionState connection_state = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGameNetworkingUI_ConnectionSummary {
|
||||||
|
optional uint32 transport_kind = 1;
|
||||||
|
optional uint32 connection_state = 8;
|
||||||
|
optional string sdrpop_local = 2;
|
||||||
|
optional string sdrpop_remote = 3;
|
||||||
|
optional uint32 ping_ms = 4;
|
||||||
|
optional float packet_loss = 5;
|
||||||
|
optional uint32 ping_default_internet_route = 6;
|
||||||
|
optional bool ip_was_shared = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGameNetworkingUI_AppSummary {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional bool ip_was_shared_with_friend = 10;
|
||||||
|
optional bool ip_was_shared_with_nonfriend = 11;
|
||||||
|
optional uint32 active_connections = 20;
|
||||||
|
optional .CGameNetworkingUI_ConnectionSummary main_cxn = 30;
|
||||||
|
}
|
||||||
22
protos/steammessages_helprequest.steamworkssdk.proto
Normal file
22
protos/steammessages_helprequest.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
import "steammessages_unified_base.steamworkssdk.proto";
|
||||||
|
|
||||||
|
option cc_generic_services = true;
|
||||||
|
|
||||||
|
message CHelpRequestLogs_UploadUserApplicationLog_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional string log_type = 2;
|
||||||
|
optional string version_string = 3;
|
||||||
|
optional string log_contents = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CHelpRequestLogs_UploadUserApplicationLog_Response {
|
||||||
|
optional uint64 id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
service HelpRequestLogs {
|
||||||
|
option (service_description) = "Service for dealing with user-submitted logs";
|
||||||
|
|
||||||
|
rpc UploadUserApplicationLog (.CHelpRequestLogs_UploadUserApplicationLog_Request) returns (.CHelpRequestLogs_UploadUserApplicationLog_Response) {
|
||||||
|
option (method_description) = "User uploading application logs";
|
||||||
|
}
|
||||||
|
}
|
||||||
629
protos/steammessages_int.proto
Normal file
629
protos/steammessages_int.proto
Normal file
|
|
@ -0,0 +1,629 @@
|
||||||
|
import "steammessages.proto";
|
||||||
|
|
||||||
|
enum EMobilePaymentProvider {
|
||||||
|
k_EMobilePaymentProvider_Invalid = 0;
|
||||||
|
k_EMobilePaymentProvider_GooglePlay = 1;
|
||||||
|
k_EMobilePaymentProvider_AppleAppStore = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 CMsgAMGetUserGameStats {
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional fixed64 game_id = 2;
|
||||||
|
repeated uint32 stats = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgAMGetUserGameStatsResponse {
|
||||||
|
message Stats {
|
||||||
|
optional uint32 stat_id = 1;
|
||||||
|
optional uint32 stat_value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Achievement_Blocks {
|
||||||
|
optional uint32 achievement_id = 1;
|
||||||
|
optional uint32 achievement_bit_id = 2;
|
||||||
|
optional fixed32 unlock_time = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed64 steam_id = 1;
|
||||||
|
optional fixed64 game_id = 2;
|
||||||
|
optional int32 eresult = 3 [default = 2];
|
||||||
|
repeated .CMsgAMGetUserGameStatsResponse.Stats stats = 4;
|
||||||
|
repeated .CMsgAMGetUserGameStatsResponse.Achievement_Blocks achievement_blocks = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 CGCMsgSystemStatsSchema {
|
||||||
|
optional uint32 gc_app_id = 1;
|
||||||
|
optional bytes schema_kv = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCMsgGetSystemStats {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCMsgGetSystemStatsResponse {
|
||||||
|
optional uint32 gc_app_id = 1;
|
||||||
|
optional bytes stats_kv = 2;
|
||||||
|
optional uint32 active_jobs = 3;
|
||||||
|
optional uint32 yielding_jobs = 4;
|
||||||
|
optional uint32 user_sessions = 5;
|
||||||
|
optional uint32 game_server_sessions = 6;
|
||||||
|
optional uint32 socaches = 7;
|
||||||
|
optional uint32 socaches_to_unload = 8;
|
||||||
|
optional uint32 socaches_loading = 9;
|
||||||
|
optional uint32 writeback_queue = 10;
|
||||||
|
optional uint32 steamid_locks = 11;
|
||||||
|
optional uint32 logon_queue = 12;
|
||||||
|
optional uint32 logon_jobs = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
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 CMsgGCGetPartnerAccountLink {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCGetPartnerAccountLink_Response {
|
||||||
|
optional uint32 pwid = 1;
|
||||||
|
optional uint32 nexonid = 2;
|
||||||
|
optional int32 ageclass = 3 [default = 0];
|
||||||
|
optional bool id_verified = 4 [default = true];
|
||||||
|
optional bool is_adult = 5 [default = true];
|
||||||
|
}
|
||||||
|
|
||||||
|
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 CMsgDPPartnerMicroTxns {
|
||||||
|
message PartnerMicroTxn {
|
||||||
|
optional uint32 init_time = 1;
|
||||||
|
optional uint32 last_update_time = 2;
|
||||||
|
optional uint64 txn_id = 3;
|
||||||
|
optional uint32 account_id = 4;
|
||||||
|
optional uint32 line_item = 5;
|
||||||
|
optional uint64 item_id = 6;
|
||||||
|
optional uint32 def_index = 7;
|
||||||
|
optional uint64 price = 8;
|
||||||
|
optional uint64 tax = 9;
|
||||||
|
optional uint64 price_usd = 10;
|
||||||
|
optional uint64 tax_usd = 11;
|
||||||
|
optional uint32 purchase_type = 12;
|
||||||
|
optional uint32 steam_txn_type = 13;
|
||||||
|
optional string country_code = 14;
|
||||||
|
optional string region_code = 15;
|
||||||
|
optional int32 quantity = 16;
|
||||||
|
optional uint64 ref_trans_id = 17;
|
||||||
|
}
|
||||||
|
|
||||||
|
message PartnerInfo {
|
||||||
|
optional uint32 partner_id = 1;
|
||||||
|
optional string partner_name = 2;
|
||||||
|
optional string currency_code = 3;
|
||||||
|
optional string currency_name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional string gc_name = 2;
|
||||||
|
optional .CMsgDPPartnerMicroTxns.PartnerInfo partner = 3;
|
||||||
|
repeated .CMsgDPPartnerMicroTxns.PartnerMicroTxn transactions = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgDPPartnerMicroTxnsResponse {
|
||||||
|
enum EErrorCode {
|
||||||
|
k_MsgValid = 0;
|
||||||
|
k_MsgInvalidAppID = 1;
|
||||||
|
k_MsgInvalidPartnerInfo = 2;
|
||||||
|
k_MsgNoTransactions = 3;
|
||||||
|
k_MsgSQLFailure = 4;
|
||||||
|
k_MsgPartnerInfoDiscrepancy = 5;
|
||||||
|
k_MsgTransactionInsertFailed = 7;
|
||||||
|
k_MsgAlreadyRunning = 8;
|
||||||
|
k_MsgInvalidTransactionData = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 eresult = 1 [default = 2];
|
||||||
|
optional .CMsgDPPartnerMicroTxnsResponse.EErrorCode eerrorcode = 2 [default = k_MsgValid];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCHVacVerificationChange {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
optional bool is_verified = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgGCHAccountTwoFactorChange {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional uint32 appid = 2;
|
||||||
|
optional bool twofactor_enabled = 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 CGCSystemMsg_ReportExternalPurchase_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional fixed64 steamid = 2;
|
||||||
|
optional .EMobilePaymentProvider provider = 3 [default = k_EMobilePaymentProvider_Invalid];
|
||||||
|
optional uint64 orderid = 4;
|
||||||
|
optional string provider_orderid = 5;
|
||||||
|
optional int64 amount = 6;
|
||||||
|
optional string currency = 7;
|
||||||
|
optional uint32 quantity = 8;
|
||||||
|
optional uint32 itemid = 9;
|
||||||
|
optional string item_description = 10;
|
||||||
|
optional string language = 11;
|
||||||
|
optional string category = 12;
|
||||||
|
optional uint32 time_created = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CGCSystemMsg_ReportExternalPurchase_Response {
|
||||||
|
optional fixed64 transid = 1;
|
||||||
|
optional uint64 orderid = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
18
protos/steammessages_oauth.steamworkssdk.proto
Normal file
18
protos/steammessages_oauth.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
import "steammessages_unified_base.steamworkssdk.proto";
|
||||||
|
|
||||||
|
message COAuthToken_ImplicitGrantNoPrompt_Request {
|
||||||
|
optional string clientid = 1 [(description) = "Client ID for which to count the number of issued tokens"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message COAuthToken_ImplicitGrantNoPrompt_Response {
|
||||||
|
optional string access_token = 1 [(description) = "OAuth Token, granted on success"];
|
||||||
|
optional string redirect_uri = 2 [(description) = "Redirection URI provided during client registration."];
|
||||||
|
}
|
||||||
|
|
||||||
|
service OAuthToken {
|
||||||
|
option (service_description) = "Service containing methods to manage OAuth tokens";
|
||||||
|
|
||||||
|
rpc ImplicitGrantNoPrompt (.COAuthToken_ImplicitGrantNoPrompt_Request) returns (.COAuthToken_ImplicitGrantNoPrompt_Response) {
|
||||||
|
option (method_description) = "Grants an implicit OAuth token (grant type 'token') for the specified client ID on behalf of a user without prompting";
|
||||||
|
}
|
||||||
|
}
|
||||||
254
protos/steammessages_player.steamworkssdk.proto
Normal file
254
protos/steammessages_player.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,254 @@
|
||||||
|
import "steammessages_unified_base.steamworkssdk.proto";
|
||||||
|
|
||||||
|
option cc_generic_services = true;
|
||||||
|
|
||||||
|
enum ENotificationSetting {
|
||||||
|
k_ENotificationSettingNotifyUseDefault = 0;
|
||||||
|
k_ENotificationSettingAlways = 1;
|
||||||
|
k_ENotificationSettingNever = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetMutualFriendsForIncomingInvites_Request {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_IncomingInviteMutualFriendList {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
repeated uint32 mutual_friend_account_ids = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetMutualFriendsForIncomingInvites_Response {
|
||||||
|
repeated .CPlayer_IncomingInviteMutualFriendList incoming_invite_mutual_friends_lists = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetFriendsGameplayInfo_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetFriendsGameplayInfo_Response {
|
||||||
|
message FriendsGameplayInfo {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional uint32 minutes_played = 2;
|
||||||
|
optional uint32 minutes_played_forever = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message OwnGameplayInfo {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional uint32 minutes_played = 2;
|
||||||
|
optional uint32 minutes_played_forever = 3;
|
||||||
|
optional bool in_wishlist = 4;
|
||||||
|
optional bool owned = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CPlayer_GetFriendsGameplayInfo_Response.OwnGameplayInfo your_info = 1;
|
||||||
|
repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_game = 2;
|
||||||
|
repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_recently = 3;
|
||||||
|
repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo played_ever = 4;
|
||||||
|
repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo owns = 5;
|
||||||
|
repeated .CPlayer_GetFriendsGameplayInfo_Response.FriendsGameplayInfo in_wishlist = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetGameBadgeLevels_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetGameBadgeLevels_Response {
|
||||||
|
message Badge {
|
||||||
|
optional int32 level = 1;
|
||||||
|
optional int32 series = 2;
|
||||||
|
optional uint32 border_color = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 player_level = 1;
|
||||||
|
repeated .CPlayer_GetGameBadgeLevels_Response.Badge badges = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetLastPlayedTimes_Request {
|
||||||
|
optional uint32 min_last_played = 1 [(description) = "The most recent last-played time the client already knows about"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetLastPlayedTimes_Response {
|
||||||
|
message Game {
|
||||||
|
optional int32 appid = 1;
|
||||||
|
optional uint32 last_playtime = 2;
|
||||||
|
optional int32 playtime_2weeks = 3;
|
||||||
|
optional int32 playtime_forever = 4;
|
||||||
|
optional uint32 first_playtime = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CPlayer_GetLastPlayedTimes_Response.Game games = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_AcceptSSA_Request {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_AcceptSSA_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetNicknameList_Request {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetNicknameList_Response {
|
||||||
|
message PlayerNickname {
|
||||||
|
optional fixed32 accountid = 1;
|
||||||
|
optional string nickname = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CPlayer_GetNicknameList_Response.PlayerNickname nicknames = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetPerFriendPreferences_Request {
|
||||||
|
}
|
||||||
|
|
||||||
|
message PerFriendPreferences {
|
||||||
|
optional fixed32 accountid = 1;
|
||||||
|
optional string nickname = 2;
|
||||||
|
optional .ENotificationSetting notifications_showingame = 3 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting notifications_showonline = 4 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting notifications_showmessages = 5 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting sounds_showingame = 6 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting sounds_showonline = 7 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting sounds_showmessages = 8 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
optional .ENotificationSetting notifications_sendmobile = 9 [default = k_ENotificationSettingNotifyUseDefault];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetPerFriendPreferences_Response {
|
||||||
|
repeated .PerFriendPreferences preferences = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_SetPerFriendPreferences_Request {
|
||||||
|
optional .PerFriendPreferences preferences = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_SetPerFriendPreferences_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_AddFriend_Request {
|
||||||
|
optional fixed64 steamid = 1 [(description) = "Steam ID of user to whom to send a friend invite."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_AddFriend_Response {
|
||||||
|
optional bool invite_sent = 1 [(description) = "True if the operation was successful, false otherwise."];
|
||||||
|
optional uint32 friend_relationship = 2 [(description) = "the resulting relationship. Depending on state, may move directly to friends rather than invite sent"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_RemoveFriend_Request {
|
||||||
|
optional fixed64 steamid = 1 [(description) = "Steam ID of friend to remove."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_RemoveFriend_Response {
|
||||||
|
optional uint32 friend_relationship = 1 [(description) = "the resulting relationship"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_IgnoreFriend_Request {
|
||||||
|
optional fixed64 steamid = 1;
|
||||||
|
optional bool unignore = 2 [(description) = "If set, remove from ignore/block list instead of adding "];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_IgnoreFriend_Response {
|
||||||
|
optional uint32 friend_relationship = 1 [(description) = "the resulting relationship"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetCommunityPreferences_Request {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_CommunityPreferences {
|
||||||
|
optional bool hide_adult_content_violence = 1 [default = true];
|
||||||
|
optional bool hide_adult_content_sex = 2 [default = true];
|
||||||
|
optional bool parenthesize_nicknames = 4 [default = false];
|
||||||
|
optional uint32 timestamp_updated = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetCommunityPreferences_Response {
|
||||||
|
optional .CPlayer_CommunityPreferences preferences = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_SetCommunityPreferences_Request {
|
||||||
|
optional .CPlayer_CommunityPreferences preferences = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_SetCommunityPreferences_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetNewSteamAnnouncementState_Request {
|
||||||
|
optional int32 language = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_GetNewSteamAnnouncementState_Response {
|
||||||
|
optional int32 state = 1;
|
||||||
|
optional string announcement_headline = 2;
|
||||||
|
optional string announcement_url = 3;
|
||||||
|
optional uint32 time_posted = 4;
|
||||||
|
optional uint64 announcement_gid = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_UpdateSteamAnnouncementLastRead_Request {
|
||||||
|
optional uint64 announcement_gid = 1;
|
||||||
|
optional uint32 time_posted = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPlayer_UpdateSteamAnnouncementLastRead_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
service Player {
|
||||||
|
option (service_description) = "A service for accessing Steam player data";
|
||||||
|
|
||||||
|
rpc GetMutualFriendsForIncomingInvites (.CPlayer_GetMutualFriendsForIncomingInvites_Request) returns (.CPlayer_GetMutualFriendsForIncomingInvites_Response) {
|
||||||
|
option (method_description) = "Get me the mutual friends for each of my pending incoming invites (individuals and clans).";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetFriendsGameplayInfo (.CPlayer_GetFriendsGameplayInfo_Request) returns (.CPlayer_GetFriendsGameplayInfo_Response) {
|
||||||
|
option (method_description) = "Get a list of friends who are playing, have played, own, or want a game";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetGameBadgeLevels (.CPlayer_GetGameBadgeLevels_Request) returns (.CPlayer_GetGameBadgeLevels_Response) {
|
||||||
|
option (method_description) = "Returns the Steam Level of a user, the Badge level for the game, and if it's foil";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc ClientGetLastPlayedTimes (.CPlayer_GetLastPlayedTimes_Request) returns (.CPlayer_GetLastPlayedTimes_Response) {
|
||||||
|
option (method_description) = "Gets the last-played times for the account";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc AcceptSSA (.CPlayer_AcceptSSA_Request) returns (.CPlayer_AcceptSSA_Response) {
|
||||||
|
option (method_description) = "User is accepting the SSA";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetNicknameList (.CPlayer_GetNicknameList_Request) returns (.CPlayer_GetNicknameList_Response) {
|
||||||
|
option (method_description) = "Gets the list of nicknames this user has for other users";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetPerFriendPreferences (.CPlayer_GetPerFriendPreferences_Request) returns (.CPlayer_GetPerFriendPreferences_Response) {
|
||||||
|
option (method_description) = "Gets the list of per-friend preferences this user has set for other users";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc SetPerFriendPreferences (.CPlayer_SetPerFriendPreferences_Request) returns (.CPlayer_SetPerFriendPreferences_Response) {
|
||||||
|
option (method_description) = "Sets the logged in user's per-friend preferences for the given user";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc AddFriend (.CPlayer_AddFriend_Request) returns (.CPlayer_AddFriend_Response) {
|
||||||
|
option (method_description) = "Invites another Steam user to be a friend";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc RemoveFriend (.CPlayer_RemoveFriend_Request) returns (.CPlayer_RemoveFriend_Response) {
|
||||||
|
option (method_description) = "Removes a friend or ignores a friend suggestion";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc IgnoreFriend (.CPlayer_IgnoreFriend_Request) returns (.CPlayer_IgnoreFriend_Response) {
|
||||||
|
option (method_description) = "Blocks or unblocks communication with the user. Despite name, can be a non-friend.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetCommunityPreferences (.CPlayer_GetCommunityPreferences_Request) returns (.CPlayer_GetCommunityPreferences_Response) {
|
||||||
|
option (method_description) = "Returns the player's community preferences";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc SetCommunityPreferences (.CPlayer_SetCommunityPreferences_Request) returns (.CPlayer_SetCommunityPreferences_Response) {
|
||||||
|
option (method_description) = "Sets the player's community preferences";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetNewSteamAnnouncementState (.CPlayer_GetNewSteamAnnouncementState_Request) returns (.CPlayer_GetNewSteamAnnouncementState_Response) {
|
||||||
|
option (method_description) = "Calculates and returns what to display for UI that renders new steam announcement available";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc UpdateSteamAnnouncementLastRead (.CPlayer_UpdateSteamAnnouncementLastRead_Request) returns (.CPlayer_UpdateSteamAnnouncementLastRead_Response) {
|
||||||
|
option (method_description) = "Marks latest announcement timestamp read by user";
|
||||||
|
}
|
||||||
|
}
|
||||||
233
protos/steammessages_publishedfile.steamworkssdk.proto
Normal file
233
protos/steammessages_publishedfile.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,233 @@
|
||||||
|
import "steammessages_unified_base.steamworkssdk.proto";
|
||||||
|
|
||||||
|
message CPublishedFile_Subscribe_Request {
|
||||||
|
optional uint64 publishedfileid = 1;
|
||||||
|
optional uint32 list_type = 2;
|
||||||
|
optional int32 appid = 3;
|
||||||
|
optional bool notify_client = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Subscribe_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Unsubscribe_Request {
|
||||||
|
optional uint64 publishedfileid = 1;
|
||||||
|
optional uint32 list_type = 2;
|
||||||
|
optional int32 appid = 3;
|
||||||
|
optional bool notify_client = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Unsubscribe_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Publish_Request {
|
||||||
|
optional uint32 appid = 1 [(description) = "App Id this file is being published FROM."];
|
||||||
|
optional uint32 consumer_appid = 2 [(description) = "App Id this file is being published TO."];
|
||||||
|
optional string cloudfilename = 3 [(description) = "Name of the file to publish in the user's cloud."];
|
||||||
|
optional string preview_cloudfilename = 4 [(description) = "Name of the file to use as the published file's preview."];
|
||||||
|
optional string title = 5 [(description) = "Text title for the published file."];
|
||||||
|
optional string file_description = 6 [(description) = "Text description for the published file."];
|
||||||
|
optional uint32 file_type = 7 [(description) = "(EWorkshopFileType) Type of Workshop file to publish."];
|
||||||
|
optional string consumer_shortcut_name = 8 [(description) = "Shortcut name for the published file."];
|
||||||
|
optional string youtube_username = 9 [(description) = "(Optional) User's YouTube account username."];
|
||||||
|
optional string youtube_videoid = 10 [(description) = "(Optional) Video Id of a YouTube video for this published file."];
|
||||||
|
optional uint32 visibility = 11 [(description) = "(ERemoteStoragePublishedFileVisibility) Visibility of the published file (private, friends, public, etc.)"];
|
||||||
|
optional string redirect_uri = 12 [(description) = "(Optional) If supplied, the resulting published file's Id is appended to the URI."];
|
||||||
|
repeated string tags = 13 [(description) = "Array of text tags to apply to the published file."];
|
||||||
|
optional string collection_type = 14 [(description) = "(Optional) Type of collection the published file represents."];
|
||||||
|
optional string game_type = 15 [(description) = "(Optional) Type of game the published file represents."];
|
||||||
|
optional string url = 16 [(description) = "(Optional) If this represents a game, this is the URL to that game's page."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Publish_Response {
|
||||||
|
optional uint64 publishedfileid = 1;
|
||||||
|
optional string redirect_uri = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_GetDetails_Request {
|
||||||
|
repeated fixed64 publishedfileids = 1 [(description) = "Set of published file Ids to retrieve details for."];
|
||||||
|
optional bool includetags = 2 [(description) = "If true, return tag information in the returned details."];
|
||||||
|
optional bool includeadditionalpreviews = 3 [(description) = "If true, return preview information in the returned details."];
|
||||||
|
optional bool includechildren = 4 [(description) = "If true, return children in the returned details."];
|
||||||
|
optional bool includekvtags = 5 [(description) = "If true, return key value tags in the returned details."];
|
||||||
|
optional bool includevotes = 6 [(description) = "If true, return vote data in the returned details."];
|
||||||
|
optional bool short_description = 8 [(description) = "If true, return a short description instead of the full description."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message PublishedFileDetails {
|
||||||
|
message Tag {
|
||||||
|
optional string tag = 1;
|
||||||
|
optional bool adminonly = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Preview {
|
||||||
|
optional uint64 previewid = 1;
|
||||||
|
optional uint32 sortorder = 2;
|
||||||
|
optional string url = 3;
|
||||||
|
optional uint32 size = 4;
|
||||||
|
optional string filename = 5;
|
||||||
|
optional string youtubevideoid = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message Child {
|
||||||
|
optional uint64 publishedfileid = 1;
|
||||||
|
optional uint32 sortorder = 2;
|
||||||
|
optional uint32 file_type = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message KVTag {
|
||||||
|
optional string key = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VoteData {
|
||||||
|
optional float score = 1;
|
||||||
|
optional uint32 votes_up = 2;
|
||||||
|
optional uint32 votes_down = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 result = 1;
|
||||||
|
optional uint64 publishedfileid = 2;
|
||||||
|
optional fixed64 creator = 3;
|
||||||
|
optional uint32 creator_appid = 4;
|
||||||
|
optional uint32 consumer_appid = 5;
|
||||||
|
optional uint32 consumer_shortcutid = 6;
|
||||||
|
optional string filename = 7;
|
||||||
|
optional uint64 file_size = 8;
|
||||||
|
optional uint64 preview_file_size = 9;
|
||||||
|
optional string file_url = 10;
|
||||||
|
optional string preview_url = 11;
|
||||||
|
optional string youtubevideoid = 12;
|
||||||
|
optional string url = 13;
|
||||||
|
optional fixed64 hcontent_file = 14;
|
||||||
|
optional fixed64 hcontent_preview = 15;
|
||||||
|
optional string title = 16;
|
||||||
|
optional string file_description = 17;
|
||||||
|
optional string short_description = 18;
|
||||||
|
optional uint32 time_created = 19;
|
||||||
|
optional uint32 time_updated = 20;
|
||||||
|
optional uint32 visibility = 21;
|
||||||
|
optional uint32 flags = 22;
|
||||||
|
optional bool workshop_file = 23;
|
||||||
|
optional bool workshop_accepted = 24;
|
||||||
|
optional bool show_subscribe_all = 25;
|
||||||
|
optional int32 num_comments_developer = 26;
|
||||||
|
optional int32 num_comments_public = 27;
|
||||||
|
optional bool banned = 28;
|
||||||
|
optional string ban_reason = 29;
|
||||||
|
optional fixed64 banner = 30;
|
||||||
|
optional bool can_be_deleted = 31;
|
||||||
|
optional bool incompatible = 32;
|
||||||
|
optional string app_name = 33;
|
||||||
|
optional uint32 file_type = 34;
|
||||||
|
optional bool can_subscribe = 35;
|
||||||
|
optional uint32 subscriptions = 36;
|
||||||
|
optional uint32 favorited = 37;
|
||||||
|
optional uint32 followers = 38;
|
||||||
|
optional uint32 lifetime_subscriptions = 39;
|
||||||
|
optional uint32 lifetime_favorited = 40;
|
||||||
|
optional uint32 lifetime_followers = 41;
|
||||||
|
optional uint32 views = 42;
|
||||||
|
optional uint32 image_width = 43;
|
||||||
|
optional uint32 image_height = 44;
|
||||||
|
optional string image_url = 45;
|
||||||
|
optional bool spoiler_tag = 46;
|
||||||
|
optional uint32 shortcutid = 47;
|
||||||
|
optional string shortcutname = 48;
|
||||||
|
optional uint32 num_children = 49;
|
||||||
|
optional uint32 num_reports = 50;
|
||||||
|
repeated .PublishedFileDetails.Preview previews = 51;
|
||||||
|
repeated .PublishedFileDetails.Tag tags = 52;
|
||||||
|
repeated .PublishedFileDetails.Child children = 53;
|
||||||
|
repeated .PublishedFileDetails.KVTag kvtags = 54;
|
||||||
|
optional .PublishedFileDetails.VoteData vote_data = 55;
|
||||||
|
optional uint32 time_subscribed = 56 [(description) = "Only valid in PublishedFile.GetUserFiles and not normal PublishedFile.GetDetail calls"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_GetDetails_Response {
|
||||||
|
repeated .PublishedFileDetails publishedfiledetails = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_GetUserFiles_Request {
|
||||||
|
optional uint32 appid = 1 [(description) = "App Id to retrieve published files from."];
|
||||||
|
optional uint32 page = 3 [default = 1, (description) = "(Optional) Starting page for results."];
|
||||||
|
optional uint32 numperpage = 4 [default = 1, (description) = "(Optional) The number of results, per page to return."];
|
||||||
|
optional string sortmethod = 6 [default = "lastupdated", (description) = "(Optional) Sorting method to use on returned values."];
|
||||||
|
optional bool totalonly = 7 [(description) = "(Optional) If true, only return the total number of files that satisfy this query."];
|
||||||
|
optional uint32 privacy = 9 [(description) = "(optional) Filter by privacy settings."];
|
||||||
|
optional bool ids_only = 10 [(description) = "(Optional) If true, only return the published file ids of files that satisfy this query."];
|
||||||
|
repeated string requiredtags = 11 [(description) = "(Optional) Tags that must be present on a published file to satisfy the query."];
|
||||||
|
repeated string excludedtags = 12 [(description) = "(Optional) Tags that must NOT be present on a published file to satisfy the query."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_GetUserFiles_Response {
|
||||||
|
message App {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional uint32 shortcutid = 3;
|
||||||
|
optional bool private = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 total = 1;
|
||||||
|
optional uint32 startindex = 2;
|
||||||
|
repeated .PublishedFileDetails publishedfiledetails = 3;
|
||||||
|
repeated .CPublishedFile_GetUserFiles_Response.App apps = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Update_Request {
|
||||||
|
optional uint32 appid = 1 [(description) = "App Id this published file belongs to."];
|
||||||
|
optional fixed64 publishedfileid = 2 [(description) = "Published file id of the file we'd like update."];
|
||||||
|
optional string title = 3 [(description) = "(Optional) Title of the published file."];
|
||||||
|
optional string file_description = 4 [(description) = "(Optional) Description of the published file."];
|
||||||
|
optional uint32 visibility = 5 [(description) = "(Optional) Visibility of the published file."];
|
||||||
|
repeated string tags = 6 [(description) = "(Optional) Set of tags for the published file."];
|
||||||
|
optional string filename = 7 [(description) = "(Optional) Filename for the published file."];
|
||||||
|
optional string preview_filename = 8 [(description) = "(Optional) Preview filename for the published file."];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_Update_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_RefreshVotingQueue_Request {
|
||||||
|
optional uint32 appid = 1;
|
||||||
|
optional uint32 matching_file_type = 2 [(description) = "EPublishedFileInfoMatchingFileType"];
|
||||||
|
repeated string tags = 3 [(description) = "Include files that have all the tags or any of the tags if match_all_tags is set to false."];
|
||||||
|
optional bool match_all_tags = 4 [default = true, (description) = "If true, then files must have all the tags specified. If false, then must have at least one of the tags specified."];
|
||||||
|
repeated string excluded_tags = 5 [(description) = "Exclude any files that have any of these tags."];
|
||||||
|
optional uint32 desired_queue_size = 6 [(description) = "Desired number of items in the voting queue. May be clamped by the server"];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CPublishedFile_RefreshVotingQueue_Response {
|
||||||
|
}
|
||||||
|
|
||||||
|
service PublishedFile {
|
||||||
|
option (service_description) = "A service to access published file data";
|
||||||
|
|
||||||
|
rpc Subscribe (.CPublishedFile_Subscribe_Request) returns (.CPublishedFile_Subscribe_Response) {
|
||||||
|
option (method_description) = "Subscribes the user to the published file";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc Unsubscribe (.CPublishedFile_Unsubscribe_Request) returns (.CPublishedFile_Unsubscribe_Response) {
|
||||||
|
option (method_description) = "Unsubscribes the user from the published file";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc Publish (.CPublishedFile_Publish_Request) returns (.CPublishedFile_Publish_Response) {
|
||||||
|
option (method_description) = "Publishes a clouded user file to the Workshop.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetDetails (.CPublishedFile_GetDetails_Request) returns (.CPublishedFile_GetDetails_Response) {
|
||||||
|
option (method_description) = "Retrieves information about a set of published files.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc GetUserFiles (.CPublishedFile_GetUserFiles_Request) returns (.CPublishedFile_GetUserFiles_Response) {
|
||||||
|
option (method_description) = "Retrieves files published by a user.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc Update (.CPublishedFile_Update_Request) returns (.CPublishedFile_Update_Response) {
|
||||||
|
option (method_description) = "Updates information about a published file.";
|
||||||
|
}
|
||||||
|
|
||||||
|
rpc RefreshVotingQueue (.CPublishedFile_RefreshVotingQueue_Request) returns (.CPublishedFile_RefreshVotingQueue_Response) {
|
||||||
|
option (method_description) = "Refresh the voting queue for the user";
|
||||||
|
}
|
||||||
|
}
|
||||||
359
protos/steammessages_steamlearn.steamworkssdk.proto
Normal file
359
protos/steammessages_steamlearn.steamworkssdk.proto
Normal file
|
|
@ -0,0 +1,359 @@
|
||||||
|
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 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
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.KMeans kmeans = 6;
|
||||||
|
optional .CMsgSteamLearn_InferenceMetadata_Response.SnapshotHistogram snapshot_histogram = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamLearn_InferenceBackend_Response {
|
||||||
|
message RegressionOutput {
|
||||||
|
optional float value = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message BinaryCrossEntropyOutput {
|
||||||
|
optional float value = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message MutliBinaryCrossEntropyOutput {
|
||||||
|
repeated float weight = 1;
|
||||||
|
repeated float value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CategoricalCrossEntropyOutput {
|
||||||
|
repeated float weight = 1;
|
||||||
|
repeated float value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
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
protos/steammessages_unified_base.steamworkssdk.proto
Normal file
30
protos/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;
|
||||||
|
}
|
||||||
177
protos/steamnetworkingsockets_messages.proto
Normal file
177
protos/steamnetworkingsockets_messages.proto
Normal file
|
|
@ -0,0 +1,177 @@
|
||||||
|
import "steamnetworkingsockets_messages_certs.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
enum ESteamNetworkingSocketsCipher {
|
||||||
|
k_ESteamNetworkingSocketsCipher_INVALID = 0;
|
||||||
|
k_ESteamNetworkingSocketsCipher_NULL = 1;
|
||||||
|
k_ESteamNetworkingSocketsCipher_AES_256_GCM = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSessionCryptInfo {
|
||||||
|
enum EKeyType {
|
||||||
|
INVALID = 0;
|
||||||
|
CURVE25519 = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfo.EKeyType key_type = 1 [default = INVALID];
|
||||||
|
optional bytes key_data = 2;
|
||||||
|
optional fixed64 nonce = 3;
|
||||||
|
optional uint32 protocol_version = 4;
|
||||||
|
repeated .ESteamNetworkingSocketsCipher ciphers = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramSessionCryptInfoSigned {
|
||||||
|
optional bytes info = 1;
|
||||||
|
optional bytes signature = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramDiagnostic {
|
||||||
|
optional uint32 severity = 1;
|
||||||
|
optional string text = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramLinkInstantaneousStats {
|
||||||
|
optional uint32 out_packets_per_sec_x10 = 1;
|
||||||
|
optional uint32 out_bytes_per_sec = 2;
|
||||||
|
optional uint32 in_packets_per_sec_x10 = 3;
|
||||||
|
optional uint32 in_bytes_per_sec = 4;
|
||||||
|
optional uint32 ping_ms = 5;
|
||||||
|
optional uint32 packets_dropped_pct = 6;
|
||||||
|
optional uint32 packets_weird_sequence_pct = 7;
|
||||||
|
optional uint32 peak_jitter_usec = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramLinkLifetimeStats {
|
||||||
|
optional uint32 connected_seconds = 2;
|
||||||
|
optional uint64 packets_sent = 3;
|
||||||
|
optional uint64 kb_sent = 4;
|
||||||
|
optional uint64 packets_recv = 5;
|
||||||
|
optional uint64 kb_recv = 6;
|
||||||
|
optional uint64 packets_recv_sequenced = 7;
|
||||||
|
optional uint64 packets_recv_dropped = 8;
|
||||||
|
optional uint64 packets_recv_out_of_order = 9;
|
||||||
|
optional uint64 packets_recv_out_of_order_corrected = 15;
|
||||||
|
optional uint64 packets_recv_duplicate = 10;
|
||||||
|
optional uint64 packets_recv_lurch = 11;
|
||||||
|
repeated uint64 multipath_packets_recv_sequenced = 12;
|
||||||
|
repeated uint64 multipath_packets_recv_later = 13;
|
||||||
|
optional uint32 multipath_send_enabled = 14;
|
||||||
|
optional uint32 quality_histogram_100 = 21;
|
||||||
|
optional uint32 quality_histogram_99 = 22;
|
||||||
|
optional uint32 quality_histogram_97 = 23;
|
||||||
|
optional uint32 quality_histogram_95 = 24;
|
||||||
|
optional uint32 quality_histogram_90 = 25;
|
||||||
|
optional uint32 quality_histogram_75 = 26;
|
||||||
|
optional uint32 quality_histogram_50 = 27;
|
||||||
|
optional uint32 quality_histogram_1 = 28;
|
||||||
|
optional uint32 quality_histogram_dead = 29;
|
||||||
|
optional uint32 quality_ntile_2nd = 30;
|
||||||
|
optional uint32 quality_ntile_5th = 31;
|
||||||
|
optional uint32 quality_ntile_25th = 32;
|
||||||
|
optional uint32 quality_ntile_50th = 33;
|
||||||
|
optional uint32 ping_histogram_25 = 41;
|
||||||
|
optional uint32 ping_histogram_50 = 42;
|
||||||
|
optional uint32 ping_histogram_75 = 43;
|
||||||
|
optional uint32 ping_histogram_100 = 44;
|
||||||
|
optional uint32 ping_histogram_125 = 45;
|
||||||
|
optional uint32 ping_histogram_150 = 46;
|
||||||
|
optional uint32 ping_histogram_200 = 47;
|
||||||
|
optional uint32 ping_histogram_300 = 48;
|
||||||
|
optional uint32 ping_histogram_max = 49;
|
||||||
|
optional uint32 ping_ntile_5th = 50;
|
||||||
|
optional uint32 ping_ntile_50th = 51;
|
||||||
|
optional uint32 ping_ntile_75th = 52;
|
||||||
|
optional uint32 ping_ntile_95th = 53;
|
||||||
|
optional uint32 ping_ntile_98th = 54;
|
||||||
|
optional uint32 jitter_histogram_negligible = 61;
|
||||||
|
optional uint32 jitter_histogram_1 = 62;
|
||||||
|
optional uint32 jitter_histogram_2 = 63;
|
||||||
|
optional uint32 jitter_histogram_5 = 64;
|
||||||
|
optional uint32 jitter_histogram_10 = 65;
|
||||||
|
optional uint32 jitter_histogram_20 = 66;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramConnectionQuality {
|
||||||
|
optional .CMsgSteamDatagramLinkInstantaneousStats instantaneous = 1;
|
||||||
|
optional .CMsgSteamDatagramLinkLifetimeStats lifetime = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgICECandidate {
|
||||||
|
optional string candidate = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgICERendezvous {
|
||||||
|
message Auth {
|
||||||
|
optional string pwd_frag = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgICERendezvous.Auth auth = 2;
|
||||||
|
optional .CMsgICECandidate add_candidate = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamNetworkingP2PRendezvous {
|
||||||
|
message ConnectRequest {
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 6;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 7;
|
||||||
|
optional uint32 to_virtual_port = 9;
|
||||||
|
optional uint32 from_virtual_port = 10;
|
||||||
|
optional string from_fakeip = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ConnectOK {
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 5;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ConnectionClosed {
|
||||||
|
optional string debug = 5;
|
||||||
|
optional uint32 reason_code = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ReliableMessage {
|
||||||
|
optional .CMsgICERendezvous ice = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ApplicationMessage {
|
||||||
|
optional bytes data = 1;
|
||||||
|
optional uint64 msg_num = 2;
|
||||||
|
optional uint32 flags = 3;
|
||||||
|
optional uint32 lane_idx = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string from_identity = 8;
|
||||||
|
optional fixed32 from_connection_id = 9;
|
||||||
|
optional string to_identity = 10;
|
||||||
|
optional fixed32 to_connection_id = 1;
|
||||||
|
optional bytes sdr_routes = 2;
|
||||||
|
optional uint32 ack_peer_routes_revision = 3;
|
||||||
|
optional bool ice_enabled = 7;
|
||||||
|
optional bytes hosted_server_ticket = 14;
|
||||||
|
optional .CMsgSteamNetworkingP2PRendezvous.ConnectRequest connect_request = 4;
|
||||||
|
optional .CMsgSteamNetworkingP2PRendezvous.ConnectOK connect_ok = 5;
|
||||||
|
optional .CMsgSteamNetworkingP2PRendezvous.ConnectionClosed connection_closed = 6;
|
||||||
|
optional uint32 ack_reliable_msg = 11;
|
||||||
|
optional uint32 first_reliable_msg = 12;
|
||||||
|
repeated .CMsgSteamNetworkingP2PRendezvous.ReliableMessage reliable_messages = 13;
|
||||||
|
repeated .CMsgSteamNetworkingP2PRendezvous.ApplicationMessage application_messages = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamNetworkingICESessionSummary {
|
||||||
|
optional uint32 failure_reason_code = 7;
|
||||||
|
optional uint32 local_candidate_types = 1;
|
||||||
|
optional uint32 remote_candidate_types = 2;
|
||||||
|
optional uint32 initial_route_kind = 3;
|
||||||
|
optional uint32 initial_ping = 4;
|
||||||
|
optional uint32 initial_score = 6;
|
||||||
|
optional uint32 negotiation_ms = 5;
|
||||||
|
optional uint32 best_route_kind = 16;
|
||||||
|
optional uint32 best_ping = 17;
|
||||||
|
optional uint32 best_score = 18;
|
||||||
|
optional uint32 best_time = 19;
|
||||||
|
optional uint32 selected_seconds = 12;
|
||||||
|
optional uint32 user_settings = 13;
|
||||||
|
optional uint32 ice_enable_var = 14;
|
||||||
|
optional uint32 local_candidate_types_allowed = 15;
|
||||||
|
}
|
||||||
38
protos/steamnetworkingsockets_messages_certs.proto
Normal file
38
protos/steamnetworkingsockets_messages_certs.proto
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
message CMsgSteamNetworkingIdentityLegacyBinary {
|
||||||
|
optional fixed64 steam_id = 16;
|
||||||
|
optional bytes generic_bytes = 2;
|
||||||
|
optional string generic_string = 3;
|
||||||
|
optional bytes ipv6_and_port = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramCertificate {
|
||||||
|
enum EKeyType {
|
||||||
|
INVALID = 0;
|
||||||
|
ED25519 = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramCertificate.EKeyType key_type = 1 [default = INVALID];
|
||||||
|
optional bytes key_data = 2;
|
||||||
|
optional fixed64 legacy_steam_id = 4;
|
||||||
|
optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 11;
|
||||||
|
optional string identity_string = 12;
|
||||||
|
repeated fixed32 gameserver_datacenter_ids = 5;
|
||||||
|
optional fixed32 time_created = 8;
|
||||||
|
optional fixed32 time_expiry = 9;
|
||||||
|
repeated uint32 app_ids = 10;
|
||||||
|
repeated string ip_addresses = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramCertificateSigned {
|
||||||
|
optional bytes cert = 4;
|
||||||
|
optional fixed64 ca_key_id = 5;
|
||||||
|
optional bytes ca_signature = 6;
|
||||||
|
optional bytes private_key_data = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamDatagramCertificateRequest {
|
||||||
|
optional .CMsgSteamDatagramCertificate cert = 1;
|
||||||
|
}
|
||||||
75
protos/steamnetworkingsockets_messages_udp.proto
Normal file
75
protos/steamnetworkingsockets_messages_udp.proto
Normal file
|
|
@ -0,0 +1,75 @@
|
||||||
|
import "steamnetworkingsockets_messages_certs.proto";
|
||||||
|
import "steamnetworkingsockets_messages.proto";
|
||||||
|
|
||||||
|
option optimize_for = SPEED;
|
||||||
|
option cc_generic_services = false;
|
||||||
|
|
||||||
|
enum ESteamNetworkingUDPMsgID {
|
||||||
|
k_ESteamNetworkingUDPMsg_ChallengeRequest = 32;
|
||||||
|
k_ESteamNetworkingUDPMsg_ChallengeReply = 33;
|
||||||
|
k_ESteamNetworkingUDPMsg_ConnectRequest = 34;
|
||||||
|
k_ESteamNetworkingUDPMsg_ConnectOK = 35;
|
||||||
|
k_ESteamNetworkingUDPMsg_ConnectionClosed = 36;
|
||||||
|
k_ESteamNetworkingUDPMsg_NoConnection = 37;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_ChallengeRequest {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional fixed64 my_timestamp = 3;
|
||||||
|
optional uint32 protocol_version = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_ChallengeReply {
|
||||||
|
optional fixed32 connection_id = 1;
|
||||||
|
optional fixed64 challenge = 2;
|
||||||
|
optional fixed64 your_timestamp = 3;
|
||||||
|
optional uint32 protocol_version = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_ConnectRequest {
|
||||||
|
optional fixed32 client_connection_id = 1;
|
||||||
|
optional fixed64 challenge = 2;
|
||||||
|
optional fixed64 my_timestamp = 5;
|
||||||
|
optional uint32 ping_est_ms = 6;
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 4;
|
||||||
|
optional uint32 legacy_protocol_version = 8;
|
||||||
|
optional string identity_string = 10;
|
||||||
|
optional fixed64 legacy_client_steam_id = 3;
|
||||||
|
optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 9;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_ConnectOK {
|
||||||
|
optional fixed32 client_connection_id = 1;
|
||||||
|
optional fixed32 server_connection_id = 5;
|
||||||
|
optional fixed64 your_timestamp = 3;
|
||||||
|
optional uint32 delay_time_usec = 4;
|
||||||
|
optional .CMsgSteamDatagramSessionCryptInfoSigned crypt = 7;
|
||||||
|
optional .CMsgSteamDatagramCertificateSigned cert = 8;
|
||||||
|
optional string identity_string = 11;
|
||||||
|
optional fixed64 legacy_server_steam_id = 2;
|
||||||
|
optional .CMsgSteamNetworkingIdentityLegacyBinary legacy_identity_binary = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_ConnectionClosed {
|
||||||
|
optional fixed32 to_connection_id = 4;
|
||||||
|
optional fixed32 from_connection_id = 5;
|
||||||
|
optional string debug = 2;
|
||||||
|
optional uint32 reason_code = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_NoConnection {
|
||||||
|
optional fixed32 from_connection_id = 2;
|
||||||
|
optional fixed32 to_connection_id = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgSteamSockets_UDP_Stats {
|
||||||
|
enum Flags {
|
||||||
|
ACK_REQUEST_E2E = 2;
|
||||||
|
ACK_REQUEST_IMMEDIATE = 4;
|
||||||
|
NOT_PRIMARY_TRANSPORT_E2E = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional .CMsgSteamDatagramConnectionQuality stats = 1;
|
||||||
|
optional uint32 flags = 3;
|
||||||
|
}
|
||||||
262
protos/te.proto
Normal file
262
protos/te.proto
Normal file
|
|
@ -0,0 +1,262 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum ETEProtobufIds {
|
||||||
|
TE_EffectDispatchId = 400;
|
||||||
|
TE_ArmorRicochetId = 401;
|
||||||
|
TE_BeamEntPointId = 402;
|
||||||
|
TE_BeamEntsId = 403;
|
||||||
|
TE_BeamPointsId = 404;
|
||||||
|
TE_BeamRingId = 405;
|
||||||
|
TE_BSPDecalId = 407;
|
||||||
|
TE_BubblesId = 408;
|
||||||
|
TE_BubbleTrailId = 409;
|
||||||
|
TE_DecalId = 410;
|
||||||
|
TE_WorldDecalId = 411;
|
||||||
|
TE_EnergySplashId = 412;
|
||||||
|
TE_FizzId = 413;
|
||||||
|
TE_ShatterSurfaceId = 414;
|
||||||
|
TE_GlowSpriteId = 415;
|
||||||
|
TE_ImpactId = 416;
|
||||||
|
TE_MuzzleFlashId = 417;
|
||||||
|
TE_BloodStreamId = 418;
|
||||||
|
TE_ExplosionId = 419;
|
||||||
|
TE_DustId = 420;
|
||||||
|
TE_LargeFunnelId = 421;
|
||||||
|
TE_SparksId = 422;
|
||||||
|
TE_PhysicsPropId = 423;
|
||||||
|
TE_PlayerDecalId = 424;
|
||||||
|
TE_ProjectedDecalId = 425;
|
||||||
|
TE_SmokeId = 426;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEArmorRicochet {
|
||||||
|
optional .CMsgVector pos = 1;
|
||||||
|
optional .CMsgVector dir = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBaseBeam {
|
||||||
|
optional fixed64 modelindex = 1;
|
||||||
|
optional fixed64 haloindex = 2;
|
||||||
|
optional uint32 startframe = 3;
|
||||||
|
optional uint32 framerate = 4;
|
||||||
|
optional float life = 5;
|
||||||
|
optional float width = 6;
|
||||||
|
optional float endwidth = 7;
|
||||||
|
optional uint32 fadelength = 8;
|
||||||
|
optional float amplitude = 9;
|
||||||
|
optional fixed32 color = 10;
|
||||||
|
optional uint32 speed = 11;
|
||||||
|
optional uint32 flags = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBeamEntPoint {
|
||||||
|
optional .CMsgTEBaseBeam base = 1;
|
||||||
|
optional uint32 startentity = 2;
|
||||||
|
optional uint32 endentity = 3;
|
||||||
|
optional .CMsgVector start = 4;
|
||||||
|
optional .CMsgVector end = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBeamEnts {
|
||||||
|
optional .CMsgTEBaseBeam base = 1;
|
||||||
|
optional uint32 startentity = 2;
|
||||||
|
optional uint32 endentity = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBeamPoints {
|
||||||
|
optional .CMsgTEBaseBeam base = 1;
|
||||||
|
optional .CMsgVector start = 2;
|
||||||
|
optional .CMsgVector end = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBeamRing {
|
||||||
|
optional .CMsgTEBaseBeam base = 1;
|
||||||
|
optional uint32 startentity = 2;
|
||||||
|
optional uint32 endentity = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBSPDecal {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector normal = 2;
|
||||||
|
optional .CMsgVector saxis = 3;
|
||||||
|
optional int32 entity = 4 [default = -1];
|
||||||
|
optional uint32 index = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBubbles {
|
||||||
|
optional .CMsgVector mins = 1;
|
||||||
|
optional .CMsgVector maxs = 2;
|
||||||
|
optional float height = 3;
|
||||||
|
optional uint32 count = 4;
|
||||||
|
optional float speed = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBubbleTrail {
|
||||||
|
optional .CMsgVector mins = 1;
|
||||||
|
optional .CMsgVector maxs = 2;
|
||||||
|
optional float waterz = 3;
|
||||||
|
optional uint32 count = 4;
|
||||||
|
optional float speed = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEDecal {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector start = 2;
|
||||||
|
optional int32 entity = 3 [default = -1];
|
||||||
|
optional uint32 hitbox = 4;
|
||||||
|
optional uint32 index = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgEffectData {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector start = 2;
|
||||||
|
optional .CMsgVector normal = 3;
|
||||||
|
optional .CMsgQAngle angles = 4;
|
||||||
|
optional fixed32 entity = 5 [default = 16777215];
|
||||||
|
optional fixed32 otherentity = 6 [default = 16777215];
|
||||||
|
optional float scale = 7;
|
||||||
|
optional float magnitude = 8;
|
||||||
|
optional float radius = 9;
|
||||||
|
optional fixed32 surfaceprop = 10;
|
||||||
|
optional fixed64 effectindex = 11;
|
||||||
|
optional uint32 damagetype = 12;
|
||||||
|
optional uint32 material = 13;
|
||||||
|
optional uint32 hitbox = 14;
|
||||||
|
optional uint32 color = 15;
|
||||||
|
optional uint32 flags = 16;
|
||||||
|
optional int32 attachmentindex = 17;
|
||||||
|
optional uint32 effectname = 18;
|
||||||
|
optional uint32 attachmentname = 19;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEEffectDispatch {
|
||||||
|
optional .CMsgEffectData effectdata = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEEnergySplash {
|
||||||
|
optional .CMsgVector pos = 1;
|
||||||
|
optional .CMsgVector dir = 2;
|
||||||
|
optional bool explosive = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEFizz {
|
||||||
|
optional int32 entity = 1 [default = -1];
|
||||||
|
optional uint32 density = 2;
|
||||||
|
optional int32 current = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEShatterSurface {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgQAngle angles = 2;
|
||||||
|
optional .CMsgVector force = 3;
|
||||||
|
optional .CMsgVector forcepos = 4;
|
||||||
|
optional float width = 5;
|
||||||
|
optional float height = 6;
|
||||||
|
optional float shardsize = 7;
|
||||||
|
optional uint32 surfacetype = 8;
|
||||||
|
optional fixed32 frontcolor = 9;
|
||||||
|
optional fixed32 backcolor = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEGlowSprite {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional float scale = 2;
|
||||||
|
optional float life = 3;
|
||||||
|
optional uint32 brightness = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEImpact {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector normal = 2;
|
||||||
|
optional uint32 type = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEMuzzleFlash {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgQAngle angles = 2;
|
||||||
|
optional float scale = 3;
|
||||||
|
optional uint32 type = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEBloodStream {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector direction = 2;
|
||||||
|
optional fixed32 color = 3;
|
||||||
|
optional uint32 amount = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEExplosion {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional uint32 framerate = 2;
|
||||||
|
optional uint32 flags = 3;
|
||||||
|
optional .CMsgVector normal = 4;
|
||||||
|
optional uint32 materialtype = 5;
|
||||||
|
optional uint32 radius = 6;
|
||||||
|
optional uint32 magnitude = 7;
|
||||||
|
optional float scale = 8;
|
||||||
|
optional bool affect_ragdolls = 9;
|
||||||
|
optional string effect_name = 10;
|
||||||
|
optional uint32 explosion_type = 11;
|
||||||
|
optional bool create_debris = 12;
|
||||||
|
optional .CMsgVector debris_origin = 13;
|
||||||
|
optional fixed32 debris_surfaceprop = 14;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEDust {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional float size = 2;
|
||||||
|
optional float speed = 3;
|
||||||
|
optional .CMsgVector direction = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTELargeFunnel {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional uint32 reversed = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTESparks {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional uint32 magnitude = 2;
|
||||||
|
optional uint32 length = 3;
|
||||||
|
optional .CMsgVector direction = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEPhysicsProp {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector velocity = 2;
|
||||||
|
optional .CMsgQAngle angles = 3;
|
||||||
|
optional fixed32 skin = 4;
|
||||||
|
optional uint32 flags = 5;
|
||||||
|
optional uint32 effects = 6;
|
||||||
|
optional fixed32 color = 7;
|
||||||
|
optional fixed64 modelindex = 8;
|
||||||
|
optional uint32 unused_breakmodelsnottomake = 9;
|
||||||
|
optional float scale = 10;
|
||||||
|
optional .CMsgVector dmgpos = 11;
|
||||||
|
optional .CMsgVector dmgdir = 12;
|
||||||
|
optional int32 dmgtype = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEPlayerDecal {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional int32 player = 2 [default = -1];
|
||||||
|
optional int32 entity = 3 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEProjectedDecal {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgQAngle angles = 2;
|
||||||
|
optional uint32 index = 3;
|
||||||
|
optional float distance = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTESmoke {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional float scale = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CMsgTEWorldDecal {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional .CMsgVector normal = 2;
|
||||||
|
optional uint32 index = 3;
|
||||||
|
}
|
||||||
13
protos/uifontfile_format.proto
Normal file
13
protos/uifontfile_format.proto
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
message CUIFontFilePB {
|
||||||
|
optional string font_file_name = 1;
|
||||||
|
optional bytes opentype_font_data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUIFontFilePackagePB {
|
||||||
|
message CUIEncryptedFontFilePB {
|
||||||
|
optional bytes encrypted_contents = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
required uint32 package_version = 1;
|
||||||
|
repeated .CUIFontFilePackagePB.CUIEncryptedFontFilePB encrypted_font_files = 2;
|
||||||
|
}
|
||||||
39
protos/usercmd.proto
Normal file
39
protos/usercmd.proto
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
message CInButtonStatePB {
|
||||||
|
optional uint64 buttonstate1 = 1;
|
||||||
|
optional uint64 buttonstate2 = 2;
|
||||||
|
optional uint64 buttonstate3 = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CSubtickMoveStep {
|
||||||
|
optional uint64 button = 1;
|
||||||
|
optional bool pressed = 2;
|
||||||
|
optional float when = 3;
|
||||||
|
optional float analog_forward_delta = 4;
|
||||||
|
optional float analog_left_delta = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CBaseUserCmdPB {
|
||||||
|
optional int32 legacy_command_number = 1;
|
||||||
|
optional int32 client_tick = 2;
|
||||||
|
optional .CInButtonStatePB buttons_pb = 3;
|
||||||
|
optional .CMsgQAngle viewangles = 4;
|
||||||
|
optional float forwardmove = 5;
|
||||||
|
optional float leftmove = 6;
|
||||||
|
optional float upmove = 7;
|
||||||
|
optional int32 impulse = 8;
|
||||||
|
optional int32 weaponselect = 9;
|
||||||
|
optional int32 random_seed = 10;
|
||||||
|
optional int32 mousedx = 11;
|
||||||
|
optional int32 mousedy = 12;
|
||||||
|
optional uint32 pawn_entity_handle = 14 [default = 16777215];
|
||||||
|
repeated .CSubtickMoveStep subtick_moves = 18;
|
||||||
|
optional bytes move_crc = 19;
|
||||||
|
optional uint32 consumed_server_angle_changes = 20;
|
||||||
|
optional int32 cmd_flags = 21;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserCmdBasePB {
|
||||||
|
optional .CBaseUserCmdPB base = 1;
|
||||||
|
}
|
||||||
803
protos/usermessages.proto
Normal file
803
protos/usermessages.proto
Normal file
|
|
@ -0,0 +1,803 @@
|
||||||
|
import "networkbasetypes.proto";
|
||||||
|
|
||||||
|
enum EBaseUserMessages {
|
||||||
|
UM_AchievementEvent = 101;
|
||||||
|
UM_CloseCaption = 102;
|
||||||
|
UM_CloseCaptionDirect = 103;
|
||||||
|
UM_CurrentTimescale = 104;
|
||||||
|
UM_DesiredTimescale = 105;
|
||||||
|
UM_Fade = 106;
|
||||||
|
UM_GameTitle = 107;
|
||||||
|
UM_HudMsg = 110;
|
||||||
|
UM_HudText = 111;
|
||||||
|
UM_ColoredText = 113;
|
||||||
|
UM_RequestState = 114;
|
||||||
|
UM_ResetHUD = 115;
|
||||||
|
UM_Rumble = 116;
|
||||||
|
UM_SayText = 117;
|
||||||
|
UM_SayText2 = 118;
|
||||||
|
UM_SayTextChannel = 119;
|
||||||
|
UM_Shake = 120;
|
||||||
|
UM_ShakeDir = 121;
|
||||||
|
UM_WaterShake = 122;
|
||||||
|
UM_TextMsg = 124;
|
||||||
|
UM_ScreenTilt = 125;
|
||||||
|
UM_VoiceMask = 128;
|
||||||
|
UM_SendAudio = 130;
|
||||||
|
UM_ItemPickup = 131;
|
||||||
|
UM_AmmoDenied = 132;
|
||||||
|
UM_ShowMenu = 134;
|
||||||
|
UM_CreditsMsg = 135;
|
||||||
|
UM_CloseCaptionPlaceholder = 142;
|
||||||
|
UM_CameraTransition = 143;
|
||||||
|
UM_AudioParameter = 144;
|
||||||
|
UM_ParticleManager = 145;
|
||||||
|
UM_HudError = 146;
|
||||||
|
UM_CustomGameEvent = 148;
|
||||||
|
UM_AnimGraphUpdate = 149;
|
||||||
|
UM_HapticsManagerPulse = 150;
|
||||||
|
UM_HapticsManagerEffect = 151;
|
||||||
|
UM_CommandQueueState = 152;
|
||||||
|
UM_UpdateCssClasses = 153;
|
||||||
|
UM_ServerFrameTime = 154;
|
||||||
|
UM_LagCompensationError = 155;
|
||||||
|
UM_RequestDllStatus = 156;
|
||||||
|
UM_RequestUtilAction = 157;
|
||||||
|
UM_UtilActionResponse = 158;
|
||||||
|
UM_DllStatusResponse = 159;
|
||||||
|
UM_RequestInventory = 160;
|
||||||
|
UM_InventoryResponse = 161;
|
||||||
|
UM_RequestDiagnostic = 162;
|
||||||
|
UM_DiagnosticResponse = 163;
|
||||||
|
UM_ExtraUserData = 164;
|
||||||
|
UM_NotifyResponseFound = 165;
|
||||||
|
UM_PlayResponseConditional = 166;
|
||||||
|
UM_MAX_BASE = 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EBaseEntityMessages {
|
||||||
|
EM_PlayJingle = 136;
|
||||||
|
EM_ScreenOverlay = 137;
|
||||||
|
EM_RemoveAllDecals = 138;
|
||||||
|
EM_PropagateForce = 139;
|
||||||
|
EM_DoSpark = 140;
|
||||||
|
EM_FixAngle = 141;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum eRollType {
|
||||||
|
ROLL_NONE = -1;
|
||||||
|
ROLL_STATS = 0;
|
||||||
|
ROLL_CREDITS = 1;
|
||||||
|
ROLL_LATE_JOIN_LOGO = 2;
|
||||||
|
ROLL_OUTTRO = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum PARTICLE_MESSAGE {
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CREATE = 0;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE = 1;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_FORWARD = 2;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ORIENTATION = 3;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_FALLBACK = 4;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENT = 5;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_OFFSET = 6;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_DESTROY = 7;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_DESTROY_INVOLVING = 8;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_RELEASE = 9;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_LATENCY = 10;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SHOULD_DRAW = 11;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_FROZEN = 12;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CHANGE_CONTROL_POINT_ATTACHMENT = 13;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_ENTITY_POSITION = 14;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_FOW_PROPERTIES = 15;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_TEXT = 16;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_SHOULD_CHECK_FOW = 17;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_MODEL = 18;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_CONTROL_POINT_SNAPSHOT = 19;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_TEXTURE_ATTRIBUTE = 20;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_GENERIC_FLAG = 21;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_SCENE_OBJECT_TINT_AND_DESAT = 22;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_DESTROY_NAMED = 23;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SKIP_TO_TIME = 24;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CAN_FREEZE = 25;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_NAMED_VALUE_CONTEXT = 26;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_UPDATE_TRANSFORM = 27;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_FREEZE_TRANSITION_OVERRIDE = 28;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_FREEZE_INVOLVING = 29;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_ADD_MODELLIST_OVERRIDE_ELEMENT = 30;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CLEAR_MODELLIST_OVERRIDE = 31;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_CREATE_PHYSICS_SIM = 32;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_DESTROY_PHYSICS_SIM = 33;
|
||||||
|
GAME_PARTICLE_MANAGER_EVENT_SET_VDATA = 34;
|
||||||
|
}
|
||||||
|
|
||||||
|
enum EHapticPulseType {
|
||||||
|
VR_HAND_HAPTIC_PULSE_LIGHT = 0;
|
||||||
|
VR_HAND_HAPTIC_PULSE_MEDIUM = 1;
|
||||||
|
VR_HAND_HAPTIC_PULSE_STRONG = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageAchievementEvent {
|
||||||
|
optional uint32 achievement = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCloseCaption {
|
||||||
|
optional fixed32 hash = 1;
|
||||||
|
optional float duration = 2;
|
||||||
|
optional bool from_player = 3;
|
||||||
|
optional int32 ent_index = 4 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCloseCaptionDirect {
|
||||||
|
optional fixed32 hash = 1;
|
||||||
|
optional float duration = 2;
|
||||||
|
optional bool from_player = 3;
|
||||||
|
optional int32 ent_index = 4 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCloseCaptionPlaceholder {
|
||||||
|
optional string string = 1;
|
||||||
|
optional float duration = 2;
|
||||||
|
optional bool from_player = 3;
|
||||||
|
optional int32 ent_index = 4 [default = -1];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCurrentTimescale {
|
||||||
|
optional float current = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageDesiredTimescale {
|
||||||
|
optional float desired = 1;
|
||||||
|
optional float acceleration = 2;
|
||||||
|
optional float minblendrate = 3;
|
||||||
|
optional float blenddeltamultiplier = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageFade {
|
||||||
|
optional uint32 duration = 1;
|
||||||
|
optional uint32 hold_time = 2;
|
||||||
|
optional uint32 flags = 3;
|
||||||
|
optional fixed32 color = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageShake {
|
||||||
|
optional uint32 command = 1;
|
||||||
|
optional float amplitude = 2;
|
||||||
|
optional float frequency = 3;
|
||||||
|
optional float duration = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageShakeDir {
|
||||||
|
optional .CUserMessageShake shake = 1;
|
||||||
|
optional .CMsgVector direction = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageWaterShake {
|
||||||
|
optional uint32 command = 1;
|
||||||
|
optional float amplitude = 2;
|
||||||
|
optional float frequency = 3;
|
||||||
|
optional float duration = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageScreenTilt {
|
||||||
|
optional uint32 command = 1;
|
||||||
|
optional bool ease_in_out = 2;
|
||||||
|
optional .CMsgVector angle = 3;
|
||||||
|
optional float duration = 4;
|
||||||
|
optional float time = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageSayText {
|
||||||
|
optional int32 playerindex = 1 [default = -1];
|
||||||
|
optional string text = 2;
|
||||||
|
optional bool chat = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageSayText2 {
|
||||||
|
optional int32 entityindex = 1 [default = -1];
|
||||||
|
optional bool chat = 2;
|
||||||
|
optional string messagename = 3;
|
||||||
|
optional string param1 = 4;
|
||||||
|
optional string param2 = 5;
|
||||||
|
optional string param3 = 6;
|
||||||
|
optional string param4 = 7;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageHudMsg {
|
||||||
|
optional uint32 channel = 1;
|
||||||
|
optional float x = 2;
|
||||||
|
optional float y = 3;
|
||||||
|
optional fixed32 color1 = 4;
|
||||||
|
optional fixed32 color2 = 5;
|
||||||
|
optional uint32 effect = 6;
|
||||||
|
optional string message = 11;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageHudText {
|
||||||
|
optional string message = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageTextMsg {
|
||||||
|
optional uint32 dest = 1;
|
||||||
|
repeated string param = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageGameTitle {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageResetHUD {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageSendAudio {
|
||||||
|
optional string soundname = 1;
|
||||||
|
optional bool stop = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageAudioParameter {
|
||||||
|
optional uint32 parameter_type = 1;
|
||||||
|
optional uint32 name_hash_code = 2;
|
||||||
|
optional float value = 3;
|
||||||
|
optional uint32 int_value = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageVoiceMask {
|
||||||
|
repeated uint32 gamerules_masks = 1;
|
||||||
|
repeated uint32 ban_masks = 2;
|
||||||
|
optional bool mod_enable = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRequestState {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRumble {
|
||||||
|
optional int32 index = 1;
|
||||||
|
optional int32 data = 2;
|
||||||
|
optional int32 flags = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageSayTextChannel {
|
||||||
|
optional int32 player = 1;
|
||||||
|
optional int32 channel = 2;
|
||||||
|
optional string text = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageColoredText {
|
||||||
|
optional uint32 color = 1;
|
||||||
|
optional string text = 2;
|
||||||
|
optional bool reset = 3;
|
||||||
|
optional int32 context_player_slot = 4 [default = -1];
|
||||||
|
optional int32 context_value = 5;
|
||||||
|
optional int32 context_team_id = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageItemPickup {
|
||||||
|
optional string itemname = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageAmmoDenied {
|
||||||
|
optional uint32 ammo_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageShowMenu {
|
||||||
|
optional uint32 validslots = 1;
|
||||||
|
optional uint32 displaytime = 2;
|
||||||
|
optional bool needmore = 3;
|
||||||
|
optional string menustring = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCreditsMsg {
|
||||||
|
optional .eRollType rolltype = 1 [default = ROLL_NONE];
|
||||||
|
optional float logo_length = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessagePlayJingle {
|
||||||
|
optional .CEntityMsg entity_msg = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessageScreenOverlay {
|
||||||
|
optional bool start_effect = 1;
|
||||||
|
optional .CEntityMsg entity_msg = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessageRemoveAllDecals {
|
||||||
|
optional bool remove_decals = 1;
|
||||||
|
optional .CEntityMsg entity_msg = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessagePropagateForce {
|
||||||
|
optional .CMsgVector impulse = 1;
|
||||||
|
optional .CEntityMsg entity_msg = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessageDoSpark {
|
||||||
|
optional .CMsgVector origin = 1;
|
||||||
|
optional int32 entityindex = 2 [default = -1];
|
||||||
|
optional float radius = 3;
|
||||||
|
optional fixed32 color = 4;
|
||||||
|
optional uint32 beams = 5;
|
||||||
|
optional float thick = 6;
|
||||||
|
optional float duration = 7;
|
||||||
|
optional .CEntityMsg entity_msg = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CEntityMessageFixAngle {
|
||||||
|
optional bool relative = 1;
|
||||||
|
optional .CMsgQAngle angle = 2;
|
||||||
|
optional .CEntityMsg entity_msg = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageCameraTransition {
|
||||||
|
message Transition_DataDriven {
|
||||||
|
optional string filename = 1;
|
||||||
|
optional int32 attach_ent_index = 2 [default = -1];
|
||||||
|
optional float duration = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional uint32 camera_type = 1;
|
||||||
|
optional float duration = 2;
|
||||||
|
optional .CUserMessageCameraTransition.Transition_DataDriven params_data_driven = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMsg_ParticleManager {
|
||||||
|
message ReleaseParticleIndex {
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreateParticle {
|
||||||
|
optional fixed64 particle_name_index = 1;
|
||||||
|
optional int32 attach_type = 2;
|
||||||
|
optional uint32 entity_handle = 3 [default = 16777215];
|
||||||
|
optional uint32 entity_handle_for_modifiers = 4 [default = 16777215];
|
||||||
|
optional bool apply_voice_ban_rules = 5;
|
||||||
|
optional int32 team_behavior = 6;
|
||||||
|
optional string control_point_configuration = 7;
|
||||||
|
optional bool cluster = 8;
|
||||||
|
optional float endcap_time = 9;
|
||||||
|
optional .CMsgVector aggregation_position = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyParticle {
|
||||||
|
optional bool destroy_immediately = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyParticleInvolving {
|
||||||
|
optional bool destroy_immediately = 1;
|
||||||
|
optional uint32 entity_handle = 3 [default = 16777215];
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyParticleNamed {
|
||||||
|
optional fixed64 particle_name_index = 1;
|
||||||
|
optional uint32 entity_handle = 2 [default = 16777215];
|
||||||
|
optional bool destroy_immediately = 3;
|
||||||
|
optional bool play_endcap = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticle_OBSOLETE {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector position = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleFwd_OBSOLETE {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector forward = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleOrient_OBSOLETE {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector forward = 2;
|
||||||
|
optional .CMsgVector deprecated_right = 3;
|
||||||
|
optional .CMsgVector up = 4;
|
||||||
|
optional .CMsgVector left = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleTransform {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector position = 2;
|
||||||
|
optional .CMsgQuaternion orientation = 3;
|
||||||
|
optional float interpolation_interval = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleFallback {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector position = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleOffset {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional .CMsgVector origin_offset = 2;
|
||||||
|
optional .CMsgQAngle angle_offset = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
optional bool include_wearables = 6;
|
||||||
|
optional .CMsgVector offset_position = 7;
|
||||||
|
optional .CMsgQAngle offset_angles = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleSetFrozen {
|
||||||
|
optional bool set_frozen = 1;
|
||||||
|
optional float transition_duration = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateParticleShouldDraw {
|
||||||
|
optional bool should_draw = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ChangeControlPointAttachment {
|
||||||
|
optional int32 attachment_old = 1;
|
||||||
|
optional int32 attachment_new = 2;
|
||||||
|
optional uint32 entity_handle = 3 [default = 16777215];
|
||||||
|
}
|
||||||
|
|
||||||
|
message UpdateEntityPosition {
|
||||||
|
optional uint32 entity_handle = 1 [default = 16777215];
|
||||||
|
optional .CMsgVector position = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetParticleFoWProperties {
|
||||||
|
optional int32 fow_control_point = 1;
|
||||||
|
optional int32 fow_control_point2 = 2;
|
||||||
|
optional float fow_radius = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetParticleShouldCheckFoW {
|
||||||
|
optional bool check_fow = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetControlPointModel {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional string model_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetControlPointSnapshot {
|
||||||
|
optional int32 control_point = 1;
|
||||||
|
optional string snapshot_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetParticleText {
|
||||||
|
optional string text = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetTextureAttribute {
|
||||||
|
optional string attribute_name = 1;
|
||||||
|
optional string texture_name = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetSceneObjectGenericFlag {
|
||||||
|
optional bool flag_value = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetSceneObjectTintAndDesat {
|
||||||
|
optional fixed32 tint = 1;
|
||||||
|
optional float desat = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ParticleSkipToTime {
|
||||||
|
optional float skip_to_time = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ParticleCanFreeze {
|
||||||
|
optional bool can_freeze = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ParticleFreezeTransitionOverride {
|
||||||
|
optional float freeze_transition_override = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message FreezeParticleInvolving {
|
||||||
|
optional bool set_frozen = 1;
|
||||||
|
optional float transition_duration = 2;
|
||||||
|
optional uint32 entity_handle = 3 [default = 16777215];
|
||||||
|
}
|
||||||
|
|
||||||
|
message AddModellistOverrideElement {
|
||||||
|
optional string model_name = 1;
|
||||||
|
optional float spawn_probability = 2;
|
||||||
|
optional uint32 groupid = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message ClearModellistOverride {
|
||||||
|
optional uint32 groupid = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetParticleNamedValueContext {
|
||||||
|
message FloatContextValue {
|
||||||
|
optional uint32 value_name_hash = 1;
|
||||||
|
optional float value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VectorContextValue {
|
||||||
|
optional uint32 value_name_hash = 1;
|
||||||
|
optional .CMsgVector value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message TransformContextValue {
|
||||||
|
optional uint32 value_name_hash = 1;
|
||||||
|
optional .CMsgQAngle angles = 2;
|
||||||
|
optional .CMsgVector translation = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message EHandleContext {
|
||||||
|
optional uint32 value_name_hash = 1;
|
||||||
|
optional uint32 ent_index = 2 [default = 16777215];
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.FloatContextValue float_values = 1;
|
||||||
|
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.VectorContextValue vector_values = 2;
|
||||||
|
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.TransformContextValue transform_values = 3;
|
||||||
|
repeated .CUserMsg_ParticleManager.SetParticleNamedValueContext.EHandleContext ehandle_values = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CreatePhysicsSim {
|
||||||
|
optional string prop_group_name = 1;
|
||||||
|
optional bool use_high_quality_simulation = 2;
|
||||||
|
optional uint32 max_particle_count = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message DestroyPhysicsSim {
|
||||||
|
}
|
||||||
|
|
||||||
|
message SetVData {
|
||||||
|
optional string vdata_name = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
required .PARTICLE_MESSAGE type = 1 [default = GAME_PARTICLE_MANAGER_EVENT_CREATE];
|
||||||
|
required uint32 index = 2;
|
||||||
|
optional .CUserMsg_ParticleManager.ReleaseParticleIndex release_particle_index = 3;
|
||||||
|
optional .CUserMsg_ParticleManager.CreateParticle create_particle = 4;
|
||||||
|
optional .CUserMsg_ParticleManager.DestroyParticle destroy_particle = 5;
|
||||||
|
optional .CUserMsg_ParticleManager.DestroyParticleInvolving destroy_particle_involving = 6;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticle_OBSOLETE update_particle = 7;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleFwd_OBSOLETE update_particle_fwd = 8;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleOrient_OBSOLETE update_particle_orient = 9;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleFallback update_particle_fallback = 10;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleOffset update_particle_offset = 11;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleEnt update_particle_ent = 12;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleShouldDraw update_particle_should_draw = 14;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleSetFrozen update_particle_set_frozen = 15;
|
||||||
|
optional .CUserMsg_ParticleManager.ChangeControlPointAttachment change_control_point_attachment = 16;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateEntityPosition update_entity_position = 17;
|
||||||
|
optional .CUserMsg_ParticleManager.SetParticleFoWProperties set_particle_fow_properties = 18;
|
||||||
|
optional .CUserMsg_ParticleManager.SetParticleText set_particle_text = 19;
|
||||||
|
optional .CUserMsg_ParticleManager.SetParticleShouldCheckFoW set_particle_should_check_fow = 20;
|
||||||
|
optional .CUserMsg_ParticleManager.SetControlPointModel set_control_point_model = 21;
|
||||||
|
optional .CUserMsg_ParticleManager.SetControlPointSnapshot set_control_point_snapshot = 22;
|
||||||
|
optional .CUserMsg_ParticleManager.SetTextureAttribute set_texture_attribute = 23;
|
||||||
|
optional .CUserMsg_ParticleManager.SetSceneObjectGenericFlag set_scene_object_generic_flag = 24;
|
||||||
|
optional .CUserMsg_ParticleManager.SetSceneObjectTintAndDesat set_scene_object_tint_and_desat = 25;
|
||||||
|
optional .CUserMsg_ParticleManager.DestroyParticleNamed destroy_particle_named = 26;
|
||||||
|
optional .CUserMsg_ParticleManager.ParticleSkipToTime particle_skip_to_time = 27;
|
||||||
|
optional .CUserMsg_ParticleManager.ParticleCanFreeze particle_can_freeze = 28;
|
||||||
|
optional .CUserMsg_ParticleManager.SetParticleNamedValueContext set_named_value_context = 29;
|
||||||
|
optional .CUserMsg_ParticleManager.UpdateParticleTransform update_particle_transform = 30;
|
||||||
|
optional .CUserMsg_ParticleManager.ParticleFreezeTransitionOverride particle_freeze_transition_override = 31;
|
||||||
|
optional .CUserMsg_ParticleManager.FreezeParticleInvolving freeze_particle_involving = 32;
|
||||||
|
optional .CUserMsg_ParticleManager.AddModellistOverrideElement add_modellist_override_element = 33;
|
||||||
|
optional .CUserMsg_ParticleManager.ClearModellistOverride clear_modellist_override = 34;
|
||||||
|
optional .CUserMsg_ParticleManager.CreatePhysicsSim create_physics_sim = 35;
|
||||||
|
optional .CUserMsg_ParticleManager.DestroyPhysicsSim destroy_physics_sim = 36;
|
||||||
|
optional .CUserMsg_ParticleManager.SetVData set_vdata = 37;
|
||||||
|
|
||||||
|
extensions 100 to 201;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMsg_HudError {
|
||||||
|
optional int32 order_id = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMsg_CustomGameEvent {
|
||||||
|
optional string event_name = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageHapticsManagerPulse {
|
||||||
|
optional int32 hand_id = 1;
|
||||||
|
optional float effect_amplitude = 2;
|
||||||
|
optional float effect_frequency = 3;
|
||||||
|
optional float effect_duration = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageHapticsManagerEffect {
|
||||||
|
optional int32 hand_id = 1;
|
||||||
|
optional uint32 effect_name_hash_code = 2;
|
||||||
|
optional float effect_scale = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageAnimStateGraphState {
|
||||||
|
optional int32 entity_index = 1;
|
||||||
|
optional bytes data = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageUpdateCssClasses {
|
||||||
|
optional int32 target_world_panel = 1;
|
||||||
|
optional string css_classes = 2;
|
||||||
|
optional bool is_add = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageServerFrameTime {
|
||||||
|
optional float frame_time = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageLagCompensationError {
|
||||||
|
optional float distance = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRequestDllStatus {
|
||||||
|
optional string dll_action = 1;
|
||||||
|
optional bool full_report = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRequestUtilAction {
|
||||||
|
optional int32 util1 = 2;
|
||||||
|
optional int32 util2 = 3;
|
||||||
|
optional int32 util3 = 4;
|
||||||
|
optional int32 util4 = 5;
|
||||||
|
optional int32 util5 = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_UtilMsg_Response {
|
||||||
|
message ItemDetail {
|
||||||
|
optional int32 index = 1;
|
||||||
|
optional int32 hash = 2;
|
||||||
|
optional int32 crc = 3;
|
||||||
|
optional string name = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 crc = 1;
|
||||||
|
optional int32 item_count = 2;
|
||||||
|
optional fixed32 crc2 = 3;
|
||||||
|
optional int32 item_count2 = 4;
|
||||||
|
repeated int32 crc_part = 5;
|
||||||
|
repeated int32 crc_part2 = 6;
|
||||||
|
optional int32 client_timestamp = 7;
|
||||||
|
optional int32 platform = 8;
|
||||||
|
repeated .CUserMessage_UtilMsg_Response.ItemDetail itemdetails = 9;
|
||||||
|
optional int32 itemgroup = 10;
|
||||||
|
optional int32 total_count = 11;
|
||||||
|
optional int32 total_count2 = 12;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_DllStatus {
|
||||||
|
message CVDiagnostic {
|
||||||
|
optional uint32 id = 1;
|
||||||
|
optional uint32 extended = 2;
|
||||||
|
optional uint64 value = 3;
|
||||||
|
optional string string_value = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CModule {
|
||||||
|
optional uint64 base_addr = 1;
|
||||||
|
optional string name = 2;
|
||||||
|
optional uint32 size = 3;
|
||||||
|
optional uint32 timestamp = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional string file_report = 1;
|
||||||
|
optional string command_line = 2;
|
||||||
|
optional uint32 total_files = 3;
|
||||||
|
optional uint32 process_id = 4;
|
||||||
|
optional int32 osversion = 5;
|
||||||
|
optional uint64 client_time = 6;
|
||||||
|
repeated .CUserMessage_DllStatus.CVDiagnostic diagnostics = 7;
|
||||||
|
repeated .CUserMessage_DllStatus.CModule modules = 8;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRequestInventory {
|
||||||
|
optional int32 inventory = 1;
|
||||||
|
optional int32 offset = 2;
|
||||||
|
optional int32 options = 3;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_Inventory_Response {
|
||||||
|
message InventoryDetail {
|
||||||
|
optional int32 index = 1;
|
||||||
|
optional int64 primary = 2;
|
||||||
|
optional int64 offset = 3;
|
||||||
|
optional int64 first = 4;
|
||||||
|
optional int64 base = 5;
|
||||||
|
optional string name = 6;
|
||||||
|
optional string base_name = 7;
|
||||||
|
optional int32 base_detail = 8;
|
||||||
|
optional int32 base_time = 9;
|
||||||
|
optional int32 base_hash = 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional fixed32 crc = 1;
|
||||||
|
optional int32 item_count = 2;
|
||||||
|
optional int32 osversion = 5;
|
||||||
|
optional int32 perf_time = 6;
|
||||||
|
optional int32 client_timestamp = 7;
|
||||||
|
optional int32 platform = 8;
|
||||||
|
repeated .CUserMessage_Inventory_Response.InventoryDetail inventories = 9;
|
||||||
|
repeated .CUserMessage_Inventory_Response.InventoryDetail inventories2 = 10;
|
||||||
|
repeated .CUserMessage_Inventory_Response.InventoryDetail inventories3 = 14;
|
||||||
|
optional int32 inv_type = 11;
|
||||||
|
optional int32 build_version = 12;
|
||||||
|
optional int32 instance = 13;
|
||||||
|
optional int64 start_time = 15;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessageRequestDiagnostic {
|
||||||
|
message Diagnostic {
|
||||||
|
optional int32 index = 1;
|
||||||
|
optional int64 offset = 2;
|
||||||
|
optional int32 param = 3;
|
||||||
|
optional int32 length = 4;
|
||||||
|
optional int32 type = 5;
|
||||||
|
optional int64 base = 6;
|
||||||
|
optional int64 range = 7;
|
||||||
|
optional int64 extent = 8;
|
||||||
|
optional int64 detail = 9;
|
||||||
|
optional string name = 10;
|
||||||
|
optional string alias = 11;
|
||||||
|
optional bytes vardetail = 12;
|
||||||
|
optional int32 context = 13;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CUserMessageRequestDiagnostic.Diagnostic diagnostics = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_Diagnostic_Response {
|
||||||
|
message Diagnostic {
|
||||||
|
optional int32 index = 1;
|
||||||
|
optional int64 offset = 2;
|
||||||
|
optional int32 param = 3;
|
||||||
|
optional int32 length = 4;
|
||||||
|
optional bytes detail = 5;
|
||||||
|
optional int64 base = 6;
|
||||||
|
optional int64 range = 7;
|
||||||
|
optional int32 type = 8;
|
||||||
|
optional string name = 10;
|
||||||
|
optional string alias = 11;
|
||||||
|
optional bytes backup = 12;
|
||||||
|
optional int32 context = 13;
|
||||||
|
optional int64 control = 14;
|
||||||
|
optional int64 augment = 15;
|
||||||
|
optional int64 placebo = 16;
|
||||||
|
}
|
||||||
|
|
||||||
|
repeated .CUserMessage_Diagnostic_Response.Diagnostic diagnostics = 1;
|
||||||
|
optional int32 build_version = 2;
|
||||||
|
optional int32 instance = 3;
|
||||||
|
optional int64 start_time = 4;
|
||||||
|
optional int32 osversion = 5;
|
||||||
|
optional int32 platform = 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_ExtraUserData {
|
||||||
|
optional int32 item = 1;
|
||||||
|
optional int64 value1 = 2;
|
||||||
|
optional int64 value2 = 3;
|
||||||
|
repeated bytes detail1 = 4;
|
||||||
|
repeated bytes detail2 = 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_NotifyResponseFound {
|
||||||
|
message Criteria {
|
||||||
|
optional uint32 name_symbol = 1;
|
||||||
|
optional string value = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
optional int32 ent_index = 1 [default = -1];
|
||||||
|
optional string rule_name = 2;
|
||||||
|
optional string response_value = 3;
|
||||||
|
optional string response_concept = 4;
|
||||||
|
repeated .CUserMessage_NotifyResponseFound.Criteria criteria = 5;
|
||||||
|
repeated uint32 int_criteria_names = 6 [packed = true];
|
||||||
|
repeated int32 int_criteria_values = 7 [packed = true];
|
||||||
|
repeated uint32 float_criteria_names = 8 [packed = true];
|
||||||
|
repeated float float_criteria_values = 9;
|
||||||
|
repeated uint32 symbol_criteria_names = 10 [packed = true];
|
||||||
|
repeated uint32 symbol_criteria_values = 11 [packed = true];
|
||||||
|
}
|
||||||
|
|
||||||
|
message CUserMessage_PlayResponseConditional {
|
||||||
|
optional int32 ent_index = 1 [default = -1];
|
||||||
|
repeated int32 player_slots = 2;
|
||||||
|
optional string response = 3;
|
||||||
|
optional .CMsgVector ent_origin = 4;
|
||||||
|
optional float pre_delay = 5;
|
||||||
|
}
|
||||||
17
protos/valveextensions.proto
Normal file
17
protos/valveextensions.proto
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
import "google/protobuf/descriptor.proto";
|
||||||
|
|
||||||
|
extend .google.protobuf.FieldOptions {
|
||||||
|
optional bool valve_map_field = 61000 [default = false];
|
||||||
|
optional bool valve_map_key = 61001 [default = false];
|
||||||
|
optional int32 diff_encode_field = 61002 [default = 0];
|
||||||
|
optional bool delta_ignore = 61003 [default = false];
|
||||||
|
optional uint32 steamml_max_entries = 61004 [default = 0];
|
||||||
|
optional bool steamml_is_timestamp = 61005 [default = false];
|
||||||
|
optional uint32 steamlearn_count = 61006 [default = 0];
|
||||||
|
}
|
||||||
|
|
||||||
|
extend .google.protobuf.EnumValueOptions {
|
||||||
|
optional string schema_friendly_name = 1000;
|
||||||
|
optional string schema_description = 1001;
|
||||||
|
optional bool schema_suppress_enumerator = 1002;
|
||||||
|
}
|
||||||
10567
src/generated/base_gcmessages.rs
Normal file
10567
src/generated/base_gcmessages.rs
Normal file
File diff suppressed because it is too large
Load diff
1377
src/generated/c_peer2peer_netmessages.rs
Normal file
1377
src/generated/c_peer2peer_netmessages.rs
Normal file
File diff suppressed because it is too large
Load diff
1406
src/generated/clientmessages.rs
Normal file
1406
src/generated/clientmessages.rs
Normal file
File diff suppressed because it is too large
Load diff
582
src/generated/connectionless_netmessages.rs
Normal file
582
src/generated/connectionless_netmessages.rs
Normal file
|
|
@ -0,0 +1,582 @@
|
||||||
|
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||||
|
// .proto file is parsed by pure
|
||||||
|
// @generated
|
||||||
|
|
||||||
|
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||||
|
#![allow(unknown_lints)]
|
||||||
|
#![allow(clippy::all)]
|
||||||
|
|
||||||
|
#![allow(unused_attributes)]
|
||||||
|
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
|
|
||||||
|
#![allow(dead_code)]
|
||||||
|
#![allow(missing_docs)]
|
||||||
|
#![allow(non_camel_case_types)]
|
||||||
|
#![allow(non_snake_case)]
|
||||||
|
#![allow(non_upper_case_globals)]
|
||||||
|
#![allow(trivial_casts)]
|
||||||
|
#![allow(unused_results)]
|
||||||
|
#![allow(unused_mut)]
|
||||||
|
|
||||||
|
//! Generated file from `connectionless_netmessages.proto`
|
||||||
|
// Generated for lite runtime
|
||||||
|
|
||||||
|
/// Generated files are compatible only with the same version
|
||||||
|
/// of protobuf runtime.
|
||||||
|
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(message:C2S_CONNECT_Message)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct C2S_CONNECT_Message {
|
||||||
|
// message fields
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.host_version)
|
||||||
|
pub host_version: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.auth_protocol)
|
||||||
|
pub auth_protocol: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.challenge_number)
|
||||||
|
pub challenge_number: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.reservation_cookie)
|
||||||
|
pub reservation_cookie: ::std::option::Option<u64>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.low_violence)
|
||||||
|
pub low_violence: ::std::option::Option<bool>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.encrypted_password)
|
||||||
|
pub encrypted_password: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.splitplayers)
|
||||||
|
pub splitplayers: ::std::vec::Vec<super::netmessages::CCLCMsg_SplitPlayerConnect>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.auth_steam)
|
||||||
|
pub auth_steam: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECT_Message.challenge_context)
|
||||||
|
pub challenge_context: ::std::option::Option<::std::string::String>,
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:C2S_CONNECT_Message.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a C2S_CONNECT_Message {
|
||||||
|
fn default() -> &'a C2S_CONNECT_Message {
|
||||||
|
<C2S_CONNECT_Message as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl C2S_CONNECT_Message {
|
||||||
|
pub fn new() -> C2S_CONNECT_Message {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 host_version = 1;
|
||||||
|
|
||||||
|
pub fn host_version(&self) -> u32 {
|
||||||
|
self.host_version.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_host_version(&mut self) {
|
||||||
|
self.host_version = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_host_version(&self) -> bool {
|
||||||
|
self.host_version.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_host_version(&mut self, v: u32) {
|
||||||
|
self.host_version = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 auth_protocol = 2;
|
||||||
|
|
||||||
|
pub fn auth_protocol(&self) -> u32 {
|
||||||
|
self.auth_protocol.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_auth_protocol(&mut self) {
|
||||||
|
self.auth_protocol = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_auth_protocol(&self) -> bool {
|
||||||
|
self.auth_protocol.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_auth_protocol(&mut self, v: u32) {
|
||||||
|
self.auth_protocol = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 challenge_number = 3;
|
||||||
|
|
||||||
|
pub fn challenge_number(&self) -> u32 {
|
||||||
|
self.challenge_number.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_challenge_number(&mut self) {
|
||||||
|
self.challenge_number = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_challenge_number(&self) -> bool {
|
||||||
|
self.challenge_number.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_challenge_number(&mut self, v: u32) {
|
||||||
|
self.challenge_number = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional fixed64 reservation_cookie = 4;
|
||||||
|
|
||||||
|
pub fn reservation_cookie(&self) -> u64 {
|
||||||
|
self.reservation_cookie.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_reservation_cookie(&mut self) {
|
||||||
|
self.reservation_cookie = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_reservation_cookie(&self) -> bool {
|
||||||
|
self.reservation_cookie.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_reservation_cookie(&mut self, v: u64) {
|
||||||
|
self.reservation_cookie = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional bool low_violence = 5;
|
||||||
|
|
||||||
|
pub fn low_violence(&self) -> bool {
|
||||||
|
self.low_violence.unwrap_or(false)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_low_violence(&mut self) {
|
||||||
|
self.low_violence = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_low_violence(&self) -> bool {
|
||||||
|
self.low_violence.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_low_violence(&mut self, v: bool) {
|
||||||
|
self.low_violence = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional bytes encrypted_password = 6;
|
||||||
|
|
||||||
|
pub fn encrypted_password(&self) -> &[u8] {
|
||||||
|
match self.encrypted_password.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => &[],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_encrypted_password(&mut self) {
|
||||||
|
self.encrypted_password = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_encrypted_password(&self) -> bool {
|
||||||
|
self.encrypted_password.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_encrypted_password(&mut self, v: ::std::vec::Vec<u8>) {
|
||||||
|
self.encrypted_password = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_encrypted_password(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||||
|
if self.encrypted_password.is_none() {
|
||||||
|
self.encrypted_password = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||||
|
}
|
||||||
|
self.encrypted_password.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_encrypted_password(&mut self) -> ::std::vec::Vec<u8> {
|
||||||
|
self.encrypted_password.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional bytes auth_steam = 8;
|
||||||
|
|
||||||
|
pub fn auth_steam(&self) -> &[u8] {
|
||||||
|
match self.auth_steam.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => &[],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_auth_steam(&mut self) {
|
||||||
|
self.auth_steam = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_auth_steam(&self) -> bool {
|
||||||
|
self.auth_steam.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_auth_steam(&mut self, v: ::std::vec::Vec<u8>) {
|
||||||
|
self.auth_steam = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_auth_steam(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||||
|
if self.auth_steam.is_none() {
|
||||||
|
self.auth_steam = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||||
|
}
|
||||||
|
self.auth_steam.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_auth_steam(&mut self) -> ::std::vec::Vec<u8> {
|
||||||
|
self.auth_steam.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional string challenge_context = 9;
|
||||||
|
|
||||||
|
pub fn challenge_context(&self) -> &str {
|
||||||
|
match self.challenge_context.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => "",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_challenge_context(&mut self) {
|
||||||
|
self.challenge_context = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_challenge_context(&self) -> bool {
|
||||||
|
self.challenge_context.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_challenge_context(&mut self, v: ::std::string::String) {
|
||||||
|
self.challenge_context = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_challenge_context(&mut self) -> &mut ::std::string::String {
|
||||||
|
if self.challenge_context.is_none() {
|
||||||
|
self.challenge_context = ::std::option::Option::Some(::std::string::String::new());
|
||||||
|
}
|
||||||
|
self.challenge_context.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_challenge_context(&mut self) -> ::std::string::String {
|
||||||
|
self.challenge_context.take().unwrap_or_else(|| ::std::string::String::new())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECT_Message {
|
||||||
|
const NAME: &'static str = "C2S_CONNECT_Message";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
8 => {
|
||||||
|
self.host_version = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
16 => {
|
||||||
|
self.auth_protocol = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
24 => {
|
||||||
|
self.challenge_number = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
33 => {
|
||||||
|
self.reservation_cookie = ::std::option::Option::Some(is.read_fixed64()?);
|
||||||
|
},
|
||||||
|
40 => {
|
||||||
|
self.low_violence = ::std::option::Option::Some(is.read_bool()?);
|
||||||
|
},
|
||||||
|
50 => {
|
||||||
|
self.encrypted_password = ::std::option::Option::Some(is.read_bytes()?);
|
||||||
|
},
|
||||||
|
58 => {
|
||||||
|
self.splitplayers.push(is.read_message()?);
|
||||||
|
},
|
||||||
|
66 => {
|
||||||
|
self.auth_steam = ::std::option::Option::Some(is.read_bytes()?);
|
||||||
|
},
|
||||||
|
74 => {
|
||||||
|
self.challenge_context = ::std::option::Option::Some(is.read_string()?);
|
||||||
|
},
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
if let Some(v) = self.host_version {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.auth_protocol {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.challenge_number {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.reservation_cookie {
|
||||||
|
my_size += 1 + 8;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.low_violence {
|
||||||
|
my_size += 1 + 1;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.encrypted_password.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(6, &v);
|
||||||
|
}
|
||||||
|
for value in &self.splitplayers {
|
||||||
|
let len = value.compute_size();
|
||||||
|
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||||
|
};
|
||||||
|
if let Some(v) = self.auth_steam.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(8, &v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.challenge_context.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(9, &v);
|
||||||
|
}
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
if let Some(v) = self.host_version {
|
||||||
|
os.write_uint32(1, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.auth_protocol {
|
||||||
|
os.write_uint32(2, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.challenge_number {
|
||||||
|
os.write_uint32(3, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.reservation_cookie {
|
||||||
|
os.write_fixed64(4, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.low_violence {
|
||||||
|
os.write_bool(5, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.encrypted_password.as_ref() {
|
||||||
|
os.write_bytes(6, v)?;
|
||||||
|
}
|
||||||
|
for v in &self.splitplayers {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(7, v, os)?;
|
||||||
|
};
|
||||||
|
if let Some(v) = self.auth_steam.as_ref() {
|
||||||
|
os.write_bytes(8, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.challenge_context.as_ref() {
|
||||||
|
os.write_string(9, v)?;
|
||||||
|
}
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> C2S_CONNECT_Message {
|
||||||
|
C2S_CONNECT_Message::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.host_version = ::std::option::Option::None;
|
||||||
|
self.auth_protocol = ::std::option::Option::None;
|
||||||
|
self.challenge_number = ::std::option::Option::None;
|
||||||
|
self.reservation_cookie = ::std::option::Option::None;
|
||||||
|
self.low_violence = ::std::option::Option::None;
|
||||||
|
self.encrypted_password = ::std::option::Option::None;
|
||||||
|
self.splitplayers.clear();
|
||||||
|
self.auth_steam = ::std::option::Option::None;
|
||||||
|
self.challenge_context = ::std::option::Option::None;
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static C2S_CONNECT_Message {
|
||||||
|
static instance: C2S_CONNECT_Message = C2S_CONNECT_Message {
|
||||||
|
host_version: ::std::option::Option::None,
|
||||||
|
auth_protocol: ::std::option::Option::None,
|
||||||
|
challenge_number: ::std::option::Option::None,
|
||||||
|
reservation_cookie: ::std::option::Option::None,
|
||||||
|
low_violence: ::std::option::Option::None,
|
||||||
|
encrypted_password: ::std::option::Option::None,
|
||||||
|
splitplayers: ::std::vec::Vec::new(),
|
||||||
|
auth_steam: ::std::option::Option::None,
|
||||||
|
challenge_context: ::std::option::Option::None,
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(message:C2S_CONNECTION_Message)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct C2S_CONNECTION_Message {
|
||||||
|
// message fields
|
||||||
|
// @@protoc_insertion_point(field:C2S_CONNECTION_Message.addon_name)
|
||||||
|
pub addon_name: ::std::option::Option<::std::string::String>,
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:C2S_CONNECTION_Message.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a C2S_CONNECTION_Message {
|
||||||
|
fn default() -> &'a C2S_CONNECTION_Message {
|
||||||
|
<C2S_CONNECTION_Message as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl C2S_CONNECTION_Message {
|
||||||
|
pub fn new() -> C2S_CONNECTION_Message {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional string addon_name = 1;
|
||||||
|
|
||||||
|
pub fn addon_name(&self) -> &str {
|
||||||
|
match self.addon_name.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => "",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_addon_name(&mut self) {
|
||||||
|
self.addon_name = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_addon_name(&self) -> bool {
|
||||||
|
self.addon_name.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_addon_name(&mut self, v: ::std::string::String) {
|
||||||
|
self.addon_name = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_addon_name(&mut self) -> &mut ::std::string::String {
|
||||||
|
if self.addon_name.is_none() {
|
||||||
|
self.addon_name = ::std::option::Option::Some(::std::string::String::new());
|
||||||
|
}
|
||||||
|
self.addon_name.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_addon_name(&mut self) -> ::std::string::String {
|
||||||
|
self.addon_name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for C2S_CONNECTION_Message {
|
||||||
|
const NAME: &'static str = "C2S_CONNECTION_Message";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
10 => {
|
||||||
|
self.addon_name = ::std::option::Option::Some(is.read_string()?);
|
||||||
|
},
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
if let Some(v) = self.addon_name.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(1, &v);
|
||||||
|
}
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
if let Some(v) = self.addon_name.as_ref() {
|
||||||
|
os.write_string(1, v)?;
|
||||||
|
}
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> C2S_CONNECTION_Message {
|
||||||
|
C2S_CONNECTION_Message::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.addon_name = ::std::option::Option::None;
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static C2S_CONNECTION_Message {
|
||||||
|
static instance: C2S_CONNECTION_Message = C2S_CONNECTION_Message {
|
||||||
|
addon_name: ::std::option::Option::None,
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||||
|
|
||||||
|
#[allow(unused_imports)]
|
||||||
|
use crate::netmessages::*;
|
||||||
|
impl ::steam_vent_proto_common::RpcMessage for C2S_CONNECT_Message {
|
||||||
|
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||||
|
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||||
|
}
|
||||||
|
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.write_to_writer(writer)
|
||||||
|
}
|
||||||
|
fn encode_size(&self) -> usize {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.compute_size() as usize
|
||||||
|
}
|
||||||
|
}
|
||||||
|
impl ::steam_vent_proto_common::RpcMessage for C2S_CONNECTION_Message {
|
||||||
|
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||||
|
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||||
|
}
|
||||||
|
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.write_to_writer(writer)
|
||||||
|
}
|
||||||
|
fn encode_size(&self) -> usize {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.compute_size() as usize
|
||||||
|
}
|
||||||
|
}
|
||||||
4933
src/generated/demo.rs
Normal file
4933
src/generated/demo.rs
Normal file
File diff suppressed because it is too large
Load diff
881
src/generated/dota_broadcastmessages.rs
Normal file
881
src/generated/dota_broadcastmessages.rs
Normal file
|
|
@ -0,0 +1,881 @@
|
||||||
|
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||||
|
// .proto file is parsed by pure
|
||||||
|
// @generated
|
||||||
|
|
||||||
|
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||||
|
#![allow(unknown_lints)]
|
||||||
|
#![allow(clippy::all)]
|
||||||
|
|
||||||
|
#![allow(unused_attributes)]
|
||||||
|
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
|
|
||||||
|
#![allow(dead_code)]
|
||||||
|
#![allow(missing_docs)]
|
||||||
|
#![allow(non_camel_case_types)]
|
||||||
|
#![allow(non_snake_case)]
|
||||||
|
#![allow(non_upper_case_globals)]
|
||||||
|
#![allow(trivial_casts)]
|
||||||
|
#![allow(unused_results)]
|
||||||
|
#![allow(unused_mut)]
|
||||||
|
|
||||||
|
//! Generated file from `dota_broadcastmessages.proto`
|
||||||
|
// Generated for lite runtime
|
||||||
|
|
||||||
|
/// Generated files are compatible only with the same version
|
||||||
|
/// of protobuf runtime.
|
||||||
|
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(message:CDOTABroadcastMsg)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct CDOTABroadcastMsg {
|
||||||
|
// message fields
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg.type)
|
||||||
|
pub type_: ::std::option::Option<::steam_vent_proto_common::protobuf::EnumOrUnknown<EDotaBroadcastMessages>>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg.msg)
|
||||||
|
pub msg: ::std::option::Option<::std::vec::Vec<u8>>,
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:CDOTABroadcastMsg.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a CDOTABroadcastMsg {
|
||||||
|
fn default() -> &'a CDOTABroadcastMsg {
|
||||||
|
<CDOTABroadcastMsg as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl CDOTABroadcastMsg {
|
||||||
|
pub fn new() -> CDOTABroadcastMsg {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
|
||||||
|
// required .EDotaBroadcastMessages type = 1;
|
||||||
|
|
||||||
|
pub fn type_(&self) -> EDotaBroadcastMessages {
|
||||||
|
match self.type_ {
|
||||||
|
Some(e) => e.enum_value_or(EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest),
|
||||||
|
None => EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_type_(&mut self) {
|
||||||
|
self.type_ = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_type(&self) -> bool {
|
||||||
|
self.type_.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_type(&mut self, v: EDotaBroadcastMessages) {
|
||||||
|
self.type_ = ::std::option::Option::Some(::steam_vent_proto_common::protobuf::EnumOrUnknown::new(v));
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional bytes msg = 2;
|
||||||
|
|
||||||
|
pub fn msg(&self) -> &[u8] {
|
||||||
|
match self.msg.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => &[],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_msg(&mut self) {
|
||||||
|
self.msg = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_msg(&self) -> bool {
|
||||||
|
self.msg.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_msg(&mut self, v: ::std::vec::Vec<u8>) {
|
||||||
|
self.msg = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_msg(&mut self) -> &mut ::std::vec::Vec<u8> {
|
||||||
|
if self.msg.is_none() {
|
||||||
|
self.msg = ::std::option::Option::Some(::std::vec::Vec::new());
|
||||||
|
}
|
||||||
|
self.msg.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_msg(&mut self) -> ::std::vec::Vec<u8> {
|
||||||
|
self.msg.take().unwrap_or_else(|| ::std::vec::Vec::new())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for CDOTABroadcastMsg {
|
||||||
|
const NAME: &'static str = "CDOTABroadcastMsg";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
if self.type_.is_none() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
8 => {
|
||||||
|
self.type_ = ::std::option::Option::Some(is.read_enum_or_unknown()?);
|
||||||
|
},
|
||||||
|
18 => {
|
||||||
|
self.msg = ::std::option::Option::Some(is.read_bytes()?);
|
||||||
|
},
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
if let Some(v) = self.type_ {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::int32_size(1, v.value());
|
||||||
|
}
|
||||||
|
if let Some(v) = self.msg.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::bytes_size(2, &v);
|
||||||
|
}
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
if let Some(v) = self.type_ {
|
||||||
|
os.write_enum(1, ::steam_vent_proto_common::protobuf::EnumOrUnknown::value(&v))?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.msg.as_ref() {
|
||||||
|
os.write_bytes(2, v)?;
|
||||||
|
}
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> CDOTABroadcastMsg {
|
||||||
|
CDOTABroadcastMsg::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.type_ = ::std::option::Option::None;
|
||||||
|
self.msg = ::std::option::Option::None;
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static CDOTABroadcastMsg {
|
||||||
|
static instance: CDOTABroadcastMsg = CDOTABroadcastMsg {
|
||||||
|
type_: ::std::option::Option::None,
|
||||||
|
msg: ::std::option::Option::None,
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(message:CDOTABroadcastMsg_LANLobbyRequest)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:CDOTABroadcastMsg_LANLobbyRequest.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
fn default() -> &'a CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
<CDOTABroadcastMsg_LANLobbyRequest as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
pub fn new() -> CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
const NAME: &'static str = "CDOTABroadcastMsg_LANLobbyRequest";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
CDOTABroadcastMsg_LANLobbyRequest::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
static instance: CDOTABroadcastMsg_LANLobbyRequest = CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// @@protoc_insertion_point(message:CDOTABroadcastMsg_LANLobbyReply)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
// message fields
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.id)
|
||||||
|
pub id: ::std::option::Option<u64>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.tournament_id)
|
||||||
|
pub tournament_id: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.tournament_game_id)
|
||||||
|
pub tournament_game_id: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.members)
|
||||||
|
pub members: ::std::vec::Vec<cdotabroadcast_msg_lanlobby_reply::CLobbyMember>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.requires_pass_key)
|
||||||
|
pub requires_pass_key: ::std::option::Option<bool>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.leader_account_id)
|
||||||
|
pub leader_account_id: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.game_mode)
|
||||||
|
pub game_mode: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.name)
|
||||||
|
pub name: ::std::option::Option<::std::string::String>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.players)
|
||||||
|
pub players: ::std::option::Option<u32>,
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:CDOTABroadcastMsg_LANLobbyReply.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
fn default() -> &'a CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
<CDOTABroadcastMsg_LANLobbyReply as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
pub fn new() -> CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint64 id = 1;
|
||||||
|
|
||||||
|
pub fn id(&self) -> u64 {
|
||||||
|
self.id.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_id(&mut self) {
|
||||||
|
self.id = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_id(&self) -> bool {
|
||||||
|
self.id.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_id(&mut self, v: u64) {
|
||||||
|
self.id = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 tournament_id = 2;
|
||||||
|
|
||||||
|
pub fn tournament_id(&self) -> u32 {
|
||||||
|
self.tournament_id.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_tournament_id(&mut self) {
|
||||||
|
self.tournament_id = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_tournament_id(&self) -> bool {
|
||||||
|
self.tournament_id.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_tournament_id(&mut self, v: u32) {
|
||||||
|
self.tournament_id = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 tournament_game_id = 3;
|
||||||
|
|
||||||
|
pub fn tournament_game_id(&self) -> u32 {
|
||||||
|
self.tournament_game_id.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_tournament_game_id(&mut self) {
|
||||||
|
self.tournament_game_id = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_tournament_game_id(&self) -> bool {
|
||||||
|
self.tournament_game_id.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_tournament_game_id(&mut self, v: u32) {
|
||||||
|
self.tournament_game_id = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional bool requires_pass_key = 5;
|
||||||
|
|
||||||
|
pub fn requires_pass_key(&self) -> bool {
|
||||||
|
self.requires_pass_key.unwrap_or(false)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_requires_pass_key(&mut self) {
|
||||||
|
self.requires_pass_key = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_requires_pass_key(&self) -> bool {
|
||||||
|
self.requires_pass_key.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_requires_pass_key(&mut self, v: bool) {
|
||||||
|
self.requires_pass_key = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 leader_account_id = 6;
|
||||||
|
|
||||||
|
pub fn leader_account_id(&self) -> u32 {
|
||||||
|
self.leader_account_id.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_leader_account_id(&mut self) {
|
||||||
|
self.leader_account_id = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_leader_account_id(&self) -> bool {
|
||||||
|
self.leader_account_id.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_leader_account_id(&mut self, v: u32) {
|
||||||
|
self.leader_account_id = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 game_mode = 7;
|
||||||
|
|
||||||
|
pub fn game_mode(&self) -> u32 {
|
||||||
|
self.game_mode.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_game_mode(&mut self) {
|
||||||
|
self.game_mode = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_game_mode(&self) -> bool {
|
||||||
|
self.game_mode.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_game_mode(&mut self, v: u32) {
|
||||||
|
self.game_mode = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional string name = 8;
|
||||||
|
|
||||||
|
pub fn name(&self) -> &str {
|
||||||
|
match self.name.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => "",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_name(&mut self) {
|
||||||
|
self.name = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_name(&self) -> bool {
|
||||||
|
self.name.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_name(&mut self, v: ::std::string::String) {
|
||||||
|
self.name = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_name(&mut self) -> &mut ::std::string::String {
|
||||||
|
if self.name.is_none() {
|
||||||
|
self.name = ::std::option::Option::Some(::std::string::String::new());
|
||||||
|
}
|
||||||
|
self.name.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_name(&mut self) -> ::std::string::String {
|
||||||
|
self.name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 players = 9;
|
||||||
|
|
||||||
|
pub fn players(&self) -> u32 {
|
||||||
|
self.players.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_players(&mut self) {
|
||||||
|
self.players = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_players(&self) -> bool {
|
||||||
|
self.players.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_players(&mut self, v: u32) {
|
||||||
|
self.players = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
const NAME: &'static str = "CDOTABroadcastMsg_LANLobbyReply";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
8 => {
|
||||||
|
self.id = ::std::option::Option::Some(is.read_uint64()?);
|
||||||
|
},
|
||||||
|
16 => {
|
||||||
|
self.tournament_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
24 => {
|
||||||
|
self.tournament_game_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
34 => {
|
||||||
|
self.members.push(is.read_message()?);
|
||||||
|
},
|
||||||
|
40 => {
|
||||||
|
self.requires_pass_key = ::std::option::Option::Some(is.read_bool()?);
|
||||||
|
},
|
||||||
|
48 => {
|
||||||
|
self.leader_account_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
56 => {
|
||||||
|
self.game_mode = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
66 => {
|
||||||
|
self.name = ::std::option::Option::Some(is.read_string()?);
|
||||||
|
},
|
||||||
|
72 => {
|
||||||
|
self.players = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
if let Some(v) = self.id {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint64_size(1, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.tournament_id {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(2, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.tournament_game_id {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(3, v);
|
||||||
|
}
|
||||||
|
for value in &self.members {
|
||||||
|
let len = value.compute_size();
|
||||||
|
my_size += 1 + ::steam_vent_proto_common::protobuf::rt::compute_raw_varint64_size(len) + len;
|
||||||
|
};
|
||||||
|
if let Some(v) = self.requires_pass_key {
|
||||||
|
my_size += 1 + 1;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.leader_account_id {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(6, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.game_mode {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(7, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.name.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(8, &v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.players {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(9, v);
|
||||||
|
}
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
if let Some(v) = self.id {
|
||||||
|
os.write_uint64(1, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.tournament_id {
|
||||||
|
os.write_uint32(2, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.tournament_game_id {
|
||||||
|
os.write_uint32(3, v)?;
|
||||||
|
}
|
||||||
|
for v in &self.members {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::write_message_field_with_cached_size(4, v, os)?;
|
||||||
|
};
|
||||||
|
if let Some(v) = self.requires_pass_key {
|
||||||
|
os.write_bool(5, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.leader_account_id {
|
||||||
|
os.write_uint32(6, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.game_mode {
|
||||||
|
os.write_uint32(7, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.name.as_ref() {
|
||||||
|
os.write_string(8, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.players {
|
||||||
|
os.write_uint32(9, v)?;
|
||||||
|
}
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
CDOTABroadcastMsg_LANLobbyReply::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.id = ::std::option::Option::None;
|
||||||
|
self.tournament_id = ::std::option::Option::None;
|
||||||
|
self.tournament_game_id = ::std::option::Option::None;
|
||||||
|
self.members.clear();
|
||||||
|
self.requires_pass_key = ::std::option::Option::None;
|
||||||
|
self.leader_account_id = ::std::option::Option::None;
|
||||||
|
self.game_mode = ::std::option::Option::None;
|
||||||
|
self.name = ::std::option::Option::None;
|
||||||
|
self.players = ::std::option::Option::None;
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
static instance: CDOTABroadcastMsg_LANLobbyReply = CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
id: ::std::option::Option::None,
|
||||||
|
tournament_id: ::std::option::Option::None,
|
||||||
|
tournament_game_id: ::std::option::Option::None,
|
||||||
|
members: ::std::vec::Vec::new(),
|
||||||
|
requires_pass_key: ::std::option::Option::None,
|
||||||
|
leader_account_id: ::std::option::Option::None,
|
||||||
|
game_mode: ::std::option::Option::None,
|
||||||
|
name: ::std::option::Option::None,
|
||||||
|
players: ::std::option::Option::None,
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Nested message and enums of message `CDOTABroadcastMsg_LANLobbyReply`
|
||||||
|
pub mod cdotabroadcast_msg_lanlobby_reply {
|
||||||
|
// @@protoc_insertion_point(message:CDOTABroadcastMsg_LANLobbyReply.CLobbyMember)
|
||||||
|
#[derive(PartialEq,Clone,Default,Debug)]
|
||||||
|
pub struct CLobbyMember {
|
||||||
|
// message fields
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.CLobbyMember.account_id)
|
||||||
|
pub account_id: ::std::option::Option<u32>,
|
||||||
|
// @@protoc_insertion_point(field:CDOTABroadcastMsg_LANLobbyReply.CLobbyMember.player_name)
|
||||||
|
pub player_name: ::std::option::Option<::std::string::String>,
|
||||||
|
// special fields
|
||||||
|
// @@protoc_insertion_point(special_field:CDOTABroadcastMsg_LANLobbyReply.CLobbyMember.special_fields)
|
||||||
|
pub special_fields: ::steam_vent_proto_common::protobuf::SpecialFields,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl<'a> ::std::default::Default for &'a CLobbyMember {
|
||||||
|
fn default() -> &'a CLobbyMember {
|
||||||
|
<CLobbyMember as ::steam_vent_proto_common::protobuf::Message>::default_instance()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl CLobbyMember {
|
||||||
|
pub fn new() -> CLobbyMember {
|
||||||
|
::std::default::Default::default()
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional uint32 account_id = 1;
|
||||||
|
|
||||||
|
pub fn account_id(&self) -> u32 {
|
||||||
|
self.account_id.unwrap_or(0)
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_account_id(&mut self) {
|
||||||
|
self.account_id = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_account_id(&self) -> bool {
|
||||||
|
self.account_id.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_account_id(&mut self, v: u32) {
|
||||||
|
self.account_id = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// optional string player_name = 2;
|
||||||
|
|
||||||
|
pub fn player_name(&self) -> &str {
|
||||||
|
match self.player_name.as_ref() {
|
||||||
|
Some(v) => v,
|
||||||
|
None => "",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn clear_player_name(&mut self) {
|
||||||
|
self.player_name = ::std::option::Option::None;
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn has_player_name(&self) -> bool {
|
||||||
|
self.player_name.is_some()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Param is passed by value, moved
|
||||||
|
pub fn set_player_name(&mut self, v: ::std::string::String) {
|
||||||
|
self.player_name = ::std::option::Option::Some(v);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Mutable pointer to the field.
|
||||||
|
// If field is not initialized, it is initialized with default value first.
|
||||||
|
pub fn mut_player_name(&mut self) -> &mut ::std::string::String {
|
||||||
|
if self.player_name.is_none() {
|
||||||
|
self.player_name = ::std::option::Option::Some(::std::string::String::new());
|
||||||
|
}
|
||||||
|
self.player_name.as_mut().unwrap()
|
||||||
|
}
|
||||||
|
|
||||||
|
// Take field
|
||||||
|
pub fn take_player_name(&mut self) -> ::std::string::String {
|
||||||
|
self.player_name.take().unwrap_or_else(|| ::std::string::String::new())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Message for CLobbyMember {
|
||||||
|
const NAME: &'static str = "CLobbyMember";
|
||||||
|
|
||||||
|
fn is_initialized(&self) -> bool {
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
|
fn merge_from(&mut self, is: &mut ::steam_vent_proto_common::protobuf::CodedInputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
while let Some(tag) = is.read_raw_tag_or_eof()? {
|
||||||
|
match tag {
|
||||||
|
8 => {
|
||||||
|
self.account_id = ::std::option::Option::Some(is.read_uint32()?);
|
||||||
|
},
|
||||||
|
18 => {
|
||||||
|
self.player_name = ::std::option::Option::Some(is.read_string()?);
|
||||||
|
},
|
||||||
|
tag => {
|
||||||
|
::steam_vent_proto_common::protobuf::rt::read_unknown_or_skip_group(tag, is, self.special_fields.mut_unknown_fields())?;
|
||||||
|
},
|
||||||
|
};
|
||||||
|
}
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
// Compute sizes of nested messages
|
||||||
|
#[allow(unused_variables)]
|
||||||
|
fn compute_size(&self) -> u64 {
|
||||||
|
let mut my_size = 0;
|
||||||
|
if let Some(v) = self.account_id {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::uint32_size(1, v);
|
||||||
|
}
|
||||||
|
if let Some(v) = self.player_name.as_ref() {
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::string_size(2, &v);
|
||||||
|
}
|
||||||
|
my_size += ::steam_vent_proto_common::protobuf::rt::unknown_fields_size(self.special_fields.unknown_fields());
|
||||||
|
self.special_fields.cached_size().set(my_size as u32);
|
||||||
|
my_size
|
||||||
|
}
|
||||||
|
|
||||||
|
fn write_to_with_cached_sizes(&self, os: &mut ::steam_vent_proto_common::protobuf::CodedOutputStream<'_>) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
if let Some(v) = self.account_id {
|
||||||
|
os.write_uint32(1, v)?;
|
||||||
|
}
|
||||||
|
if let Some(v) = self.player_name.as_ref() {
|
||||||
|
os.write_string(2, v)?;
|
||||||
|
}
|
||||||
|
os.write_unknown_fields(self.special_fields.unknown_fields())?;
|
||||||
|
::std::result::Result::Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
|
fn special_fields(&self) -> &::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn mut_special_fields(&mut self) -> &mut ::steam_vent_proto_common::protobuf::SpecialFields {
|
||||||
|
&mut self.special_fields
|
||||||
|
}
|
||||||
|
|
||||||
|
fn new() -> CLobbyMember {
|
||||||
|
CLobbyMember::new()
|
||||||
|
}
|
||||||
|
|
||||||
|
fn clear(&mut self) {
|
||||||
|
self.account_id = ::std::option::Option::None;
|
||||||
|
self.player_name = ::std::option::Option::None;
|
||||||
|
self.special_fields.clear();
|
||||||
|
}
|
||||||
|
|
||||||
|
fn default_instance() -> &'static CLobbyMember {
|
||||||
|
static instance: CLobbyMember = CLobbyMember {
|
||||||
|
account_id: ::std::option::Option::None,
|
||||||
|
player_name: ::std::option::Option::None,
|
||||||
|
special_fields: ::steam_vent_proto_common::protobuf::SpecialFields::new(),
|
||||||
|
};
|
||||||
|
&instance
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:EDotaBroadcastMessages)
|
||||||
|
pub enum EDotaBroadcastMessages {
|
||||||
|
// @@protoc_insertion_point(enum_value:EDotaBroadcastMessages.DOTA_BM_LANLobbyRequest)
|
||||||
|
DOTA_BM_LANLobbyRequest = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDotaBroadcastMessages.DOTA_BM_LANLobbyReply)
|
||||||
|
DOTA_BM_LANLobbyReply = 2,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for EDotaBroadcastMessages {
|
||||||
|
const NAME: &'static str = "EDotaBroadcastMessages";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<EDotaBroadcastMessages> {
|
||||||
|
match value {
|
||||||
|
1 => ::std::option::Option::Some(EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest),
|
||||||
|
2 => ::std::option::Option::Some(EDotaBroadcastMessages::DOTA_BM_LANLobbyReply),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<EDotaBroadcastMessages> {
|
||||||
|
match str {
|
||||||
|
"DOTA_BM_LANLobbyRequest" => ::std::option::Option::Some(EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest),
|
||||||
|
"DOTA_BM_LANLobbyReply" => ::std::option::Option::Some(EDotaBroadcastMessages::DOTA_BM_LANLobbyReply),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [EDotaBroadcastMessages] = &[
|
||||||
|
EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest,
|
||||||
|
EDotaBroadcastMessages::DOTA_BM_LANLobbyReply,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Note, `Default` is implemented although default value is not 0
|
||||||
|
impl ::std::default::Default for EDotaBroadcastMessages {
|
||||||
|
fn default() -> Self {
|
||||||
|
EDotaBroadcastMessages::DOTA_BM_LANLobbyRequest
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::RpcMessage for CDOTABroadcastMsg {
|
||||||
|
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||||
|
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||||
|
}
|
||||||
|
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.write_to_writer(writer)
|
||||||
|
}
|
||||||
|
fn encode_size(&self) -> usize {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.compute_size() as usize
|
||||||
|
}
|
||||||
|
}
|
||||||
|
impl ::steam_vent_proto_common::RpcMessage for CDOTABroadcastMsg_LANLobbyRequest {
|
||||||
|
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||||
|
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||||
|
}
|
||||||
|
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.write_to_writer(writer)
|
||||||
|
}
|
||||||
|
fn encode_size(&self) -> usize {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.compute_size() as usize
|
||||||
|
}
|
||||||
|
}
|
||||||
|
impl ::steam_vent_proto_common::RpcMessage for CDOTABroadcastMsg_LANLobbyReply {
|
||||||
|
fn parse(reader: &mut dyn std::io::Read) -> ::steam_vent_proto_common::protobuf::Result<Self> {
|
||||||
|
<Self as ::steam_vent_proto_common::protobuf::Message>::parse_from_reader(reader)
|
||||||
|
}
|
||||||
|
fn write(&self, writer: &mut dyn std::io::Write) -> ::steam_vent_proto_common::protobuf::Result<()> {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.write_to_writer(writer)
|
||||||
|
}
|
||||||
|
fn encode_size(&self) -> usize {
|
||||||
|
use ::steam_vent_proto_common::protobuf::Message;
|
||||||
|
self.compute_size() as usize
|
||||||
|
}
|
||||||
|
}
|
||||||
|
impl ::steam_vent_proto_common::MsgKindEnum for EDotaBroadcastMessages {}
|
||||||
629
src/generated/dota_client_enums.rs
Normal file
629
src/generated/dota_client_enums.rs
Normal file
|
|
@ -0,0 +1,629 @@
|
||||||
|
// This file is generated by rust-protobuf 3.5.1. Do not edit
|
||||||
|
// .proto file is parsed by pure
|
||||||
|
// @generated
|
||||||
|
|
||||||
|
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||||
|
#![allow(unknown_lints)]
|
||||||
|
#![allow(clippy::all)]
|
||||||
|
|
||||||
|
#![allow(unused_attributes)]
|
||||||
|
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||||
|
|
||||||
|
#![allow(dead_code)]
|
||||||
|
#![allow(missing_docs)]
|
||||||
|
#![allow(non_camel_case_types)]
|
||||||
|
#![allow(non_snake_case)]
|
||||||
|
#![allow(non_upper_case_globals)]
|
||||||
|
#![allow(trivial_casts)]
|
||||||
|
#![allow(unused_results)]
|
||||||
|
#![allow(unused_mut)]
|
||||||
|
|
||||||
|
//! Generated file from `dota_client_enums.proto`
|
||||||
|
// Generated for lite runtime
|
||||||
|
|
||||||
|
/// Generated files are compatible only with the same version
|
||||||
|
/// of protobuf runtime.
|
||||||
|
const _PROTOBUF_VERSION_CHECK: () = ::steam_vent_proto_common::protobuf::VERSION_3_5_1;
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:ETournamentTemplate)
|
||||||
|
pub enum ETournamentTemplate {
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTemplate.k_ETournamentTemplate_None)
|
||||||
|
k_ETournamentTemplate_None = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTemplate.k_ETournamentTemplate_AutomatedWin3)
|
||||||
|
k_ETournamentTemplate_AutomatedWin3 = 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for ETournamentTemplate {
|
||||||
|
const NAME: &'static str = "ETournamentTemplate";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<ETournamentTemplate> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(ETournamentTemplate::k_ETournamentTemplate_None),
|
||||||
|
1 => ::std::option::Option::Some(ETournamentTemplate::k_ETournamentTemplate_AutomatedWin3),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<ETournamentTemplate> {
|
||||||
|
match str {
|
||||||
|
"k_ETournamentTemplate_None" => ::std::option::Option::Some(ETournamentTemplate::k_ETournamentTemplate_None),
|
||||||
|
"k_ETournamentTemplate_AutomatedWin3" => ::std::option::Option::Some(ETournamentTemplate::k_ETournamentTemplate_AutomatedWin3),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [ETournamentTemplate] = &[
|
||||||
|
ETournamentTemplate::k_ETournamentTemplate_None,
|
||||||
|
ETournamentTemplate::k_ETournamentTemplate_AutomatedWin3,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for ETournamentTemplate {
|
||||||
|
fn default() -> Self {
|
||||||
|
ETournamentTemplate::k_ETournamentTemplate_None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:ETournamentGameState)
|
||||||
|
pub enum ETournamentGameState {
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_Unknown)
|
||||||
|
k_ETournamentGameState_Unknown = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_Canceled)
|
||||||
|
k_ETournamentGameState_Canceled = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_Scheduled)
|
||||||
|
k_ETournamentGameState_Scheduled = 2,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_Active)
|
||||||
|
k_ETournamentGameState_Active = 3,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_RadVictory)
|
||||||
|
k_ETournamentGameState_RadVictory = 20,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_DireVictory)
|
||||||
|
k_ETournamentGameState_DireVictory = 21,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_RadVictoryByForfeit)
|
||||||
|
k_ETournamentGameState_RadVictoryByForfeit = 22,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_DireVictoryByForfeit)
|
||||||
|
k_ETournamentGameState_DireVictoryByForfeit = 23,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_ServerFailure)
|
||||||
|
k_ETournamentGameState_ServerFailure = 40,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentGameState.k_ETournamentGameState_NotNeeded)
|
||||||
|
k_ETournamentGameState_NotNeeded = 41,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for ETournamentGameState {
|
||||||
|
const NAME: &'static str = "ETournamentGameState";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<ETournamentGameState> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Unknown),
|
||||||
|
1 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Canceled),
|
||||||
|
2 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Scheduled),
|
||||||
|
3 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Active),
|
||||||
|
20 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_RadVictory),
|
||||||
|
21 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_DireVictory),
|
||||||
|
22 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_RadVictoryByForfeit),
|
||||||
|
23 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_DireVictoryByForfeit),
|
||||||
|
40 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_ServerFailure),
|
||||||
|
41 => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_NotNeeded),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<ETournamentGameState> {
|
||||||
|
match str {
|
||||||
|
"k_ETournamentGameState_Unknown" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Unknown),
|
||||||
|
"k_ETournamentGameState_Canceled" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Canceled),
|
||||||
|
"k_ETournamentGameState_Scheduled" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Scheduled),
|
||||||
|
"k_ETournamentGameState_Active" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_Active),
|
||||||
|
"k_ETournamentGameState_RadVictory" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_RadVictory),
|
||||||
|
"k_ETournamentGameState_DireVictory" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_DireVictory),
|
||||||
|
"k_ETournamentGameState_RadVictoryByForfeit" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_RadVictoryByForfeit),
|
||||||
|
"k_ETournamentGameState_DireVictoryByForfeit" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_DireVictoryByForfeit),
|
||||||
|
"k_ETournamentGameState_ServerFailure" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_ServerFailure),
|
||||||
|
"k_ETournamentGameState_NotNeeded" => ::std::option::Option::Some(ETournamentGameState::k_ETournamentGameState_NotNeeded),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [ETournamentGameState] = &[
|
||||||
|
ETournamentGameState::k_ETournamentGameState_Unknown,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_Canceled,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_Scheduled,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_Active,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_RadVictory,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_DireVictory,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_RadVictoryByForfeit,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_DireVictoryByForfeit,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_ServerFailure,
|
||||||
|
ETournamentGameState::k_ETournamentGameState_NotNeeded,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for ETournamentGameState {
|
||||||
|
fn default() -> Self {
|
||||||
|
ETournamentGameState::k_ETournamentGameState_Unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:ETournamentTeamState)
|
||||||
|
pub enum ETournamentTeamState {
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Unknown)
|
||||||
|
k_ETournamentTeamState_Unknown = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Node1)
|
||||||
|
k_ETournamentTeamState_Node1 = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_NodeMax)
|
||||||
|
k_ETournamentTeamState_NodeMax = 1024,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Eliminated)
|
||||||
|
k_ETournamentTeamState_Eliminated = 14003,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Forfeited)
|
||||||
|
k_ETournamentTeamState_Forfeited = 14004,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished1st)
|
||||||
|
k_ETournamentTeamState_Finished1st = 15001,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished2nd)
|
||||||
|
k_ETournamentTeamState_Finished2nd = 15002,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished3rd)
|
||||||
|
k_ETournamentTeamState_Finished3rd = 15003,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished4th)
|
||||||
|
k_ETournamentTeamState_Finished4th = 15004,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished5th)
|
||||||
|
k_ETournamentTeamState_Finished5th = 15005,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished6th)
|
||||||
|
k_ETournamentTeamState_Finished6th = 15006,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished7th)
|
||||||
|
k_ETournamentTeamState_Finished7th = 15007,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished8th)
|
||||||
|
k_ETournamentTeamState_Finished8th = 15008,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished9th)
|
||||||
|
k_ETournamentTeamState_Finished9th = 15009,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished10th)
|
||||||
|
k_ETournamentTeamState_Finished10th = 15010,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished11th)
|
||||||
|
k_ETournamentTeamState_Finished11th = 15011,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished12th)
|
||||||
|
k_ETournamentTeamState_Finished12th = 15012,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished13th)
|
||||||
|
k_ETournamentTeamState_Finished13th = 15013,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished14th)
|
||||||
|
k_ETournamentTeamState_Finished14th = 15014,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished15th)
|
||||||
|
k_ETournamentTeamState_Finished15th = 15015,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentTeamState.k_ETournamentTeamState_Finished16th)
|
||||||
|
k_ETournamentTeamState_Finished16th = 15016,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for ETournamentTeamState {
|
||||||
|
const NAME: &'static str = "ETournamentTeamState";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<ETournamentTeamState> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Unknown),
|
||||||
|
1 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Node1),
|
||||||
|
1024 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_NodeMax),
|
||||||
|
14003 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Eliminated),
|
||||||
|
14004 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Forfeited),
|
||||||
|
15001 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished1st),
|
||||||
|
15002 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished2nd),
|
||||||
|
15003 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished3rd),
|
||||||
|
15004 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished4th),
|
||||||
|
15005 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished5th),
|
||||||
|
15006 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished6th),
|
||||||
|
15007 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished7th),
|
||||||
|
15008 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished8th),
|
||||||
|
15009 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished9th),
|
||||||
|
15010 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished10th),
|
||||||
|
15011 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished11th),
|
||||||
|
15012 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished12th),
|
||||||
|
15013 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished13th),
|
||||||
|
15014 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished14th),
|
||||||
|
15015 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished15th),
|
||||||
|
15016 => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished16th),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<ETournamentTeamState> {
|
||||||
|
match str {
|
||||||
|
"k_ETournamentTeamState_Unknown" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Unknown),
|
||||||
|
"k_ETournamentTeamState_Node1" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Node1),
|
||||||
|
"k_ETournamentTeamState_NodeMax" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_NodeMax),
|
||||||
|
"k_ETournamentTeamState_Eliminated" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Eliminated),
|
||||||
|
"k_ETournamentTeamState_Forfeited" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Forfeited),
|
||||||
|
"k_ETournamentTeamState_Finished1st" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished1st),
|
||||||
|
"k_ETournamentTeamState_Finished2nd" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished2nd),
|
||||||
|
"k_ETournamentTeamState_Finished3rd" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished3rd),
|
||||||
|
"k_ETournamentTeamState_Finished4th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished4th),
|
||||||
|
"k_ETournamentTeamState_Finished5th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished5th),
|
||||||
|
"k_ETournamentTeamState_Finished6th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished6th),
|
||||||
|
"k_ETournamentTeamState_Finished7th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished7th),
|
||||||
|
"k_ETournamentTeamState_Finished8th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished8th),
|
||||||
|
"k_ETournamentTeamState_Finished9th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished9th),
|
||||||
|
"k_ETournamentTeamState_Finished10th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished10th),
|
||||||
|
"k_ETournamentTeamState_Finished11th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished11th),
|
||||||
|
"k_ETournamentTeamState_Finished12th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished12th),
|
||||||
|
"k_ETournamentTeamState_Finished13th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished13th),
|
||||||
|
"k_ETournamentTeamState_Finished14th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished14th),
|
||||||
|
"k_ETournamentTeamState_Finished15th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished15th),
|
||||||
|
"k_ETournamentTeamState_Finished16th" => ::std::option::Option::Some(ETournamentTeamState::k_ETournamentTeamState_Finished16th),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [ETournamentTeamState] = &[
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Unknown,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Node1,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_NodeMax,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Eliminated,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Forfeited,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished1st,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished2nd,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished3rd,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished4th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished5th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished6th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished7th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished8th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished9th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished10th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished11th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished12th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished13th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished14th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished15th,
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Finished16th,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for ETournamentTeamState {
|
||||||
|
fn default() -> Self {
|
||||||
|
ETournamentTeamState::k_ETournamentTeamState_Unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:ETournamentState)
|
||||||
|
pub enum ETournamentState {
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_Unknown)
|
||||||
|
k_ETournamentState_Unknown = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_CanceledByAdmin)
|
||||||
|
k_ETournamentState_CanceledByAdmin = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_Completed)
|
||||||
|
k_ETournamentState_Completed = 2,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_Merged)
|
||||||
|
k_ETournamentState_Merged = 3,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_ServerFailure)
|
||||||
|
k_ETournamentState_ServerFailure = 4,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_TeamAbandoned)
|
||||||
|
k_ETournamentState_TeamAbandoned = 5,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_TeamTimeoutForfeit)
|
||||||
|
k_ETournamentState_TeamTimeoutForfeit = 6,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_TeamTimeoutRefund)
|
||||||
|
k_ETournamentState_TeamTimeoutRefund = 7,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_ServerFailureGrantedVictory)
|
||||||
|
k_ETournamentState_ServerFailureGrantedVictory = 8,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_TeamTimeoutGrantedVictory)
|
||||||
|
k_ETournamentState_TeamTimeoutGrantedVictory = 9,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_InProgress)
|
||||||
|
k_ETournamentState_InProgress = 100,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentState.k_ETournamentState_WaitingToMerge)
|
||||||
|
k_ETournamentState_WaitingToMerge = 101,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for ETournamentState {
|
||||||
|
const NAME: &'static str = "ETournamentState";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<ETournamentState> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Unknown),
|
||||||
|
1 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_CanceledByAdmin),
|
||||||
|
2 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Completed),
|
||||||
|
3 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Merged),
|
||||||
|
4 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_ServerFailure),
|
||||||
|
5 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamAbandoned),
|
||||||
|
6 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutForfeit),
|
||||||
|
7 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutRefund),
|
||||||
|
8 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_ServerFailureGrantedVictory),
|
||||||
|
9 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutGrantedVictory),
|
||||||
|
100 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_InProgress),
|
||||||
|
101 => ::std::option::Option::Some(ETournamentState::k_ETournamentState_WaitingToMerge),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<ETournamentState> {
|
||||||
|
match str {
|
||||||
|
"k_ETournamentState_Unknown" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Unknown),
|
||||||
|
"k_ETournamentState_CanceledByAdmin" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_CanceledByAdmin),
|
||||||
|
"k_ETournamentState_Completed" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Completed),
|
||||||
|
"k_ETournamentState_Merged" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_Merged),
|
||||||
|
"k_ETournamentState_ServerFailure" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_ServerFailure),
|
||||||
|
"k_ETournamentState_TeamAbandoned" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamAbandoned),
|
||||||
|
"k_ETournamentState_TeamTimeoutForfeit" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutForfeit),
|
||||||
|
"k_ETournamentState_TeamTimeoutRefund" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutRefund),
|
||||||
|
"k_ETournamentState_ServerFailureGrantedVictory" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_ServerFailureGrantedVictory),
|
||||||
|
"k_ETournamentState_TeamTimeoutGrantedVictory" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_TeamTimeoutGrantedVictory),
|
||||||
|
"k_ETournamentState_InProgress" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_InProgress),
|
||||||
|
"k_ETournamentState_WaitingToMerge" => ::std::option::Option::Some(ETournamentState::k_ETournamentState_WaitingToMerge),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [ETournamentState] = &[
|
||||||
|
ETournamentState::k_ETournamentState_Unknown,
|
||||||
|
ETournamentState::k_ETournamentState_CanceledByAdmin,
|
||||||
|
ETournamentState::k_ETournamentState_Completed,
|
||||||
|
ETournamentState::k_ETournamentState_Merged,
|
||||||
|
ETournamentState::k_ETournamentState_ServerFailure,
|
||||||
|
ETournamentState::k_ETournamentState_TeamAbandoned,
|
||||||
|
ETournamentState::k_ETournamentState_TeamTimeoutForfeit,
|
||||||
|
ETournamentState::k_ETournamentState_TeamTimeoutRefund,
|
||||||
|
ETournamentState::k_ETournamentState_ServerFailureGrantedVictory,
|
||||||
|
ETournamentState::k_ETournamentState_TeamTimeoutGrantedVictory,
|
||||||
|
ETournamentState::k_ETournamentState_InProgress,
|
||||||
|
ETournamentState::k_ETournamentState_WaitingToMerge,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for ETournamentState {
|
||||||
|
fn default() -> Self {
|
||||||
|
ETournamentState::k_ETournamentState_Unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:ETournamentNodeState)
|
||||||
|
pub enum ETournamentNodeState {
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_Unknown)
|
||||||
|
k_ETournamentNodeState_Unknown = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_Canceled)
|
||||||
|
k_ETournamentNodeState_Canceled = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_TeamsNotYetAssigned)
|
||||||
|
k_ETournamentNodeState_TeamsNotYetAssigned = 2,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_InBetweenGames)
|
||||||
|
k_ETournamentNodeState_InBetweenGames = 3,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_GameInProgress)
|
||||||
|
k_ETournamentNodeState_GameInProgress = 4,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_Won)
|
||||||
|
k_ETournamentNodeState_A_Won = 5,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_B_Won)
|
||||||
|
k_ETournamentNodeState_B_Won = 6,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_WonByForfeit)
|
||||||
|
k_ETournamentNodeState_A_WonByForfeit = 7,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_B_WonByForfeit)
|
||||||
|
k_ETournamentNodeState_B_WonByForfeit = 8,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_Bye)
|
||||||
|
k_ETournamentNodeState_A_Bye = 9,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_Abandoned)
|
||||||
|
k_ETournamentNodeState_A_Abandoned = 10,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_ServerFailure)
|
||||||
|
k_ETournamentNodeState_ServerFailure = 11,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_TimeoutForfeit)
|
||||||
|
k_ETournamentNodeState_A_TimeoutForfeit = 12,
|
||||||
|
// @@protoc_insertion_point(enum_value:ETournamentNodeState.k_ETournamentNodeState_A_TimeoutRefund)
|
||||||
|
k_ETournamentNodeState_A_TimeoutRefund = 13,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for ETournamentNodeState {
|
||||||
|
const NAME: &'static str = "ETournamentNodeState";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<ETournamentNodeState> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_Unknown),
|
||||||
|
1 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_Canceled),
|
||||||
|
2 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_TeamsNotYetAssigned),
|
||||||
|
3 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_InBetweenGames),
|
||||||
|
4 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_GameInProgress),
|
||||||
|
5 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Won),
|
||||||
|
6 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_B_Won),
|
||||||
|
7 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_WonByForfeit),
|
||||||
|
8 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_B_WonByForfeit),
|
||||||
|
9 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Bye),
|
||||||
|
10 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Abandoned),
|
||||||
|
11 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_ServerFailure),
|
||||||
|
12 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_TimeoutForfeit),
|
||||||
|
13 => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_TimeoutRefund),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<ETournamentNodeState> {
|
||||||
|
match str {
|
||||||
|
"k_ETournamentNodeState_Unknown" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_Unknown),
|
||||||
|
"k_ETournamentNodeState_Canceled" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_Canceled),
|
||||||
|
"k_ETournamentNodeState_TeamsNotYetAssigned" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_TeamsNotYetAssigned),
|
||||||
|
"k_ETournamentNodeState_InBetweenGames" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_InBetweenGames),
|
||||||
|
"k_ETournamentNodeState_GameInProgress" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_GameInProgress),
|
||||||
|
"k_ETournamentNodeState_A_Won" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Won),
|
||||||
|
"k_ETournamentNodeState_B_Won" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_B_Won),
|
||||||
|
"k_ETournamentNodeState_A_WonByForfeit" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_WonByForfeit),
|
||||||
|
"k_ETournamentNodeState_B_WonByForfeit" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_B_WonByForfeit),
|
||||||
|
"k_ETournamentNodeState_A_Bye" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Bye),
|
||||||
|
"k_ETournamentNodeState_A_Abandoned" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_Abandoned),
|
||||||
|
"k_ETournamentNodeState_ServerFailure" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_ServerFailure),
|
||||||
|
"k_ETournamentNodeState_A_TimeoutForfeit" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_TimeoutForfeit),
|
||||||
|
"k_ETournamentNodeState_A_TimeoutRefund" => ::std::option::Option::Some(ETournamentNodeState::k_ETournamentNodeState_A_TimeoutRefund),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [ETournamentNodeState] = &[
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_Unknown,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_Canceled,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_TeamsNotYetAssigned,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_InBetweenGames,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_GameInProgress,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_Won,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_B_Won,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_WonByForfeit,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_B_WonByForfeit,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_Bye,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_Abandoned,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_ServerFailure,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_TimeoutForfeit,
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_A_TimeoutRefund,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for ETournamentNodeState {
|
||||||
|
fn default() -> Self {
|
||||||
|
ETournamentNodeState::k_ETournamentNodeState_Unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:EDOTAGroupMergeResult)
|
||||||
|
pub enum EDOTAGroupMergeResult {
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_OK)
|
||||||
|
k_EDOTAGroupMergeResult_OK = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_FAILED_GENERIC)
|
||||||
|
k_EDOTAGroupMergeResult_FAILED_GENERIC = 1,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_NOT_LEADER)
|
||||||
|
k_EDOTAGroupMergeResult_NOT_LEADER = 2,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS)
|
||||||
|
k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS = 3,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_TOO_MANY_COACHES)
|
||||||
|
k_EDOTAGroupMergeResult_TOO_MANY_COACHES = 4,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_ENGINE_MISMATCH)
|
||||||
|
k_EDOTAGroupMergeResult_ENGINE_MISMATCH = 5,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_NO_SUCH_GROUP)
|
||||||
|
k_EDOTAGroupMergeResult_NO_SUCH_GROUP = 6,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN)
|
||||||
|
k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN = 7,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_ALREADY_INVITED)
|
||||||
|
k_EDOTAGroupMergeResult_ALREADY_INVITED = 8,
|
||||||
|
// @@protoc_insertion_point(enum_value:EDOTAGroupMergeResult.k_EDOTAGroupMergeResult_NOT_INVITED)
|
||||||
|
k_EDOTAGroupMergeResult_NOT_INVITED = 9,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for EDOTAGroupMergeResult {
|
||||||
|
const NAME: &'static str = "EDOTAGroupMergeResult";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<EDOTAGroupMergeResult> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OK),
|
||||||
|
1 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_FAILED_GENERIC),
|
||||||
|
2 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_LEADER),
|
||||||
|
3 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS),
|
||||||
|
4 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_COACHES),
|
||||||
|
5 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ENGINE_MISMATCH),
|
||||||
|
6 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NO_SUCH_GROUP),
|
||||||
|
7 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN),
|
||||||
|
8 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ALREADY_INVITED),
|
||||||
|
9 => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_INVITED),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<EDOTAGroupMergeResult> {
|
||||||
|
match str {
|
||||||
|
"k_EDOTAGroupMergeResult_OK" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OK),
|
||||||
|
"k_EDOTAGroupMergeResult_FAILED_GENERIC" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_FAILED_GENERIC),
|
||||||
|
"k_EDOTAGroupMergeResult_NOT_LEADER" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_LEADER),
|
||||||
|
"k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS),
|
||||||
|
"k_EDOTAGroupMergeResult_TOO_MANY_COACHES" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_COACHES),
|
||||||
|
"k_EDOTAGroupMergeResult_ENGINE_MISMATCH" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ENGINE_MISMATCH),
|
||||||
|
"k_EDOTAGroupMergeResult_NO_SUCH_GROUP" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NO_SUCH_GROUP),
|
||||||
|
"k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN),
|
||||||
|
"k_EDOTAGroupMergeResult_ALREADY_INVITED" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ALREADY_INVITED),
|
||||||
|
"k_EDOTAGroupMergeResult_NOT_INVITED" => ::std::option::Option::Some(EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_INVITED),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [EDOTAGroupMergeResult] = &[
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OK,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_FAILED_GENERIC,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_LEADER,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_PLAYERS,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_TOO_MANY_COACHES,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ENGINE_MISMATCH,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NO_SUCH_GROUP,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OTHER_GROUP_NOT_OPEN,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_ALREADY_INVITED,
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_NOT_INVITED,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for EDOTAGroupMergeResult {
|
||||||
|
fn default() -> Self {
|
||||||
|
EDOTAGroupMergeResult::k_EDOTAGroupMergeResult_OK
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#[derive(Clone,Copy,PartialEq,Eq,Debug,Hash)]
|
||||||
|
// @@protoc_insertion_point(enum:EPartyBeaconType)
|
||||||
|
pub enum EPartyBeaconType {
|
||||||
|
// @@protoc_insertion_point(enum_value:EPartyBeaconType.k_EPartyBeaconType_Available)
|
||||||
|
k_EPartyBeaconType_Available = 0,
|
||||||
|
// @@protoc_insertion_point(enum_value:EPartyBeaconType.k_EPartyBeaconType_Joinable)
|
||||||
|
k_EPartyBeaconType_Joinable = 1,
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::steam_vent_proto_common::protobuf::Enum for EPartyBeaconType {
|
||||||
|
const NAME: &'static str = "EPartyBeaconType";
|
||||||
|
|
||||||
|
fn value(&self) -> i32 {
|
||||||
|
*self as i32
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_i32(value: i32) -> ::std::option::Option<EPartyBeaconType> {
|
||||||
|
match value {
|
||||||
|
0 => ::std::option::Option::Some(EPartyBeaconType::k_EPartyBeaconType_Available),
|
||||||
|
1 => ::std::option::Option::Some(EPartyBeaconType::k_EPartyBeaconType_Joinable),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fn from_str(str: &str) -> ::std::option::Option<EPartyBeaconType> {
|
||||||
|
match str {
|
||||||
|
"k_EPartyBeaconType_Available" => ::std::option::Option::Some(EPartyBeaconType::k_EPartyBeaconType_Available),
|
||||||
|
"k_EPartyBeaconType_Joinable" => ::std::option::Option::Some(EPartyBeaconType::k_EPartyBeaconType_Joinable),
|
||||||
|
_ => ::std::option::Option::None
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
const VALUES: &'static [EPartyBeaconType] = &[
|
||||||
|
EPartyBeaconType::k_EPartyBeaconType_Available,
|
||||||
|
EPartyBeaconType::k_EPartyBeaconType_Joinable,
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
impl ::std::default::Default for EPartyBeaconType {
|
||||||
|
fn default() -> Self {
|
||||||
|
EPartyBeaconType::k_EPartyBeaconType_Available
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
const _VENT_PROTO_VERSION_CHECK: () = ::steam_vent_proto_common::VERSION_0_5_0;
|
||||||
15887
src/generated/dota_clientmessages.rs
Normal file
15887
src/generated/dota_clientmessages.rs
Normal file
File diff suppressed because it is too large
Load diff
2851
src/generated/dota_commonmessages.rs
Normal file
2851
src/generated/dota_commonmessages.rs
Normal file
File diff suppressed because it is too large
Load diff
1489
src/generated/dota_fighting_game_p2p_messages.rs
Normal file
1489
src/generated/dota_fighting_game_p2p_messages.rs
Normal file
File diff suppressed because it is too large
Load diff
83253
src/generated/dota_gcmessages_client.rs
Normal file
83253
src/generated/dota_gcmessages_client.rs
Normal file
File diff suppressed because it is too large
Load diff
7059
src/generated/dota_gcmessages_client_battle_report.rs
Normal file
7059
src/generated/dota_gcmessages_client_battle_report.rs
Normal file
File diff suppressed because it is too large
Load diff
2221
src/generated/dota_gcmessages_client_bingo.rs
Normal file
2221
src/generated/dota_gcmessages_client_bingo.rs
Normal file
File diff suppressed because it is too large
Load diff
5735
src/generated/dota_gcmessages_client_candy_shop.rs
Normal file
5735
src/generated/dota_gcmessages_client_candy_shop.rs
Normal file
File diff suppressed because it is too large
Load diff
6675
src/generated/dota_gcmessages_client_chat.rs
Normal file
6675
src/generated/dota_gcmessages_client_chat.rs
Normal file
File diff suppressed because it is too large
Load diff
6512
src/generated/dota_gcmessages_client_coaching.rs
Normal file
6512
src/generated/dota_gcmessages_client_coaching.rs
Normal file
File diff suppressed because it is too large
Load diff
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue