mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-07-23 17:05:22 +02:00

- /dll/base.cpp - /dll/base.h - /dll/common_includes.h - /dll/dll.cpp - /dll/dll.h - /dll/flat.cpp - /dll/local_storage.cpp - /dll/local_storage.h - /dll/net.proto - /dll/network.cpp - /dll/network.h - /dll/rtlgenrandom.c - /dll/rtlgenrandom.def - /dll/settings.cpp - /dll/settings.h - /dll/settings_parser.cpp - /dll/settings_parser.h - /dll/steam_HTMLsurface.h - /dll/steam_applist.cpp - /dll/steam_applist.h - /dll/steam_apps.cpp - /dll/steam_apps.h - /dll/steam_client.cpp - /dll/steam_client.h - /dll/steam_controller.h - /dll/steam_friends.h - /dll/steam_game_coordinator.h - /dll/steam_gamesearch.h - /dll/steam_gameserver.cpp - /dll/steam_gameserver.h - /dll/steam_gameserverstats.cpp - /dll/steam_gameserverstats.h - /dll/steam_http.cpp - /dll/steam_http.h - /dll/steam_inventory.h - /dll/steam_masterserver_updater.h - /dll/steam_matchmaking.h - /dll/steam_matchmaking_servers.cpp - /dll/steam_matchmaking_servers.h - /dll/steam_music.cpp - /dll/steam_music.h - /dll/steam_musicremote.cpp - /dll/steam_musicremote.h - /dll/steam_networking.h - /dll/steam_networking_messages.h - /dll/steam_networking_sockets.h - /dll/steam_networking_socketsserialized.h - /dll/steam_networking_utils.h - /dll/steam_parental.cpp - /dll/steam_parental.h - /dll/steam_parties.h - /dll/steam_remote_storage.h - /dll/steam_remoteplay.h - /dll/steam_screenshots.cpp - /dll/steam_screenshots.h - /dll/steam_tv.h - /dll/steam_ugc.h - /dll/steam_unified_messages.h - /dll/steam_user.h - /dll/steam_user_stats.h - /dll/steam_utils.h - /dll/steam_video.cpp - /dll/steam_video.h - /dll/wrap.cpp - /all/network.h - /all/network.cpp - /all/dll.cpp - /all/base.cpp - /all/base.h - /all/common_includes.h - /all/local_storage.cpp - /all/local_storage.h - /all/rtlgenrandom.c - /all/settings_parser.cpp - /all/settings.cpp - /all/steam_HTMLsurface.h - /all/settings_parser.h - /all/steam_client.h - /all/steam_apps.h - /all/steam_gameserver.h - /all/steam_client.cpp - /all/steam_applist.cpp - /all/steam_gameserver.cpp - /all/steam_controller.h - /all/dll.h - /all/steam_apps.cpp - /all/steam_friends.h - /all/steam_game_coordinator.h - /all/net.proto - /all/rtlgenrandom.def - /all/steam_matchmaking_servers.h - /all/settings.h - /all/steam_applist.h - /all/flat.cpp - /all/steam_gamesearch.h - /all/steam_music.cpp - /all/steam_remoteplay.h - /all/steam_screenshots.cpp - /all/steam_parental.cpp - /all/steam_musicremote.h - /all/steam_networking.h - /all/steam_networking_messages.h - /all/steam_networking_sockets.h - /all/steam_networking_socketsserialized.h - /all/steam_networking_utils.h - /all/steam_parental.h - /all/steam_parties.h - /all/steam_remote_storage.h - /all/steam_screenshots.h - /all/steam_tv.h - /all/steam_ugc.h - /all/steam_unified_messages.h - /all/steam_user.h - /all/steam_user_stats.h - /all/steam_http.cpp - /all/steam_http.h - /all/steam_inventory.h - /all/steam_masterserver_updater.h - /all/steam_matchmaking.h - /all/steam_matchmaking_servers.cpp - /all/steam_music.h - /all/steam_musicremote.cpp - /all/steam_utils.h - /all/steam_video.cpp - /all/wrap.cpp - /all/steam_gameserverstats.cpp - /all/steam_gameserverstats.h - /all/steam_video.h
237 lines
4.4 KiB
Protocol Buffer
237 lines
4.4 KiB
Protocol Buffer
syntax = "proto3";
|
|
|
|
option optimize_for = LITE_RUNTIME;
|
|
|
|
message Announce {
|
|
enum Types {
|
|
PING = 0;
|
|
PONG = 1;
|
|
}
|
|
|
|
Types type = 1;
|
|
repeated uint64 ids = 2;
|
|
|
|
message Other_Peers {
|
|
uint64 id = 1;
|
|
uint32 ip = 2;
|
|
uint32 udp_port = 3;
|
|
uint32 appid = 4;
|
|
}
|
|
|
|
uint32 tcp_port = 3;
|
|
repeated Other_Peers peers = 4;
|
|
uint32 appid = 5;
|
|
}
|
|
|
|
message Lobby {
|
|
uint64 room_id = 1;
|
|
uint64 owner = 2;
|
|
|
|
map<string, bytes> values = 3;
|
|
|
|
message Member {
|
|
uint64 id = 1;
|
|
map<string, bytes> values = 2;
|
|
}
|
|
|
|
repeated Member members = 4;
|
|
|
|
message Gameserver {
|
|
uint64 id = 1;
|
|
uint32 ip = 2;
|
|
uint32 port = 3;
|
|
uint32 num_update = 4;
|
|
}
|
|
|
|
Gameserver gameserver = 5;
|
|
|
|
uint32 member_limit = 6;
|
|
uint32 type = 7; //ELobbyType
|
|
bool joinable = 8;
|
|
uint32 appid = 9;
|
|
bool deleted = 32;
|
|
uint64 time_deleted = 33;
|
|
}
|
|
|
|
message Lobby_Messages {
|
|
uint64 id = 1;
|
|
|
|
enum Types {
|
|
JOIN = 0;
|
|
LEAVE = 1;
|
|
CHANGE_OWNER = 2;
|
|
MEMBER_DATA = 3;
|
|
CHAT_MESSAGE = 4;
|
|
}
|
|
|
|
Types type = 2;
|
|
uint64 idata = 3;
|
|
bytes bdata = 4;
|
|
map<string, bytes> map = 5;
|
|
}
|
|
|
|
message Low_Level {
|
|
enum Types {
|
|
HEARTBEAT = 0;
|
|
CONNECT = 1;
|
|
DISCONNECT = 2;
|
|
}
|
|
|
|
Types type = 1;
|
|
}
|
|
|
|
message Network_pb {
|
|
uint32 channel = 1;
|
|
bytes data = 2;
|
|
|
|
enum Types {
|
|
DATA = 0;
|
|
NEW_CONNECTION = 1;
|
|
}
|
|
|
|
Types type = 3;
|
|
|
|
bool processed = 128;
|
|
uint64 time_processed = 129;
|
|
}
|
|
|
|
message Network_Old {
|
|
enum Types {
|
|
CONNECTION_REQUEST_IP = 0;
|
|
CONNECTION_REQUEST_STEAMID = 1;
|
|
CONNECTION_ACCEPTED = 2;
|
|
CONNECTION_END = 3;
|
|
DATA = 4;
|
|
}
|
|
|
|
Types type = 1;
|
|
uint64 connection_id = 2;
|
|
uint64 connection_id_from = 3;
|
|
uint32 port = 4;
|
|
bytes data = 5;
|
|
}
|
|
|
|
message Networking_Sockets {
|
|
enum Types {
|
|
CONNECTION_REQUEST = 0;
|
|
CONNECTION_ACCEPTED = 2;
|
|
CONNECTION_END = 3;
|
|
DATA = 4;
|
|
}
|
|
|
|
Types type = 1;
|
|
int32 virtual_port = 2;
|
|
int32 real_port = 6;
|
|
uint64 connection_id = 3;
|
|
uint64 connection_id_from = 4;
|
|
bytes data = 5;
|
|
uint64 message_number = 7;
|
|
}
|
|
|
|
message Networking_Messages {
|
|
enum Types {
|
|
CONNECTION_NEW = 0;
|
|
CONNECTION_ACCEPT = 1;
|
|
CONNECTION_END = 2;
|
|
DATA = 3;
|
|
}
|
|
|
|
Types type = 1;
|
|
uint32 channel = 2;
|
|
uint32 id_from = 3;
|
|
bytes data = 5;
|
|
}
|
|
|
|
message Gameserver {
|
|
uint64 id = 1;
|
|
bytes game_description = 2;
|
|
bytes mod_dir = 3;
|
|
bool dedicated_server = 4;
|
|
uint32 max_player_count = 5;
|
|
uint32 bot_player_count = 6;
|
|
bytes server_name = 7;
|
|
bytes map_name = 8;
|
|
bool password_protected = 9;
|
|
uint32 spectator_port = 10;
|
|
bytes spectator_server_name = 11;
|
|
map<string, bytes> values = 12;
|
|
bytes tags = 13;
|
|
bytes gamedata = 14;
|
|
bytes region = 15;
|
|
bytes product = 16;
|
|
bool secure = 17;
|
|
uint32 num_players = 18;
|
|
uint32 version = 19;
|
|
|
|
uint32 ip = 32;
|
|
uint32 port = 33;
|
|
uint32 query_port = 34;
|
|
uint32 appid = 35;
|
|
|
|
bool offline = 48;
|
|
}
|
|
|
|
message Friend {
|
|
uint64 id = 1;
|
|
bytes name = 2;
|
|
map<string, bytes> rich_presence = 3;
|
|
uint32 appid = 4;
|
|
uint64 lobby_id = 5;
|
|
}
|
|
|
|
message Auth_Ticket {
|
|
uint32 number = 1;
|
|
|
|
enum Types {
|
|
CANCEL = 0;
|
|
}
|
|
|
|
Types type = 2;
|
|
}
|
|
|
|
message Friend_Messages {
|
|
enum Types {
|
|
LOBBY_INVITE = 0;
|
|
GAME_INVITE = 1;
|
|
}
|
|
|
|
Types type = 1;
|
|
oneof invite_data {
|
|
uint64 lobby_id = 2;
|
|
bytes connect_str = 3;
|
|
}
|
|
}
|
|
|
|
message Steam_Messages {
|
|
enum Types {
|
|
FRIEND_CHAT = 0;
|
|
}
|
|
|
|
Types type = 1;
|
|
oneof message_data {
|
|
bytes message = 2;
|
|
}
|
|
}
|
|
|
|
message Common_Message {
|
|
uint64 source_id = 1;
|
|
uint64 dest_id = 2;
|
|
oneof messages {
|
|
Announce announce = 3;
|
|
Low_Level low_level = 4;
|
|
Lobby lobby = 5;
|
|
Lobby_Messages lobby_messages = 6;
|
|
Network_pb network = 7;
|
|
Gameserver gameserver = 8;
|
|
Friend friend = 9;
|
|
Auth_Ticket auth_ticket = 10;
|
|
Friend_Messages friend_messages = 11;
|
|
Network_Old network_old = 12;
|
|
Networking_Sockets networking_sockets = 13;
|
|
Steam_Messages steam_messages = 14;
|
|
Networking_Messages networking_messages = 15;
|
|
}
|
|
|
|
uint32 source_ip = 128;
|
|
uint32 source_port = 129;
|
|
}
|