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