PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
raklib\protocol\MessageIdentifiers Interface Reference
+ Collaboration diagram for raklib\protocol\MessageIdentifiers:

Public Attributes

const ID_ADVERTISE_SYSTEM = 0x1d
 
const ID_ALREADY_CONNECTED = 0x12
 RakPeer - Sent a connect request to a system we are currently connected to. More...
 
const ID_AUTOPATCHER_CANNOT_DOWNLOAD_ORIGINAL_UNMODIFIED_FILES = 0x36
 Autopatcher plugin - Returned to the user: The server does not allow downloading unmodified game files. More...
 
const ID_AUTOPATCHER_CREATION_LIST = 0x31
 Autopatcher plugin - A list of files to create. More...
 
const ID_AUTOPATCHER_DELETION_LIST = 0x32
 Autopatcher plugin - A list of files to delete. More...
 
const ID_AUTOPATCHER_FINISHED = 0x38
 
const ID_AUTOPATCHER_FINISHED_INTERNAL = 0x37
 Autopatcher plugin - Finished getting all files from the autopatcher. More...
 
const ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE = 0x30
 Autopatcher plugin - Get a list of files that have changed since a certain date. More...
 
const ID_AUTOPATCHER_GET_PATCH = 0x33
 Autopatcher plugin - A list of files to get patches for. More...
 
const ID_AUTOPATCHER_PATCH_LIST = 0x34
 Autopatcher plugin - A list of patches for a list of files. More...
 
const ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR = 0x35
 Autopatcher plugin - Returned to the user: An error from the database repository for the autopatcher. More...
 
const ID_AUTOPATCHER_RESTART_APPLICATION = 0x39
 Autopatcher plugin - Returned to the user: You must restart the application to finish patching. More...
 
const ID_CLOUD_GET_REQUEST = 0x75
 
const ID_CLOUD_GET_RESPONSE = 0x76
 
const ID_CLOUD_POST_REQUEST = 0x73
 CloudClient / CloudServer. More...
 
const ID_CLOUD_RELEASE_REQUEST = 0x74
 
const ID_CLOUD_SERVER_TO_SERVER_COMMAND = 0x78
 
const ID_CLOUD_SUBSCRIPTION_NOTIFICATION = 0x79
 
const ID_CLOUD_UNSUBSCRIBE_REQUEST = 0x77
 
const ID_CONNECTED_PING = 0x00
 
const ID_CONNECTED_PONG = 0x03
 Pong from a connected system. Update timestamps (internal use only) More...
 
const ID_CONNECTION_ATTEMPT_FAILED = 0x11
 RakPeer - Sent to the player when a connection request cannot be completed due to inability to connect. More...
 
const ID_CONNECTION_BANNED = 0x17
 RakPeer - We are banned from the system we attempted to connect to. More...
 
const ID_CONNECTION_LOST = 0x16
 
const ID_CONNECTION_REQUEST = 0x09
 C2S: Header(1), GUID(8), Timestamp, HasSecurity(1), Proof(32) More...
 
const ID_CONNECTION_REQUEST_ACCEPTED = 0x10
 RakPeer - In a client/server environment, our connection request to the server has been accepted. More...
 
const ID_DDT_DOWNLOAD_REQUEST = 0x25
 DirectoryDeltaTransfer plugin - Request from a remote system for a download of a directory. More...
 
const ID_DETECT_LOST_CONNECTIONS = 0x04
 A reliable packet to detect lost connections (internal use only) More...
 
const ID_DISCONNECTION_NOTIFICATION = 0x15
 
const ID_DOWNLOAD_PROGRESS = 0x1e
 
const ID_FCM2_INFORM_FCMGUID = 0x55
 
const ID_FCM2_NEW_HOST = 0x52
 
const ID_FCM2_REQUEST_FCMGUID = 0x53
 
const ID_FCM2_RESPOND_CONNECTION_COUNT = 0x54
 
const ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT = 0x56
 
const ID_FCM2_UPDATE_USER_CONTEXT = 0x7e
 
const ID_FCM2_VERIFIED_JOIN_ACCEPTED = 0x5a
 
const ID_FCM2_VERIFIED_JOIN_CAPABLE = 0x58
 
const ID_FCM2_VERIFIED_JOIN_FAILED = 0x59
 
const ID_FCM2_VERIFIED_JOIN_REJECTED = 0x5b
 
const ID_FCM2_VERIFIED_JOIN_START = 0x57
 
const ID_FILE_LIST_REFERENCE_PUSH = 0x4b
 FileListTransfer transferring large files in chunks that are read only when needed, to save memory. More...
 
const ID_FILE_LIST_REFERENCE_PUSH_ACK = 0x24
 
const ID_FILE_LIST_TRANSFER_FILE = 0x23
 FileListTransfer plugin - A file. More...
 
const ID_FILE_LIST_TRANSFER_HEADER = 0x22
 FileListTransfer plugin - Setup data. More...
 
const ID_INCOMPATIBLE_PROTOCOL_VERSION = 0x19
 
const ID_INVALID_PASSWORD = 0x18
 RakPeer - The remote system is using a password and has refused our connection because we did not set the correct password. More...
 
const ID_IP_RECENTLY_CONNECTED = 0x1a
 RakPeer::SetLimitIPConnectionFrequency() More...
 
const ID_LIB_VOICE = 0x7a
 
const ID_LIGHTSPEED_INTEGRATION = 0x6b
 Gamebryo Lightspeed integration. More...
 
const ID_LOBBY2_SEND_MESSAGE = 0x50
 Lobby2 message. More...
 
const ID_LOBBY2_SERVER_ERROR = 0x51
 
const ID_LOBBY_GENERAL = 0x48
 Lobby packets. Second byte indicates type. More...
 
const ID_NAT_ALREADY_IN_PROGRESS = 0x41
 
const ID_NAT_CLIENT_READY = 0x3d
 NATPunchthrough plugin: internal. More...
 
const ID_NAT_CONNECT_AT_TIME = 0x3b
 NATPunchthrough plugin: internal. More...
 
const ID_NAT_CONNECTION_TO_TARGET_LOST = 0x40
 
const ID_NAT_GET_MOST_RECENT_PORT = 0x3c
 NATPunchthrough plugin: internal. More...
 
const ID_NAT_PUNCHTHROUGH_FAILED = 0x42
 
const ID_NAT_PUNCHTHROUGH_REQUEST = 0x3a
 NATPunchthrough plugin: internal. More...
 
const ID_NAT_PUNCHTHROUGH_SUCCEEDED = 0x43
 
const ID_NAT_REQUEST_BOUND_ADDRESSES = 0x7c
 
const ID_NAT_RESPOND_BOUND_ADDRESSES = 0x7d
 
const ID_NAT_TARGET_NOT_CONNECTED = 0x3e
 NATPunchthrough plugin: internal. More...
 
const ID_NAT_TARGET_UNRESPONSIVE = 0x3f
 
const ID_NAT_TYPE_DETECTION_REQUEST = 0x60
 Sent to NatTypeDetectionServer. More...
 
const ID_NAT_TYPE_DETECTION_RESULT = 0x61
 Sent to NatTypeDetectionClient. Byte 1 contains the type of NAT detected. More...
 
const ID_NEW_INCOMING_CONNECTION = 0x13
 RakPeer - A remote system has successfully connected. More...
 
const ID_NO_FREE_INCOMING_CONNECTIONS = 0x14
 RakPeer - The system we attempted to connect to is not accepting new connections. More...
 
const ID_OPEN_CONNECTION_REPLY_1 = 0x06
 
const ID_OPEN_CONNECTION_REPLY_2 = 0x08
 S2C: Header(1), OfflineMesageID(16), server GUID(8), mtu(2), doSecurity(1 bit), handshakeAnswer (if do security is true) More...
 
const ID_OPEN_CONNECTION_REQUEST_1 = 0x05
 
const ID_OPEN_CONNECTION_REQUEST_2 = 0x07
 
const ID_OUR_SYSTEM_REQUIRES_SECURITY = 0x0b
 RakPeer - We passed a public key to RakPeerInterface::Connect(), but the other system did not have security turned on. More...
 
const ID_OUT_OF_BAND_INTERNAL = 0x0d
 
const ID_PUBLIC_KEY_MISMATCH = 0x0c
 RakPeer - Wrong public key passed to RakPeerInterface::Connect() More...
 
const ID_RAKVOICE_CLOSE_CHANNEL = 0x2e
 RakVoice plugin - Close a communication channel. More...
 
const ID_RAKVOICE_DATA = 0x2f
 RakVoice plugin - Voice data. More...
 
const ID_RAKVOICE_OPEN_CHANNEL_REPLY = 0x2d
 RakVoice plugin - Communication channel accepted. More...
 
const ID_RAKVOICE_OPEN_CHANNEL_REQUEST = 0x2c
 RakVoice plugin - Open a communication channel. More...
 
const ID_READY_EVENT_ALL_SET = 0x46
 
const ID_READY_EVENT_FORCE_ALL_SET = 0x4c
 Force the ready event to all set. More...
 
const ID_READY_EVENT_QUERY = 0x47
 
const ID_READY_EVENT_SET = 0x44
 
const ID_READY_EVENT_UNSET = 0x45
 
const ID_RELAY_PLUGIN = 0x7b
 
const ID_REMOTE_CONNECTION_LOST = 0x20
 
const ID_REMOTE_DISCONNECTION_NOTIFICATION = 0x1f
 
const ID_REMOTE_NEW_INCOMING_CONNECTION = 0x21
 ConnectionGraph2 plugin: Bytes 1-4 = count. for (count items) contains {SystemAddress, RakNetGUID, 2 byte ping}. More...
 
const ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY = 0x0a
 RakPeer - Remote system requires secure connections, pass a public key to RakPeerInterface::Connect() More...
 
const ID_REPLICA_MANAGER_CONSTRUCTION = 0x27
 ReplicaManager plugin - Create an object. More...
 
const ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE = 0x2b
 ReplicaManager plugin - Finished downloading all serialized objects. More...
 
const ID_REPLICA_MANAGER_DOWNLOAD_STARTED = 0x2a
 ReplicaManager plugin - New connection, about to send all world objects. More...
 
const ID_REPLICA_MANAGER_SCOPE_CHANGE = 0x28
 ReplicaManager plugin - Changed scope of an object. More...
 
const ID_REPLICA_MANAGER_SERIALIZE = 0x29
 ReplicaManager plugin - Serialized data of an object. More...
 
const ID_RESERVED_3 = 0x7f
 
const ID_RESERVED_4 = 0x80
 
const ID_RESERVED_5 = 0x81
 
const ID_RESERVED_6 = 0x82
 
const ID_RESERVED_7 = 0x83
 
const ID_RESERVED_8 = 0x84
 
const ID_RESERVED_9 = 0x85
 
const ID_ROOMS_EXECUTE_FUNC = 0x4d
 Rooms function. More...
 
const ID_ROOMS_HANDLE_CHANGE = 0x4f
 
const ID_ROOMS_LOGON_STATUS = 0x4e
 
const ID_ROUTER_2_FORWARDING_ESTABLISHED = 0x64
 You can now call connect, ping, or other operations to the destination system. More...
 
const ID_ROUTER_2_FORWARDING_NO_PATH = 0x63
 
const ID_ROUTER_2_INTERNAL = 0x62
 Used by the router2 plugin. More...
 
const ID_ROUTER_2_REROUTED = 0x65
 
const ID_RPC_PLUGIN = 0x4a
 Plugin based replacement for RPC system. More...
 
const ID_RPC_REMOTE_ERROR = 0x49
 
const ID_SND_RECEIPT_ACKED = 0x0e
 
const ID_SND_RECEIPT_LOSS = 0x0f
 
const ID_SQLite3_EXEC = 0x5d
 SQLite3Plugin - execute. More...
 
const ID_SQLite3_UNKNOWN_DB = 0x5e
 SQLite3Plugin - Remote database is unknown. More...
 
const ID_SQLLITE_LOGGER = 0x5f
 Events happening with SQLiteClientLoggerPlugin. More...
 
const ID_TEAM_BALANCER_INTERNAL = 0x66
 
const ID_TEAM_BALANCER_REQUESTED_TEAM_FULL = 0x67
 
const ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED = 0x68
 
const ID_TEAM_BALANCER_TEAM_ASSIGNED = 0x6a
 Team balancer plugin informing you of your team. Byte 1 contains the team you requested to join. Following bytes contain NetworkID of which member. More...
 
const ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED = 0x69
 
const ID_TIMESTAMP = 0x1b
 
const ID_TRANSPORT_STRING = 0x26
 RakNetTransport plugin - Transport provider message, used for remote console. More...
 
const ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE = 0x6f
 
const ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS = 0x6d
 
const ID_TWO_WAY_AUTHENTICATION_NEGOTIATION = 0x72
 
const ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE = 0x70
 
const ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS = 0x6e
 
const ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT = 0x71
 
const ID_UDP_PROXY_GENERAL = 0x5c
 UDP proxy messages. Second byte indicates type. More...
 
const ID_UNCONNECTED_PING = 0x01
 Ping from an unconnected system. Reply but do not update timestamps. (internal use only) More...
 
const ID_UNCONNECTED_PING_OPEN_CONNECTIONS = 0x02
 Ping from an unconnected system. Only reply if we have open connections. Do not update timestamps. (internal use only) More...
 
const ID_UNCONNECTED_PONG = 0x1c
 
const ID_USER_PACKET_ENUM = 0x86
 
const ID_XBOX_LOBBY = 0x6c
 XBOX integration. More...
 

Detailed Description

Definition at line 19 of file MessageIdentifiers.php.

Member Data Documentation

◆ ID_ADVERTISE_SYSTEM

const raklib\protocol\MessageIdentifiers::ID_ADVERTISE_SYSTEM = 0x1d

RakPeer - Inform a remote system of our IP/Port. On the recipient, all data past ID_ADVERTISE_SYSTEM is whatever was passed to the data parameter

Definition at line 114 of file MessageIdentifiers.php.

◆ ID_ALREADY_CONNECTED

const raklib\protocol\MessageIdentifiers::ID_ALREADY_CONNECTED = 0x12

RakPeer - Sent a connect request to a system we are currently connected to.

Definition at line 83 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_CANNOT_DOWNLOAD_ORIGINAL_UNMODIFIED_FILES

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_CANNOT_DOWNLOAD_ORIGINAL_UNMODIFIED_FILES = 0x36

Autopatcher plugin - Returned to the user: The server does not allow downloading unmodified game files.

Definition at line 176 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_CREATION_LIST

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_CREATION_LIST = 0x31

Autopatcher plugin - A list of files to create.

Definition at line 166 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_DELETION_LIST

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_DELETION_LIST = 0x32

Autopatcher plugin - A list of files to delete.

Definition at line 168 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_FINISHED

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_FINISHED = 0x38

Definition at line 179 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_FINISHED_INTERNAL

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_FINISHED_INTERNAL = 0x37

Autopatcher plugin - Finished getting all files from the autopatcher.

Definition at line 178 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE = 0x30

Autopatcher plugin - Get a list of files that have changed since a certain date.

Definition at line 164 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_GET_PATCH

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_GET_PATCH = 0x33

Autopatcher plugin - A list of files to get patches for.

Definition at line 170 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_PATCH_LIST

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_PATCH_LIST = 0x34

Autopatcher plugin - A list of patches for a list of files.

Definition at line 172 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR = 0x35

Autopatcher plugin - Returned to the user: An error from the database repository for the autopatcher.

Definition at line 174 of file MessageIdentifiers.php.

◆ ID_AUTOPATCHER_RESTART_APPLICATION

const raklib\protocol\MessageIdentifiers::ID_AUTOPATCHER_RESTART_APPLICATION = 0x39

Autopatcher plugin - Returned to the user: You must restart the application to finish patching.

Definition at line 181 of file MessageIdentifiers.php.

◆ ID_CLOUD_GET_REQUEST

const raklib\protocol\MessageIdentifiers::ID_CLOUD_GET_REQUEST = 0x75

Definition at line 376 of file MessageIdentifiers.php.

◆ ID_CLOUD_GET_RESPONSE

const raklib\protocol\MessageIdentifiers::ID_CLOUD_GET_RESPONSE = 0x76

Definition at line 377 of file MessageIdentifiers.php.

◆ ID_CLOUD_POST_REQUEST

const raklib\protocol\MessageIdentifiers::ID_CLOUD_POST_REQUEST = 0x73

CloudClient / CloudServer.

Definition at line 374 of file MessageIdentifiers.php.

◆ ID_CLOUD_RELEASE_REQUEST

const raklib\protocol\MessageIdentifiers::ID_CLOUD_RELEASE_REQUEST = 0x74

Definition at line 375 of file MessageIdentifiers.php.

◆ ID_CLOUD_SERVER_TO_SERVER_COMMAND

const raklib\protocol\MessageIdentifiers::ID_CLOUD_SERVER_TO_SERVER_COMMAND = 0x78

Definition at line 379 of file MessageIdentifiers.php.

◆ ID_CLOUD_SUBSCRIPTION_NOTIFICATION

const raklib\protocol\MessageIdentifiers::ID_CLOUD_SUBSCRIPTION_NOTIFICATION = 0x79

Definition at line 380 of file MessageIdentifiers.php.

◆ ID_CLOUD_UNSUBSCRIBE_REQUEST

const raklib\protocol\MessageIdentifiers::ID_CLOUD_UNSUBSCRIBE_REQUEST = 0x77

Definition at line 378 of file MessageIdentifiers.php.

◆ ID_CONNECTED_PING

const raklib\protocol\MessageIdentifiers::ID_CONNECTED_PING = 0x00

These types are never returned to the user. Ping from a connected system. Update timestamps (internal use only)

Definition at line 28 of file MessageIdentifiers.php.

◆ ID_CONNECTED_PONG

const raklib\protocol\MessageIdentifiers::ID_CONNECTED_PONG = 0x03

Pong from a connected system. Update timestamps (internal use only)

Definition at line 34 of file MessageIdentifiers.php.

◆ ID_CONNECTION_ATTEMPT_FAILED

const raklib\protocol\MessageIdentifiers::ID_CONNECTION_ATTEMPT_FAILED = 0x11

RakPeer - Sent to the player when a connection request cannot be completed due to inability to connect.

Definition at line 81 of file MessageIdentifiers.php.

◆ ID_CONNECTION_BANNED

const raklib\protocol\MessageIdentifiers::ID_CONNECTION_BANNED = 0x17

RakPeer - We are banned from the system we attempted to connect to.

Definition at line 95 of file MessageIdentifiers.php.

◆ ID_CONNECTION_LOST

const raklib\protocol\MessageIdentifiers::ID_CONNECTION_LOST = 0x16

RakPeer - Reliable packets cannot be delivered to the system specified in Packet::systemAddress. The connection to that system has been closed.

Definition at line 93 of file MessageIdentifiers.php.

◆ ID_CONNECTION_REQUEST

const raklib\protocol\MessageIdentifiers::ID_CONNECTION_REQUEST = 0x09

C2S: Header(1), GUID(8), Timestamp, HasSecurity(1), Proof(32)

Definition at line 50 of file MessageIdentifiers.php.

◆ ID_CONNECTION_REQUEST_ACCEPTED

const raklib\protocol\MessageIdentifiers::ID_CONNECTION_REQUEST_ACCEPTED = 0x10

RakPeer - In a client/server environment, our connection request to the server has been accepted.

Definition at line 79 of file MessageIdentifiers.php.

◆ ID_DDT_DOWNLOAD_REQUEST

const raklib\protocol\MessageIdentifiers::ID_DDT_DOWNLOAD_REQUEST = 0x25

DirectoryDeltaTransfer plugin - Request from a remote system for a download of a directory.

Definition at line 138 of file MessageIdentifiers.php.

◆ ID_DETECT_LOST_CONNECTIONS

const raklib\protocol\MessageIdentifiers::ID_DETECT_LOST_CONNECTIONS = 0x04

A reliable packet to detect lost connections (internal use only)

Definition at line 36 of file MessageIdentifiers.php.

◆ ID_DISCONNECTION_NOTIFICATION

const raklib\protocol\MessageIdentifiers::ID_DISCONNECTION_NOTIFICATION = 0x15

RakPeer - The system specified in Packet::systemAddress has disconnected from us. For the client, this would mean the server has shutdown.

Definition at line 90 of file MessageIdentifiers.php.

◆ ID_DOWNLOAD_PROGRESS

const raklib\protocol\MessageIdentifiers::ID_DOWNLOAD_PROGRESS = 0x1e

partTotal (unsigned int), partLength (unsigned int), first part data (length <= MAX_MTU_SIZE). See the three parameters partCount, partTotal and partLength in OnFileProgress in FileListTransferCBInterface.h

Definition at line 119 of file MessageIdentifiers.php.

◆ ID_FCM2_INFORM_FCMGUID

const raklib\protocol\MessageIdentifiers::ID_FCM2_INFORM_FCMGUID = 0x55

Definition at line 262 of file MessageIdentifiers.php.

◆ ID_FCM2_NEW_HOST

const raklib\protocol\MessageIdentifiers::ID_FCM2_NEW_HOST = 0x52

Informs user of a new host GUID. Packet::Guid contains this new host RakNetGuid. The old host can be read out using BitStream->Read(RakNetGuid) starting on byte 1 This is not returned until connected to a remote system If the oldHost is UNASSIGNED_RAKNET_GUID, then this is the first time the host has been determined

Definition at line 256 of file MessageIdentifiers.php.

◆ ID_FCM2_REQUEST_FCMGUID

const raklib\protocol\MessageIdentifiers::ID_FCM2_REQUEST_FCMGUID = 0x53

Definition at line 258 of file MessageIdentifiers.php.

◆ ID_FCM2_RESPOND_CONNECTION_COUNT

const raklib\protocol\MessageIdentifiers::ID_FCM2_RESPOND_CONNECTION_COUNT = 0x54

Definition at line 260 of file MessageIdentifiers.php.

◆ ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT

const raklib\protocol\MessageIdentifiers::ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT = 0x56

Definition at line 264 of file MessageIdentifiers.php.

◆ ID_FCM2_UPDATE_USER_CONTEXT

const raklib\protocol\MessageIdentifiers::ID_FCM2_UPDATE_USER_CONTEXT = 0x7e

Definition at line 388 of file MessageIdentifiers.php.

◆ ID_FCM2_VERIFIED_JOIN_ACCEPTED

const raklib\protocol\MessageIdentifiers::ID_FCM2_VERIFIED_JOIN_ACCEPTED = 0x5a

The system that called StartVerifiedJoin() got ID_FCM2_VERIFIED_JOIN_CAPABLE from the client and then called RespondOnVerifiedJoinCapable() with true AddParticipant() has automatically been called for this system Use GetVerifiedJoinAcceptedAdditionalData() to read any additional data passed to RespondOnVerifiedJoinCapable()

Note
All systems in the mesh get this message
See also
RespondOnVerifiedJoinCapable()

Definition at line 287 of file MessageIdentifiers.php.

◆ ID_FCM2_VERIFIED_JOIN_CAPABLE

const raklib\protocol\MessageIdentifiers::ID_FCM2_VERIFIED_JOIN_CAPABLE = 0x58

Definition at line 275 of file MessageIdentifiers.php.

◆ ID_FCM2_VERIFIED_JOIN_FAILED

const raklib\protocol\MessageIdentifiers::ID_FCM2_VERIFIED_JOIN_FAILED = 0x59

Client failed to connect to a required systems notified via FullyConnectedMesh2::StartVerifiedJoin() RakPeerInterface::CloseConnection() was automatically called for all systems connected due to ID_FCM2_VERIFIED_JOIN_START Programmer should inform the player via the UI that they cannot join this session, and to choose a different session

Note
Server normally sends us this message, however if connection to the server was lost, message will be returned locally
Only the designated client gets this message

Definition at line 281 of file MessageIdentifiers.php.

◆ ID_FCM2_VERIFIED_JOIN_REJECTED

const raklib\protocol\MessageIdentifiers::ID_FCM2_VERIFIED_JOIN_REJECTED = 0x5b

The system that called StartVerifiedJoin() got ID_FCM2_VERIFIED_JOIN_CAPABLE from the client and then called RespondOnVerifiedJoinCapable() with false CloseConnection() has been automatically called for each system connected to since ID_FCM2_VERIFIED_JOIN_START. The connection is NOT automatically closed to the original host that sent StartVerifiedJoin() Use GetVerifiedJoinRejectedAdditionalData() to read any additional data passed to RespondOnVerifiedJoinCapable()

Note
Only the designated client gets this message
See also
RespondOnVerifiedJoinCapable()

Definition at line 294 of file MessageIdentifiers.php.

◆ ID_FCM2_VERIFIED_JOIN_START

const raklib\protocol\MessageIdentifiers::ID_FCM2_VERIFIED_JOIN_START = 0x57

A remote system (not necessarily the host) called FullyConnectedMesh2::StartVerifiedJoin() with our system as the client Use FullyConnectedMesh2::GetVerifiedJoinRequiredProcessingList() to read systems For each system, attempt NatPunchthroughClient::OpenNAT() and/or RakPeerInterface::Connect() When this has been done for all systems, the remote system will automatically be informed of the results

Note
Only the designated client gets this message
You won't get this message if you are already connected to all target systems
If you fail to connect to a system, this does not automatically mean you will get ID_FCM2_VERIFIED_JOIN_FAILED as that system may have been shutting down from the host too
See also
FullyConnectedMesh2::StartVerifiedJoin()

Definition at line 273 of file MessageIdentifiers.php.

◆ ID_FILE_LIST_REFERENCE_PUSH

const raklib\protocol\MessageIdentifiers::ID_FILE_LIST_REFERENCE_PUSH = 0x4b

FileListTransfer transferring large files in chunks that are read only when needed, to save memory.

Definition at line 240 of file MessageIdentifiers.php.

◆ ID_FILE_LIST_REFERENCE_PUSH_ACK

const raklib\protocol\MessageIdentifiers::ID_FILE_LIST_REFERENCE_PUSH_ACK = 0x24

Definition at line 135 of file MessageIdentifiers.php.

◆ ID_FILE_LIST_TRANSFER_FILE

const raklib\protocol\MessageIdentifiers::ID_FILE_LIST_TRANSFER_FILE = 0x23

FileListTransfer plugin - A file.

Definition at line 133 of file MessageIdentifiers.php.

◆ ID_FILE_LIST_TRANSFER_HEADER

const raklib\protocol\MessageIdentifiers::ID_FILE_LIST_TRANSFER_HEADER = 0x22

FileListTransfer plugin - Setup data.

Definition at line 131 of file MessageIdentifiers.php.

◆ ID_INCOMPATIBLE_PROTOCOL_VERSION

const raklib\protocol\MessageIdentifiers::ID_INCOMPATIBLE_PROTOCOL_VERSION = 0x19

Definition at line 101 of file MessageIdentifiers.php.

◆ ID_INVALID_PASSWORD

const raklib\protocol\MessageIdentifiers::ID_INVALID_PASSWORD = 0x18

RakPeer - The remote system is using a password and has refused our connection because we did not set the correct password.

Definition at line 97 of file MessageIdentifiers.php.

◆ ID_IP_RECENTLY_CONNECTED

const raklib\protocol\MessageIdentifiers::ID_IP_RECENTLY_CONNECTED = 0x1a

RakPeer::SetLimitIPConnectionFrequency()

Definition at line 104 of file MessageIdentifiers.php.

◆ ID_LIB_VOICE

const raklib\protocol\MessageIdentifiers::ID_LIB_VOICE = 0x7a

Definition at line 383 of file MessageIdentifiers.php.

◆ ID_LIGHTSPEED_INTEGRATION

const raklib\protocol\MessageIdentifiers::ID_LIGHTSPEED_INTEGRATION = 0x6b

Gamebryo Lightspeed integration.

Definition at line 349 of file MessageIdentifiers.php.

◆ ID_LOBBY2_SEND_MESSAGE

const raklib\protocol\MessageIdentifiers::ID_LOBBY2_SEND_MESSAGE = 0x50

Lobby2 message.

Definition at line 250 of file MessageIdentifiers.php.

◆ ID_LOBBY2_SERVER_ERROR

const raklib\protocol\MessageIdentifiers::ID_LOBBY2_SERVER_ERROR = 0x51

Definition at line 251 of file MessageIdentifiers.php.

◆ ID_LOBBY_GENERAL

const raklib\protocol\MessageIdentifiers::ID_LOBBY_GENERAL = 0x48

Lobby packets. Second byte indicates type.

Definition at line 232 of file MessageIdentifiers.php.

◆ ID_NAT_ALREADY_IN_PROGRESS

const raklib\protocol\MessageIdentifiers::ID_NAT_ALREADY_IN_PROGRESS = 0x41

NATPunchthrough plugin: This punchthrough is already in progress. Possibly the plugin is not installed. Bytes starting at offset 1 contains the RakNetGUID destination field of NatPunchthroughClient::OpenNAT().

Definition at line 210 of file MessageIdentifiers.php.

◆ ID_NAT_CLIENT_READY

const raklib\protocol\MessageIdentifiers::ID_NAT_CLIENT_READY = 0x3d

NATPunchthrough plugin: internal.

Definition at line 194 of file MessageIdentifiers.php.

◆ ID_NAT_CONNECT_AT_TIME

const raklib\protocol\MessageIdentifiers::ID_NAT_CONNECT_AT_TIME = 0x3b

NATPunchthrough plugin: internal.

NATPunchthrough plugin: internal NATPunchthrough plugin: internal

Definition at line 190 of file MessageIdentifiers.php.

◆ ID_NAT_CONNECTION_TO_TARGET_LOST

const raklib\protocol\MessageIdentifiers::ID_NAT_CONNECTION_TO_TARGET_LOST = 0x40

NATPunchthrough plugin: The server lost the connection to the destination system while setting up punchthrough. Possibly the plugin is not installed. Bytes starting at offset 1 contains the RakNetGUID destination field of NatPunchthroughClient::OpenNAT().

Definition at line 207 of file MessageIdentifiers.php.

◆ ID_NAT_GET_MOST_RECENT_PORT

const raklib\protocol\MessageIdentifiers::ID_NAT_GET_MOST_RECENT_PORT = 0x3c

NATPunchthrough plugin: internal.

Definition at line 192 of file MessageIdentifiers.php.

◆ ID_NAT_PUNCHTHROUGH_FAILED

const raklib\protocol\MessageIdentifiers::ID_NAT_PUNCHTHROUGH_FAILED = 0x42

NATPunchthrough plugin: This message is generated on the local system, and does not come from the network. packet::guid contains the destination field of NatPunchthroughClient::OpenNAT(). Byte 1 contains 1 if you are the sender, 0 if not

Definition at line 213 of file MessageIdentifiers.php.

◆ ID_NAT_PUNCHTHROUGH_REQUEST

const raklib\protocol\MessageIdentifiers::ID_NAT_PUNCHTHROUGH_REQUEST = 0x3a

NATPunchthrough plugin: internal.

Definition at line 184 of file MessageIdentifiers.php.

◆ ID_NAT_PUNCHTHROUGH_SUCCEEDED

const raklib\protocol\MessageIdentifiers::ID_NAT_PUNCHTHROUGH_SUCCEEDED = 0x43

NATPunchthrough plugin: Punchthrough succeeded. See packet::systemAddress and packet::guid. Byte 1 contains 1 if you are the sender, 0 if not. You can now use RakPeer::Connect() or other calls to communicate with this system.

Definition at line 216 of file MessageIdentifiers.php.

◆ ID_NAT_REQUEST_BOUND_ADDRESSES

const raklib\protocol\MessageIdentifiers::ID_NAT_REQUEST_BOUND_ADDRESSES = 0x7c

Definition at line 386 of file MessageIdentifiers.php.

◆ ID_NAT_RESPOND_BOUND_ADDRESSES

const raklib\protocol\MessageIdentifiers::ID_NAT_RESPOND_BOUND_ADDRESSES = 0x7d

Definition at line 387 of file MessageIdentifiers.php.

◆ ID_NAT_TARGET_NOT_CONNECTED

const raklib\protocol\MessageIdentifiers::ID_NAT_TARGET_NOT_CONNECTED = 0x3e

NATPunchthrough plugin: internal.

NATPunchthrough plugin: Destination system is not connected to the server. Bytes starting at offset 1 contains the RakNetGUID destination field of NatPunchthroughClient::OpenNAT().

Definition at line 200 of file MessageIdentifiers.php.

◆ ID_NAT_TARGET_UNRESPONSIVE

const raklib\protocol\MessageIdentifiers::ID_NAT_TARGET_UNRESPONSIVE = 0x3f

NATPunchthrough plugin: Destination system is not responding to ID_NAT_GET_MOST_RECENT_PORT. Possibly the plugin is not installed. Bytes starting at offset 1 contains the RakNetGUID destination field of NatPunchthroughClient::OpenNAT().

Definition at line 203 of file MessageIdentifiers.php.

◆ ID_NAT_TYPE_DETECTION_REQUEST

const raklib\protocol\MessageIdentifiers::ID_NAT_TYPE_DETECTION_REQUEST = 0x60

Sent to NatTypeDetectionServer.

Definition at line 307 of file MessageIdentifiers.php.

◆ ID_NAT_TYPE_DETECTION_RESULT

const raklib\protocol\MessageIdentifiers::ID_NAT_TYPE_DETECTION_RESULT = 0x61

Sent to NatTypeDetectionClient. Byte 1 contains the type of NAT detected.

Definition at line 309 of file MessageIdentifiers.php.

◆ ID_NEW_INCOMING_CONNECTION

const raklib\protocol\MessageIdentifiers::ID_NEW_INCOMING_CONNECTION = 0x13

RakPeer - A remote system has successfully connected.

Definition at line 85 of file MessageIdentifiers.php.

◆ ID_NO_FREE_INCOMING_CONNECTIONS

const raklib\protocol\MessageIdentifiers::ID_NO_FREE_INCOMING_CONNECTIONS = 0x14

RakPeer - The system we attempted to connect to is not accepting new connections.

Definition at line 87 of file MessageIdentifiers.php.

◆ ID_OPEN_CONNECTION_REPLY_1

const raklib\protocol\MessageIdentifiers::ID_OPEN_CONNECTION_REPLY_1 = 0x06

S2C: Header(1), OfflineMesageID(16), server GUID(8), HasSecurity(1), Cookie(4, if HasSecurity) , public key (if do security is true), MTU(2). If public key fails on client, returns ID_PUBLIC_KEY_MISMATCH

Definition at line 42 of file MessageIdentifiers.php.

◆ ID_OPEN_CONNECTION_REPLY_2

const raklib\protocol\MessageIdentifiers::ID_OPEN_CONNECTION_REPLY_2 = 0x08

S2C: Header(1), OfflineMesageID(16), server GUID(8), mtu(2), doSecurity(1 bit), handshakeAnswer (if do security is true)

Definition at line 48 of file MessageIdentifiers.php.

◆ ID_OPEN_CONNECTION_REQUEST_1

const raklib\protocol\MessageIdentifiers::ID_OPEN_CONNECTION_REQUEST_1 = 0x05

C2S: Initial query: Header(1), OfflineMesageID(16), Protocol number(1), Pad(toMTU), sent with no fragment set. If protocol fails on server, returns ID_INCOMPATIBLE_PROTOCOL_VERSION to client

Definition at line 39 of file MessageIdentifiers.php.

◆ ID_OPEN_CONNECTION_REQUEST_2

const raklib\protocol\MessageIdentifiers::ID_OPEN_CONNECTION_REQUEST_2 = 0x07

C2S: Header(1), OfflineMesageID(16), Cookie(4, if HasSecurity is true on the server), clientSupportsSecurity(1 bit), handshakeChallenge (if has security on both server and client), remoteBindingAddress(6), MTU(2), client GUID(8) Connection slot allocated if cookie is valid, server is not full, GUID and IP not already in use.

Definition at line 46 of file MessageIdentifiers.php.

◆ ID_OUR_SYSTEM_REQUIRES_SECURITY

const raklib\protocol\MessageIdentifiers::ID_OUR_SYSTEM_REQUIRES_SECURITY = 0x0b

RakPeer - We passed a public key to RakPeerInterface::Connect(), but the other system did not have security turned on.

Definition at line 54 of file MessageIdentifiers.php.

◆ ID_OUT_OF_BAND_INTERNAL

const raklib\protocol\MessageIdentifiers::ID_OUT_OF_BAND_INTERNAL = 0x0d

RakPeer - Same as ID_ADVERTISE_SYSTEM, but intended for internal use rather than being passed to the user. Second byte indicates type. Used currently for NAT punchthrough for receiver port advertisement. See ID_NAT_ADVERTISE_RECIPIENT_PORT

Definition at line 59 of file MessageIdentifiers.php.

◆ ID_PUBLIC_KEY_MISMATCH

const raklib\protocol\MessageIdentifiers::ID_PUBLIC_KEY_MISMATCH = 0x0c

RakPeer - Wrong public key passed to RakPeerInterface::Connect()

Definition at line 56 of file MessageIdentifiers.php.

◆ ID_RAKVOICE_CLOSE_CHANNEL

const raklib\protocol\MessageIdentifiers::ID_RAKVOICE_CLOSE_CHANNEL = 0x2e

RakVoice plugin - Close a communication channel.

Definition at line 159 of file MessageIdentifiers.php.

◆ ID_RAKVOICE_DATA

const raklib\protocol\MessageIdentifiers::ID_RAKVOICE_DATA = 0x2f

RakVoice plugin - Voice data.

Definition at line 161 of file MessageIdentifiers.php.

◆ ID_RAKVOICE_OPEN_CHANNEL_REPLY

const raklib\protocol\MessageIdentifiers::ID_RAKVOICE_OPEN_CHANNEL_REPLY = 0x2d

RakVoice plugin - Communication channel accepted.

Definition at line 157 of file MessageIdentifiers.php.

◆ ID_RAKVOICE_OPEN_CHANNEL_REQUEST

const raklib\protocol\MessageIdentifiers::ID_RAKVOICE_OPEN_CHANNEL_REQUEST = 0x2c

RakVoice plugin - Open a communication channel.

Definition at line 155 of file MessageIdentifiers.php.

◆ ID_READY_EVENT_ALL_SET

const raklib\protocol\MessageIdentifiers::ID_READY_EVENT_ALL_SET = 0x46

All systems are in state ID_READY_EVENT_SET First 4 bytes after the message contains the id

Definition at line 226 of file MessageIdentifiers.php.

◆ ID_READY_EVENT_FORCE_ALL_SET

const raklib\protocol\MessageIdentifiers::ID_READY_EVENT_FORCE_ALL_SET = 0x4c

Force the ready event to all set.

Definition at line 242 of file MessageIdentifiers.php.

◆ ID_READY_EVENT_QUERY

const raklib\protocol\MessageIdentifiers::ID_READY_EVENT_QUERY = 0x47

Definition at line 229 of file MessageIdentifiers.php.

◆ ID_READY_EVENT_SET

const raklib\protocol\MessageIdentifiers::ID_READY_EVENT_SET = 0x44

ReadyEvent plugin - Set the ready state for a particular system First 4 bytes after the message contains the id

Definition at line 220 of file MessageIdentifiers.php.

◆ ID_READY_EVENT_UNSET

const raklib\protocol\MessageIdentifiers::ID_READY_EVENT_UNSET = 0x45

ReadyEvent plugin - Unset the ready state for a particular system First 4 bytes after the message contains the id

Definition at line 223 of file MessageIdentifiers.php.

◆ ID_RELAY_PLUGIN

const raklib\protocol\MessageIdentifiers::ID_RELAY_PLUGIN = 0x7b

Definition at line 385 of file MessageIdentifiers.php.

◆ ID_REMOTE_CONNECTION_LOST

const raklib\protocol\MessageIdentifiers::ID_REMOTE_CONNECTION_LOST = 0x20

ConnectionGraph2 plugin - In a client/server environment, a client other than ourselves has been forcefully dropped. Packet::systemAddress is modified to reflect the systemAddress of this client.

Definition at line 126 of file MessageIdentifiers.php.

◆ ID_REMOTE_DISCONNECTION_NOTIFICATION

const raklib\protocol\MessageIdentifiers::ID_REMOTE_DISCONNECTION_NOTIFICATION = 0x1f

ConnectionGraph2 plugin - In a client/server environment, a client other than ourselves has disconnected gracefully. Packet::systemAddress is modified to reflect the systemAddress of this client.

Definition at line 123 of file MessageIdentifiers.php.

◆ ID_REMOTE_NEW_INCOMING_CONNECTION

const raklib\protocol\MessageIdentifiers::ID_REMOTE_NEW_INCOMING_CONNECTION = 0x21

ConnectionGraph2 plugin: Bytes 1-4 = count. for (count items) contains {SystemAddress, RakNetGUID, 2 byte ping}.

Definition at line 128 of file MessageIdentifiers.php.

◆ ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY

const raklib\protocol\MessageIdentifiers::ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY = 0x0a

RakPeer - Remote system requires secure connections, pass a public key to RakPeerInterface::Connect()

Definition at line 52 of file MessageIdentifiers.php.

◆ ID_REPLICA_MANAGER_CONSTRUCTION

const raklib\protocol\MessageIdentifiers::ID_REPLICA_MANAGER_CONSTRUCTION = 0x27

ReplicaManager plugin - Create an object.

Definition at line 144 of file MessageIdentifiers.php.

◆ ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE

const raklib\protocol\MessageIdentifiers::ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE = 0x2b

ReplicaManager plugin - Finished downloading all serialized objects.

Definition at line 152 of file MessageIdentifiers.php.

◆ ID_REPLICA_MANAGER_DOWNLOAD_STARTED

const raklib\protocol\MessageIdentifiers::ID_REPLICA_MANAGER_DOWNLOAD_STARTED = 0x2a

ReplicaManager plugin - New connection, about to send all world objects.

Definition at line 150 of file MessageIdentifiers.php.

◆ ID_REPLICA_MANAGER_SCOPE_CHANGE

const raklib\protocol\MessageIdentifiers::ID_REPLICA_MANAGER_SCOPE_CHANGE = 0x28

ReplicaManager plugin - Changed scope of an object.

Definition at line 146 of file MessageIdentifiers.php.

◆ ID_REPLICA_MANAGER_SERIALIZE

const raklib\protocol\MessageIdentifiers::ID_REPLICA_MANAGER_SERIALIZE = 0x29

ReplicaManager plugin - Serialized data of an object.

Definition at line 148 of file MessageIdentifiers.php.

◆ ID_RESERVED_3

const raklib\protocol\MessageIdentifiers::ID_RESERVED_3 = 0x7f

Definition at line 389 of file MessageIdentifiers.php.

◆ ID_RESERVED_4

const raklib\protocol\MessageIdentifiers::ID_RESERVED_4 = 0x80

Definition at line 390 of file MessageIdentifiers.php.

◆ ID_RESERVED_5

const raklib\protocol\MessageIdentifiers::ID_RESERVED_5 = 0x81

Definition at line 391 of file MessageIdentifiers.php.

◆ ID_RESERVED_6

const raklib\protocol\MessageIdentifiers::ID_RESERVED_6 = 0x82

Definition at line 392 of file MessageIdentifiers.php.

◆ ID_RESERVED_7

const raklib\protocol\MessageIdentifiers::ID_RESERVED_7 = 0x83

Definition at line 393 of file MessageIdentifiers.php.

◆ ID_RESERVED_8

const raklib\protocol\MessageIdentifiers::ID_RESERVED_8 = 0x84

Definition at line 394 of file MessageIdentifiers.php.

◆ ID_RESERVED_9

const raklib\protocol\MessageIdentifiers::ID_RESERVED_9 = 0x85

Definition at line 395 of file MessageIdentifiers.php.

◆ ID_ROOMS_EXECUTE_FUNC

const raklib\protocol\MessageIdentifiers::ID_ROOMS_EXECUTE_FUNC = 0x4d

Rooms function.

Definition at line 245 of file MessageIdentifiers.php.

◆ ID_ROOMS_HANDLE_CHANGE

const raklib\protocol\MessageIdentifiers::ID_ROOMS_HANDLE_CHANGE = 0x4f

Definition at line 247 of file MessageIdentifiers.php.

◆ ID_ROOMS_LOGON_STATUS

const raklib\protocol\MessageIdentifiers::ID_ROOMS_LOGON_STATUS = 0x4e

Definition at line 246 of file MessageIdentifiers.php.

◆ ID_ROUTER_2_FORWARDING_ESTABLISHED

const raklib\protocol\MessageIdentifiers::ID_ROUTER_2_FORWARDING_ESTABLISHED = 0x64

You can now call connect, ping, or other operations to the destination system.

Connect as follows:

RakNet::BitStream bs(packet->data, packet->length, false); bs.IgnoreBytes(sizeof(MessageID)); RakNetGUID endpointGuid; bs.Read(endpointGuid); unsigned short sourceToDestPort; bs.Read(sourceToDestPort); char ipAddressString[32]; packet->systemAddress.ToString(false, ipAddressString); rakPeerInterface->Connect(ipAddressString, sourceToDestPort, 0,0);

Definition at line 329 of file MessageIdentifiers.php.

◆ ID_ROUTER_2_FORWARDING_NO_PATH

const raklib\protocol\MessageIdentifiers::ID_ROUTER_2_FORWARDING_NO_PATH = 0x63

No path is available or can be established to the remote system Packet::guid contains the endpoint guid that we were trying to reach

Definition at line 315 of file MessageIdentifiers.php.

◆ ID_ROUTER_2_INTERNAL

const raklib\protocol\MessageIdentifiers::ID_ROUTER_2_INTERNAL = 0x62

Used by the router2 plugin.

Definition at line 312 of file MessageIdentifiers.php.

◆ ID_ROUTER_2_REROUTED

const raklib\protocol\MessageIdentifiers::ID_ROUTER_2_REROUTED = 0x65

The IP address for a forwarded connection has changed Read endpointGuid and port as per ID_ROUTER_2_FORWARDING_ESTABLISHED

Definition at line 332 of file MessageIdentifiers.php.

◆ ID_RPC_PLUGIN

const raklib\protocol\MessageIdentifiers::ID_RPC_PLUGIN = 0x4a

Plugin based replacement for RPC system.

Definition at line 237 of file MessageIdentifiers.php.

◆ ID_RPC_REMOTE_ERROR

const raklib\protocol\MessageIdentifiers::ID_RPC_REMOTE_ERROR = 0x49

Definition at line 235 of file MessageIdentifiers.php.

◆ ID_SND_RECEIPT_ACKED

const raklib\protocol\MessageIdentifiers::ID_SND_RECEIPT_ACKED = 0x0e

If RakPeerInterface::Send() is called where PacketReliability contains _WITH_ACK_RECEIPT, then on a later call to RakPeerInterface::Receive() you will get ID_SND_RECEIPT_ACKED or ID_SND_RECEIPT_LOSS. The message will be 5 bytes long, and bytes 1-4 inclusive will contain a number in native order containing a number that identifies this message. This number will be returned by RakPeerInterface::Send() or RakPeerInterface::SendList(). ID_SND_RECEIPT_ACKED means that the message arrived

Definition at line 65 of file MessageIdentifiers.php.

◆ ID_SND_RECEIPT_LOSS

const raklib\protocol\MessageIdentifiers::ID_SND_RECEIPT_LOSS = 0x0f

If RakPeerInterface::Send() is called where PacketReliability contains UNRELIABLE_WITH_ACK_RECEIPT, then on a later call to RakPeerInterface::Receive() you will get ID_SND_RECEIPT_ACKED or ID_SND_RECEIPT_LOSS. The message will be 5 bytes long, and bytes 1-4 inclusive will contain a number in native order containing a number that identifies this message. This number will be returned by RakPeerInterface::Send() or RakPeerInterface::SendList(). ID_SND_RECEIPT_LOSS means that an ack for the message did not arrive (it may or may not have been delivered, probably not). On disconnect or shutdown, you will not get ID_SND_RECEIPT_LOSS for unsent messages, you should consider those messages as all lost.

Definition at line 72 of file MessageIdentifiers.php.

◆ ID_SQLite3_EXEC

const raklib\protocol\MessageIdentifiers::ID_SQLite3_EXEC = 0x5d

SQLite3Plugin - execute.

Definition at line 300 of file MessageIdentifiers.php.

◆ ID_SQLite3_UNKNOWN_DB

const raklib\protocol\MessageIdentifiers::ID_SQLite3_UNKNOWN_DB = 0x5e

SQLite3Plugin - Remote database is unknown.

Definition at line 302 of file MessageIdentifiers.php.

◆ ID_SQLLITE_LOGGER

const raklib\protocol\MessageIdentifiers::ID_SQLLITE_LOGGER = 0x5f

Events happening with SQLiteClientLoggerPlugin.

Definition at line 304 of file MessageIdentifiers.php.

◆ ID_TEAM_BALANCER_INTERNAL

const raklib\protocol\MessageIdentifiers::ID_TEAM_BALANCER_INTERNAL = 0x66

Definition at line 335 of file MessageIdentifiers.php.

◆ ID_TEAM_BALANCER_REQUESTED_TEAM_FULL

const raklib\protocol\MessageIdentifiers::ID_TEAM_BALANCER_REQUESTED_TEAM_FULL = 0x67

Cannot switch to the desired team because it is full. However, if someone on that team leaves, you will get ID_TEAM_BALANCER_TEAM_ASSIGNED later. For TeamBalancer: Byte 1 contains the team you requested to join. Following bytes contain NetworkID of which member

Definition at line 339 of file MessageIdentifiers.php.

◆ ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED

const raklib\protocol\MessageIdentifiers::ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED = 0x68

Cannot switch to the desired team because all teams are locked. However, if someone on that team leaves, you will get ID_TEAM_BALANCER_SET_TEAM later. For TeamBalancer: Byte 1 contains the team you requested to join.

Definition at line 343 of file MessageIdentifiers.php.

◆ ID_TEAM_BALANCER_TEAM_ASSIGNED

const raklib\protocol\MessageIdentifiers::ID_TEAM_BALANCER_TEAM_ASSIGNED = 0x6a

Team balancer plugin informing you of your team. Byte 1 contains the team you requested to join. Following bytes contain NetworkID of which member.

Definition at line 346 of file MessageIdentifiers.php.

◆ ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED

const raklib\protocol\MessageIdentifiers::ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED = 0x69

Definition at line 344 of file MessageIdentifiers.php.

◆ ID_TIMESTAMP

const raklib\protocol\MessageIdentifiers::ID_TIMESTAMP = 0x1b

RakPeer - The sizeof(RakNetTime) bytes following this byte represent a value which is automatically modified by the difference in system times between the sender and the recipient. Requires that you call SetOccasionalPing.

Definition at line 107 of file MessageIdentifiers.php.

◆ ID_TRANSPORT_STRING

const raklib\protocol\MessageIdentifiers::ID_TRANSPORT_STRING = 0x26

RakNetTransport plugin - Transport provider message, used for remote console.

Definition at line 141 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE = 0x6f

A remote system sent us a challenge using TwoWayAuthentication::Challenge(), and the challenge failed. If the other system must pass the challenge to stay connected, you should call RakPeer::CloseConnection() to terminate the connection to the other system.

Definition at line 361 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS = 0x6d

The password we used to challenge the other system passed, meaning the other system has called TwoWayAuthentication::AddPassword() with the same password we passed to TwoWayAuthentication::Challenge() You can read the identifier used to challenge as follows: RakNet::BitStream bs(packet->data, packet->length, false); bs.IgnoreBytes(sizeof(RakNet::MessageID)); RakNet::RakString password; bs.Read(password);

Definition at line 357 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_NEGOTIATION

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_NEGOTIATION = 0x72

Definition at line 371 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE = 0x70

The other system did not add the password we used to TwoWayAuthentication::AddPassword() You can read the identifier used to challenge as follows: RakNet::BitStream bs(packet->data, packet->length, false); bs.IgnoreBytes(sizeof(MessageID)); RakNet::RakString password; bs.Read(password);

Definition at line 365 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS = 0x6e

Definition at line 358 of file MessageIdentifiers.php.

◆ ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT

const raklib\protocol\MessageIdentifiers::ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT = 0x71

The other system did not respond within a timeout threshhold. Either the other system is not running the plugin or the other system was blocking on some operation for a long time. You can read the identifier used to challenge as follows: RakNet::BitStream bs(packet->data, packet->length, false); bs.IgnoreBytes(sizeof(MessageID)); RakNet::RakString password; bs.Read(password);

Definition at line 369 of file MessageIdentifiers.php.

◆ ID_UDP_PROXY_GENERAL

const raklib\protocol\MessageIdentifiers::ID_UDP_PROXY_GENERAL = 0x5c

UDP proxy messages. Second byte indicates type.

Definition at line 297 of file MessageIdentifiers.php.

◆ ID_UNCONNECTED_PING

const raklib\protocol\MessageIdentifiers::ID_UNCONNECTED_PING = 0x01

Ping from an unconnected system. Reply but do not update timestamps. (internal use only)

Definition at line 30 of file MessageIdentifiers.php.

◆ ID_UNCONNECTED_PING_OPEN_CONNECTIONS

const raklib\protocol\MessageIdentifiers::ID_UNCONNECTED_PING_OPEN_CONNECTIONS = 0x02

Ping from an unconnected system. Only reply if we have open connections. Do not update timestamps. (internal use only)

Definition at line 32 of file MessageIdentifiers.php.

◆ ID_UNCONNECTED_PONG

const raklib\protocol\MessageIdentifiers::ID_UNCONNECTED_PONG = 0x1c

RakPeer - Pong from an unconnected system. First byte is ID_UNCONNECTED_PONG, second sizeof(RakNet::TimeMS) bytes is the ping, following bytes is system specific enumeration data. Read using bitstreams

Definition at line 111 of file MessageIdentifiers.php.

◆ ID_USER_PACKET_ENUM

const raklib\protocol\MessageIdentifiers::ID_USER_PACKET_ENUM = 0x86

Definition at line 398 of file MessageIdentifiers.php.

◆ ID_XBOX_LOBBY

const raklib\protocol\MessageIdentifiers::ID_XBOX_LOBBY = 0x6c

XBOX integration.

Definition at line 352 of file MessageIdentifiers.php.


The documentation for this interface was generated from the following file: