public ICQ_Type GetType(CQType type) { if (type == null) { return(typess["null"]); } ICQ_Type ret = null; if (types.TryGetValue(type, out ret) == false) { logger.Log_Warn("(CQcript)类型未注册,将自动注册一份匿名:" + type.ToString()); ret = RegHelper_Type.MakeType(type, ""); RegType(ret); } return(ret); }
//public bool useNamespace //{ // get; // private set; //} public void RegType(Type type, string keyword) { RegType(RegHelper_Type.MakeType(type, keyword)); }