[raknet] Match RakPeer::AssignPlayerIDToRemoteSystemList(...)

This commit is contained in:
RD42 2024-08-18 23:32:54 +08:00
parent 9993a10afe
commit 5fb709859d
2 changed files with 7 additions and 0 deletions

View File

@ -2841,6 +2841,10 @@ RakPeer::RemoteSystemStruct * RakPeer::AssignPlayerIDToRemoteSystemList( const P
remoteSystem->setAESKey=false; remoteSystem->setAESKey=false;
remoteSystem->lastReliableSend=time; remoteSystem->lastReliableSend=time;
remoteSystem->field_C66 = 0;
remoteSystem->field_C67 = 0;
remoteSystem->field_C68 = 0;
// Reserve this reliability layer for ourselves. // Reserve this reliability layer for ourselves.
remoteSystem->reliabilityLayer.Reset(true); remoteSystem->reliabilityLayer.Reset(true);

View File

@ -503,6 +503,9 @@ public:
bool setAESKey; /// true if security is enabled. bool setAESKey; /// true if security is enabled.
RPCMap rpcMap; /// Mapping of RPC calls to single byte integers to save transmission bandwidth. RPCMap rpcMap; /// Mapping of RPC calls to single byte integers to save transmission bandwidth.
enum ConnectMode {NO_ACTION, DISCONNECT_ASAP, DISCONNECT_ASAP_SILENTLY, DISCONNECT_ON_NO_ACK, REQUESTED_CONNECTION, HANDLING_CONNECTION_REQUEST, UNVERIFIED_SENDER, SET_ENCRYPTION_ON_MULTIPLE_16_BYTE_PACKET, CONNECTED} connectMode; enum ConnectMode {NO_ACTION, DISCONNECT_ASAP, DISCONNECT_ASAP_SILENTLY, DISCONNECT_ON_NO_ACK, REQUESTED_CONNECTION, HANDLING_CONNECTION_REQUEST, UNVERIFIED_SENDER, SET_ENCRYPTION_ON_MULTIPLE_16_BYTE_PACKET, CONNECTED} connectMode;
char field_C66;
char field_C67;
char field_C68;
}; };
protected: protected: