Beispiel #1
0
    static void DispatchPacket(MessageRecv recv)
    {
        NetworkHandler handle = null;

        m_MessageDispatchs.TryGetValue(recv.MsgID, out handle);
        if (handle != null)
        {
            handle.Invoke(recv);
        }
    }