예제 #1
0
    public void YesButtonChallenge()
    {
        //TODO
        MessagePacket packet = new MessagePacket(GameProtocol.ChallengeAcceptedPacketID(),
                                                 Singleton.Instance.Me.Username + ":" + SingletonUI.Instance.ChallengeText.text.Split(' ')[0]);

        Singleton.Instance.Connection.SendPacket(packet.getData());
    }