private void chatUserRequest() { NotifyChatPacket packet = new NotifyChatPacket(); packet.playerId = AccountData.Instance.PlayerId; packet.name = AccountData.Instance.CurrentCharacter.name; packet.message = inputField.text; networkManager.sendPacket(packet); this.disableInputBox(); }
private void notifyChat(Packet rowPacket) { NotifyChatPacket packet = rowPacket as NotifyChatPacket; chatWindow?.createUserChatBox(packet.name, packet.message); }