internal static Type GetMessageProtoType(int id) { Type type = null; if (id >= 0 && id < (int)LobbyMessageDefine.MaxNum) { type = s_MessageHandlers[id].m_ProtoType; } return type; }