ClientConnectedToServer Hook


When the player is connecting to the server
HookReturnCode ClientConnectedToServer(const string& in strName, const string& in strIP, bool& out bRejectConnection)


const string& in strName

The name of the player

const string& in strIP

The IP of the player

bool& out bRejectConnection

Should we reject the connection?

Hook Register

Events::Player::ClientConnectedToServer.Hook( @ClientConnectedToServer );