private void HandleResponse(string data) { Packet packet = PacketHandler.ParseFromString(data); PipelineHandler.RunPipeline(packet); }
public void HandleChat(Packet unwrapped) { ChatPacket packet = PacketHandler.CastChatPacket(unwrapped); Debug.Log("Chat: " + packet.message); }