static int ReadNPCmodify(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); NPCDataConfig obj = (NPCDataConfig)LuaScriptMgr.GetNetObjectSelf(L, 1, "NPCDataConfig"); obj.ReadNPCmodify(); return(0); }