| | |
| | | #endif |
| | | } |
| | | |
| | | public LoginRewardModel __Gen_Delegate_Imp239(object p0) |
| | | public Snxxz.UI.LuckyTreasureModel __Gen_Delegate_Imp239(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | |
| | | PCall(L, 1, 1, errFunc); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel __gen_ret = (Snxxz.UI.LuckyTreasureModel)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.LuckyTreasureModel)); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public LoginRewardModel __Gen_Delegate_Imp240(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FestivalRedpackModel __Gen_Delegate_Imp240(object p0) |
| | | public Snxxz.UI.FestivalRedpackModel __Gen_Delegate_Imp241(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.AchievementModel __Gen_Delegate_Imp241(object p0) |
| | | public Snxxz.UI.AchievementModel __Gen_Delegate_Imp242(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.RedEnvelopeModel __Gen_Delegate_Imp242(object p0) |
| | | public Snxxz.UI.RedEnvelopeModel __Gen_Delegate_Imp243(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.DateTime __Gen_Delegate_Imp243(object p0, object p1) |
| | | public System.DateTime __Gen_Delegate_Imp244(object p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp244(object p0, object p1, int p2) |
| | | public bool __Gen_Delegate_Imp245(object p0, object p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp245(object p0, int p1, out Snxxz.UI.FestivalRedpack p2) |
| | | public bool __Gen_Delegate_Imp246(object p0, int p1, out Snxxz.UI.FestivalRedpack p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp246(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.FestivalRedpackAchievement> p2) |
| | | public bool __Gen_Delegate_Imp247(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.FestivalRedpackAchievement> p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp247(object p0, Snxxz.UI.Operation p1, int p2) |
| | | public void __Gen_Delegate_Imp248(object p0, Snxxz.UI.Operation p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp248(object p0) |
| | | public Snxxz.UI.FlashSaleModel __Gen_Delegate_Imp249(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp249(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1) |
| | | public void __Gen_Delegate_Imp250(object p0, Snxxz.UI.OperationFlashSale.FlashSaleGift p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp250(object p0) |
| | | public Snxxz.UI.OperationLuckyTreasure __Gen_Delegate_Imp251(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | |
| | | PCall(L, 1, 1, errFunc); |
| | | |
| | | |
| | | Snxxz.UI.OperationLuckyTreasure __gen_ret = (Snxxz.UI.OperationLuckyTreasure)translator.GetObject(L, errFunc + 1, typeof(Snxxz.UI.OperationLuckyTreasure)); |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | return __gen_ret; |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp252(object p0, Snxxz.UI.Operation p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | translator.Push(L, p1); |
| | | |
| | | PCall(L, 2, 0, errFunc); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MysticalPurchaseModel __Gen_Delegate_Imp253(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp251(object p0) |
| | | public Snxxz.UI.ImpactRankModel __Gen_Delegate_Imp254(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp252(object p0) |
| | | public Snxxz.UI.OSRedEnvelopeModel __Gen_Delegate_Imp255(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp253(object p0) |
| | | public Snxxz.UI.FairyLeagueModel __Gen_Delegate_Imp256(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FairyGrabBossModel __Gen_Delegate_Imp254(object p0) |
| | | public Snxxz.UI.FairyGrabBossModel __Gen_Delegate_Imp257(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp255(object p0) |
| | | public Snxxz.UI.OSGiftModel __Gen_Delegate_Imp258(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp256(object p0, Snxxz.UI.Operation p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference); |
| | | ObjectTranslator translator = luaEnv.translator; |
| | | translator.PushAny(L, p0); |
| | | translator.Push(L, p1); |
| | | |
| | | PCall(L, 2, 0, errFunc); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, errFunc - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public OpenServiceAchievementModel __Gen_Delegate_Imp257(object p0) |
| | | public OpenServiceAchievementModel __Gen_Delegate_Imp259(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp258(object p0, int p1, object p2, int p3, int p4) |
| | | public void __Gen_Delegate_Imp260(object p0, int p1, object p2, int p3, int p4) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public SpringFestivalModel __Gen_Delegate_Imp259(object p0) |
| | | public SpringFestivalModel __Gen_Delegate_Imp261(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.ActivateShow.ActivateFunc __Gen_Delegate_Imp260() |
| | | public Snxxz.UI.ActivateShow.ActivateFunc __Gen_Delegate_Imp262() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp261(Snxxz.UI.ActivateShow.ActivateFunc p0) |
| | | public void __Gen_Delegate_Imp263(Snxxz.UI.ActivateShow.ActivateFunc p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public string __Gen_Delegate_Imp262() |
| | | public string __Gen_Delegate_Imp264() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp263(int p0, int p1, int p2) |
| | | public void __Gen_Delegate_Imp265(int p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp264(int p0, int p1, int p2, int p3) |
| | | public void __Gen_Delegate_Imp266(int p0, int p1, int p2, int p3) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.RealmModel __Gen_Delegate_Imp265(object p0) |
| | | public Snxxz.UI.RealmModel __Gen_Delegate_Imp267(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.MagicianModel __Gen_Delegate_Imp266() |
| | | public Snxxz.UI.MagicianModel __Gen_Delegate_Imp268() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp267(uint p0, out System.Collections.Generic.Dictionary<int, int> p1) |
| | | public bool __Gen_Delegate_Imp269(uint p0, out System.Collections.Generic.Dictionary<int, int> p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp268(uint p0, int p1, out int p2) |
| | | public bool __Gen_Delegate_Imp270(uint p0, int p1, out int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public byte __Gen_Delegate_Imp269(int p0, int p1) |
| | | public byte __Gen_Delegate_Imp271(int p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp270(int p0, int p1, bool p2) |
| | | public void __Gen_Delegate_Imp272(int p0, int p1, bool p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp271(Snxxz.UI.EquipShowSwitch.EquipShowSwitchType p0, uint p1) |
| | | public bool __Gen_Delegate_Imp273(Snxxz.UI.EquipShowSwitch.EquipShowSwitchType p0, uint p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp272(uint p0) |
| | | public void __Gen_Delegate_Imp274(uint p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp273(object p0) |
| | | public System.Collections.Generic.Dictionary<int, string> __Gen_Delegate_Imp275(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int[] __Gen_Delegate_Imp274(object p0, int p1) |
| | | public int[] __Gen_Delegate_Imp276(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp275(object p0, int p1, int p2, int p3, out int p4) |
| | | public bool __Gen_Delegate_Imp277(object p0, int p1, int p2, int p3, out int p4) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp276(object p0, int p1) |
| | | public Snxxz.UI.GodWeaponInfo __Gen_Delegate_Imp278(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp277(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2) |
| | | public bool __Gen_Delegate_Imp279(object p0, int p1, out System.Collections.Generic.List<Snxxz.UI.GodWeaponCondition> p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public bool __Gen_Delegate_Imp278(object p0, int p1, out Snxxz.UI.AutoHammerCost p2) |
| | | public bool __Gen_Delegate_Imp280(object p0, int p1, out Snxxz.UI.AutoHammerCost p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.Dictionary<int, int> __Gen_Delegate_Imp279(object p0, int p1, int p2) |
| | | public System.Collections.Generic.Dictionary<int, int> __Gen_Delegate_Imp281(object p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public string __Gen_Delegate_Imp280(object p0, int p1, int p2) |
| | | public string __Gen_Delegate_Imp282(object p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp281(object p0) |
| | | public Snxxz.UI.FuncSwitchModel __Gen_Delegate_Imp283(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp282(object p0) |
| | | public System.Collections.Generic.Dictionary<int, Snxxz.UI.FuncSwitchModel.FuncSwithData> __Gen_Delegate_Imp284(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp283(object p0) |
| | | public Snxxz.UI.TestModel __Gen_Delegate_Imp285(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UIEffect __Gen_Delegate_Imp284(object p0) |
| | | public UIEffect __Gen_Delegate_Imp286(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Treasure3DConfig __Gen_Delegate_Imp285(object p0) |
| | | public Treasure3DConfig __Gen_Delegate_Imp287(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp286(object p0, int p1) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp288(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp287(object p0, UnityEngine.Vector3 p1) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp289(object p0, UnityEngine.Vector3 p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp288(object p0, bool p1, bool p2) |
| | | public void __Gen_Delegate_Imp290(object p0, bool p1, bool p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp289(object p0, Snxxz.UI.TreasureAnimation.TreasureShowStep p1) |
| | | public void __Gen_Delegate_Imp291(object p0, Snxxz.UI.TreasureAnimation.TreasureShowStep p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp290(object p0, bool p1, int p2) |
| | | public void __Gen_Delegate_Imp292(object p0, bool p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp291(object p0) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp293(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp292(object p0) |
| | | public Treasure3DConfig.TreasureParam __Gen_Delegate_Imp294(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp293() |
| | | public Snxxz.UI.UI3DTreasureSelectStage __Gen_Delegate_Imp295() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public TreasureCategory __Gen_Delegate_Imp294(object p0) |
| | | public TreasureCategory __Gen_Delegate_Imp296(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp295(object p0, bool p1, TreasureCategory p2) |
| | | public void __Gen_Delegate_Imp297(object p0, bool p1, TreasureCategory p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp296(object p0, TreasureCategory p1, object p2) |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp298(object p0, TreasureCategory p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp297(object p0, TreasureCategory p1, bool p2) |
| | | public void __Gen_Delegate_Imp299(object p0, TreasureCategory p1, bool p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp298(object p0, object p1, float p2) |
| | | public System.Collections.IEnumerator __Gen_Delegate_Imp300(object p0, object p1, float p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public Snxxz.UI.SignInModel __Gen_Delegate_Imp299(object p0) |
| | | public Snxxz.UI.SignInModel __Gen_Delegate_Imp301(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(LoginRewardModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 10, 8, 8); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 14, 11, 8); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRewardNumber", _m_GetRewardNumber); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCarryOutNum", _m_GetCarryOutNum); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendLoginAwardInfo", _m_SendLoginAwardInfo); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDay", _m_GetDay); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsOpenFeatures", _m_IsOpenFeatures); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsJumpOpen", _m_IsJumpOpen); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "LoginAwardInfoUpdate", _e_LoginAwardInfoUpdate); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "LoginAwardInfoDic", _g_get_LoginAwardInfoDic); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "LoginAwardInfoDic", _g_get_LoginAwardInfoDic); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "LoginAwardDayDic", _g_get_LoginAwardDayDic); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "LoginAwardDic", _g_get_LoginAwardDic); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "RedPointDic", _g_get_RedPointDic); |
| | |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetDay(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.GetDay( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsOpenFeatures(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsOpenFeatures( ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsJumpOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsJumpOpen( ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOpen); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsAdvance(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAdvance); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_priorityOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.priorityOpen); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_LoginAwardInfoDic(RealStatePtr L) |
| | |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_onStateUpate(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | LoginRewardModel gen_to_be_invoked = (LoginRewardModel)translator.FastGetCSObj(L, 1); |
| | | System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<int>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.onStateUpate += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.onStateUpate -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to LoginRewardModel.onStateUpate!"); |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| New file |
| | |
| | | #if USE_UNI_LUA |
| | | using LuaAPI = UniLua.Lua; |
| | | using RealStatePtr = UniLua.ILuaState; |
| | | using LuaCSFunction = UniLua.CSharpFunctionDelegate; |
| | | #else |
| | | using LuaAPI = XLua.LuaDLL.Lua; |
| | | using RealStatePtr = System.IntPtr; |
| | | using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; |
| | | #endif |
| | | |
| | | using XLua; |
| | | using System.Collections.Generic; |
| | | |
| | | |
| | | namespace XLua.CSObjectWrap |
| | | { |
| | | using Utils = XLua.Utils; |
| | | public class LuaWindowUtilityWrap |
| | | { |
| | | public static void __Register(RealStatePtr L) |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(LuaWindowUtility); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 0, 0, 0); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 7, 0, 0); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "Open", _m_Open_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "Get", _m_Get_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "Close", _m_Close_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "CloseAll", _m_CloseAll_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "DestroyWin", _m_DestroyWin_xlua_st_); |
| | | Utils.RegisterFunc(L, Utils.CLS_IDX, "IsOpen", _m_IsOpen_xlua_st_); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | Utils.EndClassRegister(type, L, translator); |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int __CreateInstance(RealStatePtr L) |
| | | { |
| | | |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | if(LuaAPI.lua_gettop(L) == 1) |
| | | { |
| | | |
| | | LuaWindowUtility gen_ret = new LuaWindowUtility(); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } |
| | | catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return LuaAPI.luaL_error(L, "invalid arguments to LuaWindowUtility constructor!"); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Open_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)) |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | bool __forceSync = LuaAPI.lua_toboolean(L, 2); |
| | | int __functionalOrder = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | LuaWindowUtility.Open( __name, __forceSync, __functionalOrder ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2)) |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | bool __forceSync = LuaAPI.lua_toboolean(L, 2); |
| | | |
| | | LuaWindowUtility.Open( __name, __forceSync ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 1&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)) |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | LuaWindowUtility.Open( __name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | return LuaAPI.luaL_error(L, "invalid arguments to LuaWindowUtility.Open!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Get_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | Snxxz.UI.Window gen_ret = LuaWindowUtility.Get( __name ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Close_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | LuaWindowUtility.Close( __name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_CloseAll_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | LuaWindowUtility.CloseAll( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_DestroyWin_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | LuaWindowUtility.DestroyWin( __name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsOpen_xlua_st_(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | |
| | | |
| | | |
| | | { |
| | | string __name = LuaAPI.lua_tostring(L, 1); |
| | | |
| | | bool gen_ret = LuaWindowUtility.IsOpen( __name ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 8c8468acc72958c47b63f4ae1361fc21 |
| | | timeCreated: 1550051895 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.FestivalRedpackModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 20, 8); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 23, 21, 8); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "festivalDay", _g_get_festivalDay); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "operationDay", _g_get_operationDay); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "grabRedpackTimes", _g_get_grabRedpackTimes); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "grabTotalJade", _g_get_grabTotalJade); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "redpackVoiceInterval", _g_get_redpackVoiceInterval); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_operationDay(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.FestivalRedpackModel gen_to_be_invoked = (Snxxz.UI.FestivalRedpackModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.operationDay); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_grabRedpackTimes(RealStatePtr L) |
| | | { |
| | | try { |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.ImpactRankModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 28, 19, 6); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 30, 19, 6); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBillCfg", _m_GetBillCfg); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAwardType", _m_GetAwardType); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetRankAwardConfig", _m_GetRankAwardConfig); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTagAwardConfig", _m_GetTagAwardConfig); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBillAward", _m_GetBillAward); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetBillIndex", _m_GetBillIndex); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetTagIndex", _m_GetTagIndex); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetBillCfg(RealStatePtr L) |
| | | static int _m_GetAwardType(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | |
| | | int __type = LuaAPI.xlua_tointeger(L, 2); |
| | | int __index = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | ConfigBase gen_ret = gen_to_be_invoked.GetBillCfg( __type, __index ); |
| | | Snxxz.UI.ImpactRankModel.ImpactRankAwardType gen_ret = gen_to_be_invoked.GetAwardType( __type, __index ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetRankAwardConfig(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ImpactRankModel gen_to_be_invoked = (Snxxz.UI.ImpactRankModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int __type = LuaAPI.xlua_tointeger(L, 2); |
| | | int __index = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | TableConfig.OSCBillRankAwardConfig gen_ret = gen_to_be_invoked.GetRankAwardConfig( __type, __index ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetTagAwardConfig(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.ImpactRankModel gen_to_be_invoked = (Snxxz.UI.ImpactRankModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | int __type = LuaAPI.xlua_tointeger(L, 2); |
| | | int __index = LuaAPI.xlua_tointeger(L, 3); |
| | | |
| | | TableConfig.OSCBillTagAwardConfig gen_ret = gen_to_be_invoked.GetTagAwardConfig( __type, __index ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| New file |
| | |
| | | #if USE_UNI_LUA |
| | | using LuaAPI = UniLua.Lua; |
| | | using RealStatePtr = UniLua.ILuaState; |
| | | using LuaCSFunction = UniLua.CSharpFunctionDelegate; |
| | | #else |
| | | using LuaAPI = XLua.LuaDLL.Lua; |
| | | using RealStatePtr = System.IntPtr; |
| | | using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; |
| | | #endif |
| | | |
| | | using XLua; |
| | | using System.Collections.Generic; |
| | | |
| | | |
| | | namespace XLua.CSObjectWrap |
| | | { |
| | | using Utils = XLua.Utils; |
| | | public class SnxxzUILuckyTreasureModelWrap |
| | | { |
| | | public static void __Register(RealStatePtr L) |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.LuckyTreasureModel); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 8, 9, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOperation", _m_GetOperation); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "onStateUpate", _e_onStateUpate); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateResultEvent", _e_UpdateResultEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "resultInfoLocalSave", _g_get_resultInfoLocalSave); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "resultInfolist", _g_get_resultInfolist); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsOpen", _g_get_IsOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsAdvance", _g_get_IsAdvance); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "priorityOpen", _g_get_priorityOpen); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxLuckValue", _g_get_maxLuckValue); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "luckAwardId", _g_get_luckAwardId); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "maxRecordResultNum", _g_get_maxRecordResultNum); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "curLuckValue", _g_get_curLuckValue); |
| | | |
| | | |
| | | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | Utils.EndClassRegister(type, L, translator); |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int __CreateInstance(RealStatePtr L) |
| | | { |
| | | |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | if(LuaAPI.lua_gettop(L) == 1) |
| | | { |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_ret = new Snxxz.UI.LuckyTreasureModel(); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } |
| | | catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.LuckyTreasureModel constructor!"); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Init(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.Init( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OnBeforePlayerDataInitialize(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.OnBeforePlayerDataInitialize( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OnAfterPlayerDataInitialize(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.OnAfterPlayerDataInitialize( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OnPlayerLoginOk(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.OnPlayerLoginOk( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UnInit(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | gen_to_be_invoked.UnInit( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetOperation(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | Snxxz.UI.OperationLuckyTreasure gen_ret = gen_to_be_invoked.GetOperation( ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_resultInfoLocalSave(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushstring(L, gen_to_be_invoked.resultInfoLocalSave); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_resultInfolist(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.resultInfolist); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsOpen); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_IsAdvance(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsAdvance); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_priorityOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.lua_pushboolean(L, gen_to_be_invoked.priorityOpen); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_maxLuckValue(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxLuckValue); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_luckAwardId(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.luckAwardId); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_maxRecordResultNum(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.maxRecordResultNum); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_curLuckValue(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.curLuckValue); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_onStateUpate(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | System.Action<int> gen_delegate = translator.GetDelegate<System.Action<int>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<int>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.onStateUpate += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.onStateUpate -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.LuckyTreasureModel.onStateUpate!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_UpdateResultEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.LuckyTreasureModel gen_to_be_invoked = (Snxxz.UI.LuckyTreasureModel)translator.FastGetCSObj(L, 1); |
| | | System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.UpdateResultEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.UpdateResultEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.LuckyTreasureModel.UpdateResultEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: ebf7348e604d2d143b06340db94214d5 |
| | | timeCreated: 1550051902 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.OperationTimeHepler); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 30, 0, 0); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 31, 0, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateMultipleExp", _m_UpdateMultipleExp); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateConsumeRebate", _m_UpdateConsumeRebate); |
| | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFlashSale", _m_UpdateFlashSale); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateFlashRushToBuy", _m_UpdateFlashRushToBuy); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateWishingWellInfo", _m_UpdateWishingWellInfo); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateLuckyTreasure", _m_UpdateLuckyTreasure); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateGiftPackage", _m_UpdateGiftPackage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateBossReborn", _m_UpdateBossReborn); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshFairyCeremonyInfo", _m_RefreshFairyCeremonyInfo); |
| | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdateLuckyTreasure(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.OperationTimeHepler gen_to_be_invoked = (Snxxz.UI.OperationTimeHepler)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | HAA19_tagMCActWishingWellInfo _package = (HAA19_tagMCActWishingWellInfo)translator.GetObject(L, 2, typeof(HAA19_tagMCActWishingWellInfo)); |
| | | |
| | | gen_to_be_invoked.UpdateLuckyTreasure( _package ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UpdateGiftPackage(RealStatePtr L) |
| | | { |
| | | try { |
| New file |
| | |
| | | #if USE_UNI_LUA |
| | | using LuaAPI = UniLua.Lua; |
| | | using RealStatePtr = UniLua.ILuaState; |
| | | using LuaCSFunction = UniLua.CSharpFunctionDelegate; |
| | | #else |
| | | using LuaAPI = XLua.LuaDLL.Lua; |
| | | using RealStatePtr = System.IntPtr; |
| | | using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; |
| | | #endif |
| | | |
| | | using XLua; |
| | | using System.Collections.Generic; |
| | | |
| | | |
| | | namespace XLua.CSObjectWrap |
| | | { |
| | | using Utils = XLua.Utils; |
| | | public class SnxxzUIWindowCenterWrap |
| | | { |
| | | public static void __Register(RealStatePtr L) |
| | | { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | System.Type type = typeof(Snxxz.UI.WindowCenter); |
| | | Utils.BeginObjectRegister(type, L, translator, 0, 19, 2, 0); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Get", _m_Get); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenFromLocal", _m_OpenFromLocal); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Open", _m_Open); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "Close", _m_Close); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CloseImmediately", _m_CloseImmediately); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAll", _m_GetAll); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CloseAll", _m_CloseAll); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "CloseOthers", _m_CloseOthers); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "DestoryWinsByStage", _m_DestoryWinsByStage); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "DestroyWin", _m_DestroyWin); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnLoadAssetBundle", _m_UnLoadAssetBundle); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsOpen", _m_IsOpen); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExistAnyFullScreenOrMaskWin", _m_ExistAnyFullScreenOrMaskWin); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "ExistAnyFullScreenOrMaskWinLEqual", _m_ExistAnyFullScreenOrMaskWinLEqual); |
| | | |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "windowBeforeOpenEvent", _e_windowBeforeOpenEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "windowAfterOpenEvent", _e_windowAfterOpenEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "windowBeforeCloseEvent", _e_windowBeforeCloseEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "windowAfterCloseEvent", _e_windowAfterCloseEvent); |
| | | Utils.RegisterFunc(L, Utils.METHOD_IDX, "jumpWindowCloseEvent", _e_jumpWindowCloseEvent); |
| | | |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "uiRoot", _g_get_uiRoot); |
| | | Utils.RegisterFunc(L, Utils.GETTER_IDX, "asyncLoad", _g_get_asyncLoad); |
| | | |
| | | |
| | | |
| | | Utils.EndObjectRegister(type, L, translator, null, null, |
| | | null, null, null); |
| | | |
| | | Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | Utils.EndClassRegister(type, L, translator); |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int __CreateInstance(RealStatePtr L) |
| | | { |
| | | |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | if(LuaAPI.lua_gettop(L) == 1) |
| | | { |
| | | |
| | | Snxxz.UI.WindowCenter gen_ret = new Snxxz.UI.WindowCenter(); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } |
| | | catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter constructor!"); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Get(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | Snxxz.UI.Window gen_ret = gen_to_be_invoked.Get( _name ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_OpenFromLocal(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | gen_to_be_invoked.OpenFromLocal( _name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Open(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 4&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)) |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | bool _forceSync = LuaAPI.lua_toboolean(L, 3); |
| | | int _functionOrder = LuaAPI.xlua_tointeger(L, 4); |
| | | |
| | | gen_to_be_invoked.Open( _name, _forceSync, _functionOrder ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | bool _forceSync = LuaAPI.lua_toboolean(L, 3); |
| | | |
| | | gen_to_be_invoked.Open( _name, _forceSync ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | gen_to_be_invoked.Open( _name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.Open!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_Close(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | gen_to_be_invoked.Close( _name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_CloseImmediately(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | gen_to_be_invoked.CloseImmediately( _name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_GetAll(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | System.Collections.Generic.List<string> gen_ret = gen_to_be_invoked.GetAll( ); |
| | | translator.Push(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_CloseAll(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | |
| | | if(gen_param_count == 2&& translator.Assignable<Snxxz.UI.WindowCenter.CloseAllIgnoreType>(L, 2)) |
| | | { |
| | | Snxxz.UI.WindowCenter.CloseAllIgnoreType _ignoreType;translator.Get(L, 2, out _ignoreType); |
| | | |
| | | gen_to_be_invoked.CloseAll( _ignoreType ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | if(gen_param_count == 1) |
| | | { |
| | | |
| | | gen_to_be_invoked.CloseAll( ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.CloseAll!"); |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_CloseOthers(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | System.Collections.Generic.List<string> _windowNames = (System.Collections.Generic.List<string>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<string>)); |
| | | Snxxz.UI.WindowCenter.CloseAllIgnoreType _ignoreType;translator.Get(L, 3, out _ignoreType); |
| | | |
| | | gen_to_be_invoked.CloseOthers( _windowNames, _ignoreType ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_DestoryWinsByStage(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | Snxxz.UI.WindowCenter.WindowStage _windowStage;translator.Get(L, 2, out _windowStage); |
| | | |
| | | gen_to_be_invoked.DestoryWinsByStage( _windowStage ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_DestroyWin(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | gen_to_be_invoked.DestroyWin( _name ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_UnLoadAssetBundle(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | Snxxz.UI.WindowCenter.WindowStage _windowStage;translator.Get(L, 2, out _windowStage); |
| | | |
| | | gen_to_be_invoked.UnLoadAssetBundle( _windowStage ); |
| | | |
| | | |
| | | |
| | | return 0; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_IsOpen(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | string _name = LuaAPI.lua_tostring(L, 2); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.IsOpen( _name ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_ExistAnyFullScreenOrMaskWin(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | |
| | | bool gen_ret = gen_to_be_invoked.ExistAnyFullScreenOrMaskWin( ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _m_ExistAnyFullScreenOrMaskWinLEqual(RealStatePtr L) |
| | | { |
| | | try { |
| | | |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | |
| | | |
| | | |
| | | { |
| | | WindowType _windowType;translator.Get(L, 2, out _windowType); |
| | | |
| | | bool gen_ret = gen_to_be_invoked.ExistAnyFullScreenOrMaskWinLEqual( _windowType ); |
| | | LuaAPI.lua_pushboolean(L, gen_ret); |
| | | |
| | | |
| | | |
| | | return 1; |
| | | } |
| | | |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_uiRoot(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.uiRoot); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _g_get_asyncLoad(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | translator.Push(L, gen_to_be_invoked.asyncLoad); |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_windowBeforeOpenEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | System.Action<Snxxz.UI.Window> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Window>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Window>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.windowBeforeOpenEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.windowBeforeOpenEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.windowBeforeOpenEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_windowAfterOpenEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | System.Action<Snxxz.UI.Window> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Window>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Window>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.windowAfterOpenEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.windowAfterOpenEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.windowAfterOpenEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_windowBeforeCloseEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | System.Action<Snxxz.UI.Window> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Window>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Window>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.windowBeforeCloseEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.windowBeforeCloseEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.windowBeforeCloseEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_windowAfterCloseEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | System.Action<Snxxz.UI.Window> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Window>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Window>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.windowAfterCloseEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.windowAfterCloseEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.windowAfterCloseEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] |
| | | static int _e_jumpWindowCloseEvent(RealStatePtr L) |
| | | { |
| | | try { |
| | | ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); |
| | | int gen_param_count = LuaAPI.lua_gettop(L); |
| | | Snxxz.UI.WindowCenter gen_to_be_invoked = (Snxxz.UI.WindowCenter)translator.FastGetCSObj(L, 1); |
| | | System.Action<Snxxz.UI.Window> gen_delegate = translator.GetDelegate<System.Action<Snxxz.UI.Window>>(L, 3); |
| | | if (gen_delegate == null) { |
| | | return LuaAPI.luaL_error(L, "#3 need System.Action<Snxxz.UI.Window>!"); |
| | | } |
| | | |
| | | if (gen_param_count == 3) |
| | | { |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "+")) { |
| | | gen_to_be_invoked.jumpWindowCloseEvent += gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | if (LuaAPI.xlua_is_eq_str(L, 2, "-")) { |
| | | gen_to_be_invoked.jumpWindowCloseEvent -= gen_delegate; |
| | | return 0; |
| | | } |
| | | |
| | | } |
| | | } catch(System.Exception gen_e) { |
| | | return LuaAPI.luaL_error(L, "c# exception:" + gen_e); |
| | | } |
| | | LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.WindowCenter.jumpWindowCloseEvent!"); |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: cd420c96a2a274b44b4659ea1bb2353d |
| | | timeCreated: 1550051900 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| New file |
| | |
| | | #if USE_UNI_LUA |
| | | using LuaAPI = UniLua.Lua; |
| | | using RealStatePtr = UniLua.ILuaState; |
| | | using LuaCSFunction = UniLua.CSharpFunctionDelegate; |
| | | #else |
| | | using LuaAPI = XLua.LuaDLL.Lua; |
| | | using RealStatePtr = System.IntPtr; |
| | | using LuaCSFunction = XLua.LuaDLL.lua_CSFunction; |
| | | #endif |
| | | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Reflection; |
| | | |
| | | |
| | | namespace XLua.CSObjectWrap |
| | | { |
| | | public class XLua_Gen_Initer_Register__ |
| | | { |
| | | |
| | | |
| | | static void wrapInit0(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.UI.Image), UnityEngineUIImageWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.UI.Text), UnityEngineUITextWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.UI.Button), UnityEngineUIButtonWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(DebugEx), DebugExWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ResourcesPath), ResourcesPathWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(AssetSource), AssetSourceWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Equation), EquationWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LaunchPostProcess), LaunchPostProcessWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Config), ConfigWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PlayerStoneData), PlayerStoneDataWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MarketModel), SnxxzUIMarketModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PlayerDatas), PlayerDatasWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RealmModel), SnxxzUIRealmModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SnxxzGame), SnxxzGameWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GameNetSystem), GameNetSystemWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(AssetBundleUtility), AssetBundleUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GameObjectPoolManager), GameObjectPoolManagerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UILoader), UILoaderWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SDKUtility), SDKUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SFXPlayUtility), SFXPlayUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(AnyCountDownUtility), AnyCountDownUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(AssetPreLoad), AssetPreLoadWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FlyObjectManager), FlyObjectManagerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SkillHelper), SkillHelperWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(StatusMgr), StatusMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(BossFakeLineUtility), BossFakeLineUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(BattleEffectPlayRule), BattleEffectPlayRuleWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GAMgr), GAMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(MapTransferUtility), MapTransferUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PreFightMission), PreFightMissionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PrepareHandler), PrepareHandlerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GuideDialogueModel), GuideDialogueModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GuideMessageModel), GuideMessageModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(NewGuideModel), NewGuideModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(StoryHintModel), StoryHintModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LuaBehaviour), LuaBehaviourWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ConfigUtil), ConfigUtilWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LuaGameNetPackBase), LuaGameNetPackBaseWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LuaGameNetSystem), LuaGameNetSystemWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(object), SystemObjectWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Object), UnityEngineObjectWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Vector2), UnityEngineVector2Wrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Vector3), UnityEngineVector3Wrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Vector4), UnityEngineVector4Wrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Quaternion), UnityEngineQuaternionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Color), UnityEngineColorWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Ray), UnityEngineRayWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Bounds), UnityEngineBoundsWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Ray2D), UnityEngineRay2DWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Time), UnityEngineTimeWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.GameObject), UnityEngineGameObjectWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit1(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Component), UnityEngineComponentWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Behaviour), UnityEngineBehaviourWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Transform), UnityEngineTransformWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Resources), UnityEngineResourcesWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.TextAsset), UnityEngineTextAssetWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Keyframe), UnityEngineKeyframeWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.AnimationCurve), UnityEngineAnimationCurveWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.AnimationClip), UnityEngineAnimationClipWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.MonoBehaviour), UnityEngineMonoBehaviourWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.ParticleSystem), UnityEngineParticleSystemWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.SkinnedMeshRenderer), UnityEngineSkinnedMeshRendererWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Renderer), UnityEngineRendererWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.WWW), UnityEngineWWWWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Light), UnityEngineLightWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Mathf), UnityEngineMathfWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(System.Collections.Generic.List<int>), SystemCollectionsGenericList_1_SystemInt32_Wrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnityEngine.Debug), UnityEngineDebugWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ModelUtility), ModelUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LuaWindow), LuaWindowWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LuaWindowUtility), LuaWindowUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.AchievementModel), SnxxzUIAchievementModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ActivityModel), SnxxzUIActivityModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(AssetVersionUtility), AssetVersionUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(DownLoadAndDiscompressTask), DownLoadAndDiscompressTaskWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(InGameDownLoad), InGameDownLoadWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BetterEquipGetModel), SnxxzUIBetterEquipGetModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ItemUseModel), SnxxzUIItemUseModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PreciousItemGetModel), SnxxzUIPreciousItemGetModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RealmBetterEquipModel), SnxxzUIRealmBetterEquipModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(BlastFurnaceModel), BlastFurnaceModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GetItemPathModel), GetItemPathModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PrayForDurgModel), SnxxzUIPrayForDurgModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BossRebornModel), SnxxzUIBossRebornModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BossShowModel), SnxxzUIBossShowModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ChatBubbleModel), SnxxzUIChatBubbleModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ChatCenter), SnxxzUIChatCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(VoiceHttpRequest), VoiceHttpRequestWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(VersionUtility), VersionUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ComposeWinModel), ComposeWinModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SelectEquipModel), SelectEquipModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(CrossServerUtility), CrossServerUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.CrossServerBossModel), SnxxzUICrossServerBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.CrossServerOneVsOneModel), SnxxzUICrossServerOneVsOneModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Item_Class), Item_ClassWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OpponentInformation), SnxxzUIOpponentInformationWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DailyQuestActionTimer), SnxxzUIDailyQuestActionTimerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DailyQuestModel), SnxxzUIDailyQuestModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ResourcesBackModel), SnxxzUIResourcesBackModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(DebugUtility), DebugUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DogzModel), SnxxzUIDogzModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DogzPackModel), SnxxzUIDogzPackModelWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit2(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DogzDungeonModel), SnxxzUIDogzDungeonModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonAssistModel), SnxxzUIDungeonAssistModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.Dungeon), SnxxzUIDungeonWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonLiquidModel), SnxxzUIDungeonLiquidModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DungeonModel), SnxxzUIDungeonModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(IceLodeStarAwardClass), IceLodeStarAwardClassWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TrialDungeonModel), SnxxzUITrialDungeonModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairyBossModel), SnxxzUIFairyBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairyFeastModel), SnxxzUIFairyFeastModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairyGrabBossModel), SnxxzUIFairyGrabBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairyLeagueModel), SnxxzUIFairyLeagueModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairyModel), SnxxzUIFairyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.KingFairyModel), SnxxzUIKingFairyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UnionTaskModel), UnionTaskModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FairylandCeremonyModel), SnxxzUIFairylandCeremonyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FakeDungeonUtility), FakeDungeonUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FashionDecomposeModel), SnxxzUIFashionDecomposeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FashionDressModel), SnxxzUIFashionDressModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BossHomeModel), SnxxzUIBossHomeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.DemonJarModel), SnxxzUIDemonJarModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ElderGodAreaModel), SnxxzUIElderGodAreaModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FindPreciousModel), SnxxzUIFindPreciousModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FindPreciousTimer), SnxxzUIFindPreciousTimerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PersonalBossModel), SnxxzUIPersonalBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RewardPreviewGroup), SnxxzUIRewardPreviewGroupWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WorldBossModel), SnxxzUIWorldBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FriendsModel), FriendsModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GMCmdModel), GMCmdModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GatherSoulComposeModel), SnxxzUIGatherSoulComposeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GatherSoulDungeonModel), SnxxzUIGatherSoulDungeonModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GatheringSoulModel), SnxxzUIGatheringSoulModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.VirtualPackModel), SnxxzUIVirtualPackModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GuardModel), SnxxzUIGuardModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.HappyXBModel), SnxxzUIHappyXBModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.HeavenBattleInfo), SnxxzUIHeavenBattleInfoWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(HeavenBattleModel), HeavenBattleModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(HttpRequest), HttpRequestWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyBossModel), SnxxzUIJadeDynastyBossModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyDecomposeModel), SnxxzUIJadeDynastyDecomposeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyEquipModel), SnxxzUIJadeDynastyEquipModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyGemModel), SnxxzUIJadeDynastyGemModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastySkillModel), SnxxzUIJadeDynastySkillModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.JadeDynastyTowerModel), SnxxzUIJadeDynastyTowerModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FBHelpPointExchageModel), SnxxzUIFBHelpPointExchageModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.KnapsackTimeCDMgr), SnxxzUIKnapsackTimeCDMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BoxGetItemModel), SnxxzUIBoxGetItemModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ItemOverdueModel), SnxxzUIItemOverdueModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ItemTipsModel), SnxxzUIItemTipsModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PackModelInterface), SnxxzUIPackModelInterfaceWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PackSendQuestMgr), SnxxzUIPackSendQuestMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PlayerPackModel), SnxxzUIPlayerPackModelWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit3(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureEffectModel), SnxxzUITreasureEffectModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BatchUseModel), SnxxzUIBatchUseModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.KingTreasureShowModel), SnxxzUIKingTreasureShowModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(KnapSackEventMgr), KnapSackEventMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.LoginModel), SnxxzUILoginModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ServerListCenter), ServerListCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.LoginAdModel), SnxxzUILoginAdModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(CapacityDelayModel), CapacityDelayModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(CoinTaskTipModel), CoinTaskTipModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FeatureNoticeModel), FeatureNoticeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MainRedDot), SnxxzUIMainRedDotWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineOnHookModel), SnxxzUIOffLineOnHookModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PKModel), SnxxzUIPKModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.StoryMissionsModel), SnxxzUIStoryMissionsModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TaskAllocation), SnxxzUITaskAllocationWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TipPanel), SnxxzUITipPanelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PutawayData), PutawayDataWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BattleHint), SnxxzUIBattleHintWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GMNotify), SnxxzUIGMNotifyWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SysNotifyMgr), SysNotifyMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(HorseClass), HorseClassWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FunctionalGuideCenter), SnxxzUIFunctionalGuideCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.NewBieCenter), SnxxzUINewBieCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.NewYearFairylandCeremonyModel), SnxxzUINewYearFairylandCeremonyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OffLineTimeLackModel), SnxxzUIOffLineTimeLackModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.AccumulateRechargeModel), SnxxzUIAccumulateRechargeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FestivalRedpackModel), SnxxzUIFestivalRedpackModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FlashRushToBuyModel), SnxxzUIFlashRushToBuyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FlashSaleModel), SnxxzUIFlashSaleModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ImpactRankModel), SnxxzUIImpactRankModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OpenServerActivityCenter), SnxxzUIOpenServerActivityCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(InSevenDayModel), InSevenDayModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LoginRewardModel), LoginRewardModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.LuckyTreasureModel), SnxxzUILuckyTreasureModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MonthlyInvestmentModel), SnxxzUIMonthlyInvestmentModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MysticalPurchaseModel), SnxxzUIMysticalPurchaseModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OSGiftModel), SnxxzUIOSGiftModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OSRedEnvelopeModel), SnxxzUIOSRedEnvelopeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OpenServerActivityNotifyModel), SnxxzUIOpenServerActivityNotifyModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ActionTypeClass), ActionTypeClassWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RedEnvelopeModel), SnxxzUIRedEnvelopeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SpringFestivalModel), SpringFestivalModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WishingPoolModel), SnxxzUIWishingPoolModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PetReinforceModel), PetReinforceModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PetBackpack), PetBackpackWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RidingAndPetActivationModel), SnxxzUIRidingAndPetActivationModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PlayerDeadModel), PlayerDeadModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RankModel), SnxxzUIRankModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(RealmPracticeModel), RealmPracticeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.Redpoint), SnxxzUIRedpointWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RedpointCenter), SnxxzUIRedpointCenterWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit4(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MagicianModel), SnxxzUIMagicianModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RoleModel), SnxxzUIRoleModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RolePointModel), SnxxzUIRolePointModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TitleModel), SnxxzUITitleModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RoleParticularModel), SnxxzUIRoleParticularModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RolePromoteModel), SnxxzUIRolePromoteModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RuneComposeModel), SnxxzUIRuneComposeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RuneModel), SnxxzUIRuneModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.RuneTowerModel), SnxxzUIRuneTowerModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(QuickSetting), QuickSettingWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.SkillModel), SnxxzUISkillModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TalentModel), SnxxzUITalentModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(CoroutineMgr), CoroutineMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(BuyItemPopModel), BuyItemPopModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.BuySuccessModel), SnxxzUIBuySuccessModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(StoreModel), StoreModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(EquipReinforceModel), EquipReinforceModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PlayerSuitModel), SnxxzUIPlayerSuitModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(EquipWashModel), EquipWashModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GemModel), SnxxzUIGemModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GodBeastModel), GodBeastModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(HowToPlayModel), HowToPlayModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(WashProModel), WashProModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WingsRedDot), SnxxzUIWingsRedDotWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ActivitiesPushMgr), SnxxzUIActivitiesPushMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ChatSetting), ChatSettingWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FuncSwitchModel), SnxxzUIFuncSwitchModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(HangUpSetModel), HangUpSetModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PrivateRemind), PrivateRemindWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.SetPrivateModel), SnxxzUISetPrivateModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SettingEffectMgr), SettingEffectMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SettingMgr), SettingMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SystemSetting), SystemSettingWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(TaiChiModel), TaiChiModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.GroupDungeonChallengeProcessor), SnxxzUIGroupDungeonChallengeProcessorWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TeamModel), SnxxzUITeamModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(PwdKeyboard), PwdKeyboardWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureModel), SnxxzUITreasureModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureSoulModel), SnxxzUITreasureSoulModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.TreasureFindHostModel), SnxxzUITreasureFindHostModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FairyJadeInvestmentModel), FairyJadeInvestmentModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FirstTimeRechargeModel), SnxxzUIFirstTimeRechargeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LimitedTimePackageItemClassModel), LimitedTimePackageItemClassModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(NeedForWhiteModel), NeedForWhiteModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OSTimeLimitGiftModel), SnxxzUIOSTimeLimitGiftModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.VipInvestModel), SnxxzUIVipInvestModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WheelOfFortuneModel), SnxxzUIWheelOfFortuneModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.VipModel), SnxxzUIVipModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(SpeechTranslate), SpeechTranslateWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.AwardExchangeModel), SnxxzUIAwardExchangeModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ConsumeRebateModel), SnxxzUIConsumeRebateModelWrap.__Register); |
| | | |
| | | } |
| | | |
| | | static void wrapInit5(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.LevelGiftModel), SnxxzUILevelGiftModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MultipleExpModel), SnxxzUIMultipleExpModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MultipleRealmPointModel), SnxxzUIMultipleRealmPointModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.OperationTimeHepler), SnxxzUIOperationTimeHeplerWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.PrayerModel), SnxxzUIPrayerModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.SignInModel), SnxxzUISignInModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WelfareCenter), SnxxzUIWelfareCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ModelCenter), SnxxzUIModelCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.WindowCenter), SnxxzUIWindowCenterWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(WindowJumpMgr), WindowJumpMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.MapModel), SnxxzUIMapModelWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(WorldMapSkip), WorldMapSkipWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.FunctionButton), SnxxzUIFunctionButtonWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.ItemBehaviour), SnxxzUIItemBehaviourWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(TimeDownMgr), TimeDownMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(Snxxz.UI.UI3DModelExhibition), SnxxzUIUI3DModelExhibitionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ButtonEx), ButtonExWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(EffectMgr), EffectMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(TimeMgr), TimeMgrWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UIEffect), UIEffectWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(ComponentExtersion), ComponentExtersionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(DeviceUtility), DeviceUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(FileExtersion), FileExtersionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GMCommand), GMCommandWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(GlobalTimeEvent), GlobalTimeEventWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LanguageVerify), LanguageVerifyWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(LayerUtility), LayerUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(MaterialUtility), MaterialUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(OperationLogCollect), OperationLogCollectWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(RunTimeExceptionUtility), RunTimeExceptionUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(TimeUtility), TimeUtilityWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(TransformExtension), TransformExtensionWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UIHelper), UIHelperWrap.__Register); |
| | | |
| | | |
| | | translator.DelayWrapLoader(typeof(UIUtility), UIUtilityWrap.__Register); |
| | | |
| | | |
| | | |
| | | } |
| | | |
| | | static void Init(LuaEnv luaenv, ObjectTranslator translator) |
| | | { |
| | | |
| | | wrapInit0(luaenv, translator); |
| | | |
| | | wrapInit1(luaenv, translator); |
| | | |
| | | wrapInit2(luaenv, translator); |
| | | |
| | | wrapInit3(luaenv, translator); |
| | | |
| | | wrapInit4(luaenv, translator); |
| | | |
| | | wrapInit5(luaenv, translator); |
| | | |
| | | |
| | | translator.AddInterfaceBridgeCreator(typeof(System.Collections.IEnumerator), SystemCollectionsIEnumeratorBridge.__Create); |
| | | |
| | | } |
| | | |
| | | static XLua_Gen_Initer_Register__() |
| | | { |
| | | XLua.LuaEnv.AddIniter(Init); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | } |
| | | namespace XLua |
| | | { |
| | | public partial class ObjectTranslator |
| | | { |
| | | static XLua.CSObjectWrap.XLua_Gen_Initer_Register__ s_gen_reg_dumb_obj = new XLua.CSObjectWrap.XLua_Gen_Initer_Register__(); |
| | | static XLua.CSObjectWrap.XLua_Gen_Initer_Register__ gen_reg_dumb_obj {get{return s_gen_reg_dumb_obj;}} |
| | | } |
| | | |
| | | internal partial class InternalGlobals |
| | | { |
| | | |
| | | static InternalGlobals() |
| | | { |
| | | extensionMethodMap = new Dictionary<Type, IEnumerable<MethodInfo>>() |
| | | { |
| | | |
| | | }; |
| | | |
| | | genTryArrayGetPtr = StaticLuaCallbacks.__tryArrayGet; |
| | | genTryArraySetPtr = StaticLuaCallbacks.__tryArraySet; |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | fileFormatVersion: 2 |
| | | guid: 76ab9fef6104ded43916de2a746cc1bb |
| | | timeCreated: 1550051893 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | | defaultReferences: [] |
| | | executionOrder: 0 |
| | | icon: {instanceID: 0} |
| | | userData: |
| | | assetBundleName: |
| | | assetBundleVariant: |
| | |
| | | <type fullname="Snxxz.UI.OpenServerActivityCenter" preserve="all"/> |
| | | <type fullname="InSevenDayModel" preserve="all"/> |
| | | <type fullname="LoginRewardModel" preserve="all"/> |
| | | <type fullname="Snxxz.UI.LuckyTreasureModel" preserve="all"/> |
| | | <type fullname="Snxxz.UI.MonthlyInvestmentModel" preserve="all"/> |
| | | <type fullname="Snxxz.UI.MysticalPurchaseModel" preserve="all"/> |
| | | <type fullname="Snxxz.UI.OSGiftModel" preserve="all"/> |
| | |
| | | return x.Condition.CompareTo(y.Condition);
|
| | | }
|
| | |
|
| | | public ConfigBase GetBillCfg(int _type, int _index)
|
| | | public ImpactRankAwardType GetAwardType(int _type,int _index)
|
| | | {
|
| | | if (_index >= billRankCfgDict[_type].Count)
|
| | | {
|
| | | return billTagCfgDict[_type][_index - billRankCfgDict[_type].Count];
|
| | | return ImpactRankAwardType.Target;
|
| | | }
|
| | | return ImpactRankAwardType.Rank;
|
| | | }
|
| | |
|
| | | public OSCBillRankAwardConfig GetRankAwardConfig(int _type, int _index)
|
| | | {
|
| | | return billRankCfgDict[_type][_index];
|
| | | }
|
| | |
|
| | | public OSCBillTagAwardConfig GetTagAwardConfig(int _type, int _index)
|
| | | {
|
| | | _index = _index - billRankCfgDict[_type].Count;
|
| | | return billTagCfgDict[_type][_index];
|
| | | }
|
| | |
|
| | | public RankAwardItem GetBillAward(int _type, int _index)
|
| | |
| | | }
|
| | | for (int i = 0; i < GetAllBillCfgCount(_type); i++)
|
| | | {
|
| | | var config = GetBillCfg(_type, i);
|
| | | if (config == null || config is OSCBillTagAwardConfig)
|
| | | var type = GetAwardType(_type, i);
|
| | | if (type == ImpactRankAwardType.Target)
|
| | | {
|
| | | continue;
|
| | | }
|
| | | var billRankConfig = config as OSCBillRankAwardConfig;
|
| | | var billRankConfig = GetRankAwardConfig(_type, i);
|
| | | if (_rank < billRankConfig.RankA || _rank > billRankConfig.RankB)
|
| | | {
|
| | | continue;
|
| | |
| | | }
|
| | | for (int i = 0; i < GetAllBillCfgCount(_type); i++)
|
| | | {
|
| | | var _cfg = GetBillCfg(_type, i);
|
| | | var awardType = GetAwardType(_type, i);
|
| | | var _index = GetBillIndex(_type, i);
|
| | | if (_cfg is OSCBillTagAwardConfig)
|
| | | if (awardType == ImpactRankAwardType.Target)
|
| | | {
|
| | | var _cfg = GetTagAwardConfig(_type, i);
|
| | | if (!_playerData.IsTagGet(GetTagIndex(_type, _index)))
|
| | | {
|
| | | var _complete = _playerData.value >= (_cfg as OSCBillTagAwardConfig).Condition;
|
| | | var _complete = _playerData.value >= _cfg.Condition;
|
| | | if (_complete)
|
| | | {
|
| | | _displayIndex = i;
|
| | |
| | | }
|
| | | else if (IsActivityClose(_type))
|
| | | {
|
| | | var _start = (_cfg as OSCBillRankAwardConfig).RankA;
|
| | | var _end = (_cfg as OSCBillRankAwardConfig).RankB;
|
| | | var _cfg = GetRankAwardConfig(_type, i);
|
| | | var _start = _cfg.RankA;
|
| | | var _end = _cfg.RankB;
|
| | | var _rank = PlayerDatas.Instance.rank.GetSelfRank((int)GetRankType(_type));
|
| | | if (_rank != -1 && _rank >= _start
|
| | | && _rank <= _end && !_playerData.billAwardGet)
|
| | |
| | | }
|
| | | for (int i = 0; i < GetAllBillCfgCount(_type); i++)
|
| | | {
|
| | | var _cfg = GetBillCfg(_type, i);
|
| | | var awardType = GetAwardType(_type, i);
|
| | | var _index = GetBillIndex(_type, i);
|
| | | if (_cfg is OSCBillTagAwardConfig)
|
| | | if (awardType==ImpactRankAwardType.Target)
|
| | | {
|
| | | var _cfg = GetTagAwardConfig(_type, i);
|
| | | if (!_playerData.IsTagGet(GetTagIndex(_type, _index)))
|
| | | {
|
| | | var _complete = _playerData.value >= (_cfg as OSCBillTagAwardConfig).Condition;
|
| | |
| | | }
|
| | | else if (IsActivityClose(_type))
|
| | | {
|
| | | var _start = (_cfg as OSCBillRankAwardConfig).RankA;
|
| | | var _end = (_cfg as OSCBillRankAwardConfig).RankB;
|
| | | var _cfg = GetRankAwardConfig(_type, i);
|
| | | var _start = _cfg.RankA;
|
| | | var _end = _cfg.RankB;
|
| | | var _rank = PlayerDatas.Instance.rank.GetSelfRank((int)GetRankType(_type));
|
| | | if (_rank != -1 && _rank >= _start
|
| | | && _rank <= _end && !_playerData.billAwardGet)
|
| | |
| | | }
|
| | | }
|
| | | #endregion
|
| | |
|
| | | public enum ImpactRankAwardType
|
| | | {
|
| | | Rank,
|
| | | Target,
|
| | | }
|
| | | }
|
| | |
|
| | | [XLua.LuaCallCSharp]
|
| | |
| | | ImpactRankAwardCell _cell = cell as ImpactRankAwardCell;
|
| | | ImpactRankModel.RankAwardItem _award = model.GetBillAward(model.presentSelectType, _cell.index);
|
| | | var _itemList = _award.GetAwardItem(PlayerDatas.Instance.baseData.Job);
|
| | | var _cfg = model.GetBillCfg(model.presentSelectType, _cell.index);
|
| | | var awardType = model.GetAwardType(model.presentSelectType, _cell.index);
|
| | | var _billRankCfg = awardType == ImpactRankModel.ImpactRankAwardType.Rank ? model.GetRankAwardConfig(model.presentSelectType, _cell.index) : null;
|
| | | var _billTagCfg = awardType == ImpactRankModel.ImpactRankAwardType.Target ? model.GetTagAwardConfig(model.presentSelectType, _cell.index) : null;
|
| | | for (int i = 0; i < _cell.items.Length; i++)
|
| | | {
|
| | | _cell.items[i].gameObject.SetActive(_itemList != null && i < _itemList.Count);
|
| | |
| | | {
|
| | | _cell.unCompleteImg.gameObject.SetActive(true);
|
| | | }
|
| | | else if (_cfg is OSCBillTagAwardConfig)
|
| | | else if (awardType == ImpactRankModel.ImpactRankAwardType.Target)
|
| | | {
|
| | | if (!_hasData)
|
| | | {
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | var _complete = _playerData.value >= (_cfg as OSCBillTagAwardConfig).Condition;
|
| | | var _complete = _playerData.value >= _billTagCfg.Condition;
|
| | | _cell.unCompleteImg.gameObject.SetActive(!_complete);
|
| | | _cell.getBtn.gameObject.SetActive(_complete);
|
| | | _cell.effect.gameObject.SetActive(_complete);
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | if (_cfg is OSCBillRankAwardConfig)
|
| | | if (awardType == ImpactRankModel.ImpactRankAwardType.Rank)
|
| | | {
|
| | | var _start = (_cfg as OSCBillRankAwardConfig).RankA;
|
| | | var _end = (_cfg as OSCBillRankAwardConfig).RankB;
|
| | | var _start = _billRankCfg.RankA;
|
| | | var _end = _billRankCfg.RankB;
|
| | | var _rank = PlayerDatas.Instance.rank.GetSelfRank((int)model.GetRankType(model.presentSelectType));
|
| | | if (_rank == -1 || _rank < _start || _rank > _end)
|
| | | {
|
| | |
| | | switch (model.presentSelectType)
|
| | | {
|
| | | case 5:
|
| | | if (_cfg is OSCBillRankAwardConfig)
|
| | | switch (awardType)
|
| | | {
|
| | | OSCBillRankAwardConfig _billRankCfg = _cfg as OSCBillRankAwardConfig;
|
| | | if (_billRankCfg.RankA == _billRankCfg.RankB)
|
| | | {
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_condition.limit);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Single_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | }
|
| | | else
|
| | | {
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_condition.limit);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Double_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _billRankCfg.RankB, _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | }
|
| | | }
|
| | | else if (_cfg is OSCBillTagAwardConfig)
|
| | | {
|
| | | OSCBillTagAwardConfig _billTagCfg = _cfg as OSCBillTagAwardConfig;
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_billTagCfg.Condition);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Target_", model.presentSelectType),
|
| | | _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | case ImpactRankModel.ImpactRankAwardType.Rank:
|
| | | {
|
| | | if (_billRankCfg.RankA == _billRankCfg.RankB)
|
| | | {
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_condition.limit);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Single_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | }
|
| | | else
|
| | | {
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_condition.limit);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Double_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _billRankCfg.RankB, _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | }
|
| | | }
|
| | | break;
|
| | | case ImpactRankModel.ImpactRankAwardType.Target:
|
| | | {
|
| | | var _realmCfg = Config.Instance.Get<RealmConfig>(_billTagCfg.Condition);
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Target_", model.presentSelectType),
|
| | | _realmCfg != null ? _realmCfg.Name : string.Empty);
|
| | | }
|
| | | break;
|
| | | }
|
| | | break;
|
| | | default:
|
| | | if (_cfg is OSCBillRankAwardConfig)
|
| | | {
|
| | | OSCBillRankAwardConfig _billRankCfg = _cfg as OSCBillRankAwardConfig;
|
| | | if (_billRankCfg.RankA == _billRankCfg.RankB)
|
| | | switch (awardType)
|
| | | {
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Single_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _condition.limit);
|
| | | case ImpactRankModel.ImpactRankAwardType.Rank:
|
| | | {
|
| | | if (_billRankCfg.RankA == _billRankCfg.RankB)
|
| | | {
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Single_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _condition.limit);
|
| | | }
|
| | | else
|
| | | {
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Double_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _billRankCfg.RankB, _condition.limit);
|
| | | }
|
| | | }
|
| | | break;
|
| | | case ImpactRankModel.ImpactRankAwardType.Target:
|
| | | {
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Target_", model.presentSelectType),
|
| | | _billTagCfg.Condition);
|
| | | }
|
| | | break;
|
| | | }
|
| | | else
|
| | | {
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Double_", model.presentSelectType),
|
| | | _billRankCfg.RankA, _billRankCfg.RankB, _condition.limit);
|
| | | }
|
| | | }
|
| | | else if (_cfg is OSCBillTagAwardConfig)
|
| | | {
|
| | | OSCBillTagAwardConfig _billTagCfg = _cfg as OSCBillTagAwardConfig;
|
| | | _tip = Language.Get(StringUtility.Contact("ImpactRankCellType_Target_", model.presentSelectType),
|
| | | _billTagCfg.Condition);
|
| | | }
|
| | | break;
|
| | | }
|
| | |
| | | _cell.getBtn.onClick.RemoveAllListeners();
|
| | | _cell.getBtn.onClick.AddListener(() =>
|
| | | {
|
| | | OnGetClick(_cfg, _cell.index);
|
| | | if (awardType == ImpactRankModel.ImpactRankAwardType.Target)
|
| | | {
|
| | | OnGetClick(_billTagCfg, _cell.index);
|
| | | }
|
| | | else
|
| | | {
|
| | | OnGetClick(_billRankCfg, _cell.index);
|
| | | }
|
| | | });
|
| | | }
|
| | |
|
| | | private void OnGetClick(ConfigBase _cfg, int index)
|
| | | private void OnGetClick(OSCBillRankAwardConfig _cfg, int index)
|
| | | {
|
| | | var _index = model.GetBillIndex(model.presentSelectType, index);
|
| | | model.SendGetAward(model.presentSelectType, (_cfg is OSCBillRankAwardConfig) ? 1 : 2,
|
| | | (_cfg is OSCBillRankAwardConfig) ? _index : model.GetTagIndex(model.presentSelectType, _index));
|
| | | model.SendGetAward(model.presentSelectType, 1, _index);
|
| | | }
|
| | |
|
| | | private void OnGetClick(OSCBillTagAwardConfig _cfg, int index)
|
| | | {
|
| | | var _index = model.GetBillIndex(model.presentSelectType, index);
|
| | | model.SendGetAward(model.presentSelectType, 2, model.GetTagIndex(model.presentSelectType, _index));
|
| | | }
|
| | |
|
| | | private void OnViewRank()
|