Example #1
0
        private void HandleResponse(string data)
        {
            Packet packet = PacketHandler.ParseFromString(data);

            PipelineHandler.RunPipeline(packet);
        }
Example #2
0
        public void HandleChat(Packet unwrapped)
        {
            ChatPacket packet = PacketHandler.CastChatPacket(unwrapped);

            Debug.Log("Chat: " + packet.message);
        }