protected void HandleResponseAppServerAddress(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseAppServerAddressMessage message = messageHandler.ReadMessage <ResponseAppServerAddressMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
private void HandleResponseAppServerRegister(LiteNetLibMessageHandler messageHandler) { TransportHandler peerHandler = messageHandler.transportHandler; ResponseAppServerRegisterMessage message = messageHandler.ReadMessage <ResponseAppServerRegisterMessage>(); peerHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected void HandleResponseSelectCharacter(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseSelectCharacterMessage message = messageHandler.ReadMessage <ResponseSelectCharacterMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected virtual void HandleResponseCashPackageBuyValidation(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseCashPackageBuyValidationMessage message = messageHandler.ReadMessage <ResponseCashPackageBuyValidationMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected virtual void HandleResponseCashShopInfo(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseCashShopInfoMessage message = messageHandler.ReadMessage <ResponseCashShopInfoMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected void HandleResponseValidateAccessToken(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseValidateAccessTokenMessage message = messageHandler.ReadMessage <ResponseValidateAccessTokenMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected void HandleResponseUserLogout(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; BaseAckMessage message = messageHandler.ReadMessage <BaseAckMessage>(); transportHandler.TriggerAck(message.ackId, message.responseCode, message); }
protected void HandleResponseCharacters(LiteNetLibMessageHandler messageHandler) { TransportHandler transportHandler = messageHandler.transportHandler; ResponseCharactersMessage message = messageHandler.ReadMessage <ResponseCharactersMessage>(); uint ackId = message.ackId; transportHandler.TriggerAck(ackId, message.responseCode, message); }