예제 #1
0
    static int GetNPCAttrData(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        NPCDataConfig obj  = (NPCDataConfig)LuaScriptMgr.GetNetObjectSelf(L, 1, "NPCDataConfig");
        uint          arg0 = (uint)LuaScriptMgr.GetNumber(L, 2);
        AttrData      o    = obj.GetNPCAttrData(arg0);

        LuaScriptMgr.PushObject(L, o);
        return(1);
    }