/// <summary> /// This is function which read response from map spawn server /// </summary> /// <param name="messageHandler"></param> protected void HandleResponseSpawnMap(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseSpawnMapMessage message = messageHandler.ReadMessage <ResponseSpawnMapMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }
protected void HandleResponseValidateAccessToken(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseValidateAccessTokenMessage message = messageHandler.ReadMessage <ResponseValidateAccessTokenMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }
protected void HandleResponseUserLogout(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; BaseAckMessage message = messageHandler.ReadMessage <BaseAckMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }
private void HandleResponseAppServerRegister(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseAppServerRegisterMessage message = messageHandler.ReadMessage <ResponseAppServerRegisterMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }
protected void HandleResponseAppServerAddress(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseAppServerAddressMessage message = messageHandler.ReadMessage <ResponseAppServerAddressMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }
protected void HandleResponseDeleteCharacter(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseDeleteCharacterMessage message = messageHandler.ReadMessage <ResponseDeleteCharacterMessage>(); transportHandler.ReadResponse(message.ackId, message.responseCode, message); }