| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(DungeonConfig); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 22, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 23, 0); |
| | | |
| | | |
| | | |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SweepItemID", _g_get_SweepItemID); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "SweepCostCnt", _g_get_SweepCostCnt); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "StepTime", _g_get_StepTime); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshNPC", _g_get_RefreshNPC); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "BossActorID", _g_get_BossActorID); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "Rewards", _g_get_Rewards); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "RewardCountDescriptions", _g_get_RewardCountDescriptions); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_RefreshNPC(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | DungeonConfig gen_to_be_invoked = (DungeonConfig)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushstring(L, gen_to_be_invoked.RefreshNPC); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_BossActorID(RealStatePtr L) |
| | | { |
| | | try { |