Changeset View
Changeset View
Standalone View
Standalone View
source/network/NetMessages.h
Show All 18 Lines | |||||
* @file | * @file | ||||
* The list of messages used by the network subsystem. | * The list of messages used by the network subsystem. | ||||
*/ | */ | ||||
#ifndef NETMESSAGES_H | #ifndef NETMESSAGES_H | ||||
#define NETMESSAGES_H | #define NETMESSAGES_H | ||||
#include "ps/CStr.h" | #include "ps/CStr.h" | ||||
#include "scriptinterface/ScriptVal.h" | #include "scriptinterface/ScriptTypes.h" | ||||
#define PS_PROTOCOL_MAGIC 0x5073013f // 'P', 's', 0x01, '?' | #define PS_PROTOCOL_MAGIC 0x5073013f // 'P', 's', 0x01, '?' | ||||
#define PS_PROTOCOL_MAGIC_RESPONSE 0x50630121 // 'P', 'c', 0x01, '!' | #define PS_PROTOCOL_MAGIC_RESPONSE 0x50630121 // 'P', 'c', 0x01, '!' | ||||
#define PS_PROTOCOL_VERSION 0x01010015 // Arbitrary protocol | #define PS_PROTOCOL_VERSION 0x01010015 // Arbitrary protocol | ||||
#define PS_DEFAULT_PORT 0x5073 // 'P', 's' | #define PS_DEFAULT_PORT 0x5073 // 'P', 's' | ||||
// Set when lobby authentication is required. Used in the SrvHandshakeResponseMessage. | // Set when lobby authentication is required. Used in the SrvHandshakeResponseMessage. | ||||
#define PS_NETWORK_FLAG_REQUIRE_LOBBYAUTH 0x1 | #define PS_NETWORK_FLAG_REQUIRE_LOBBYAUTH 0x1 | ||||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator