예제 #1
0
        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();
        }
예제 #2
0
        private void notifyChat(Packet rowPacket)
        {
            NotifyChatPacket packet = rowPacket as NotifyChatPacket;

            chatWindow?.createUserChatBox(packet.name, packet.message);
        }