Example #1
0
    public bool NpcHasFunc(int id, int nType)   // true: 挂有 nType 对应的功能类型
    {
        NPCInfo info = Lookup(id);

        if (info != null)
        {
            return(info.HasFunc(nType));
        }
        return(false);
    }