static public int RemoveAll(IntPtr l) { try { System.Collections.Generic.List <UnityEngine.CombineInstance> self = (System.Collections.Generic.List <UnityEngine.CombineInstance>)checkSelf(l); System.Predicate <UnityEngine.CombineInstance> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.RemoveAll(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int DebugPoolCount(IntPtr l) { try { GameFramework.ClientConcurrentActionProcessor self = (GameFramework.ClientConcurrentActionProcessor)checkSelf(l); GameFramework.MyAction <System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.DebugPoolCount(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Sort(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 1) { System.Collections.Generic.List <System.Int32> self = (System.Collections.Generic.List <System.Int32>)checkSelf(l); self.Sort(); pushValue(l, true); return(1); } else if (matchType(l, argc, 2, typeof(System.Comparison <System.Int32>))) { System.Collections.Generic.List <System.Int32> self = (System.Collections.Generic.List <System.Int32>)checkSelf(l); System.Comparison <System.Int32> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.Sort(a1); pushValue(l, true); return(1); } else if (matchType(l, argc, 2, typeof(IComparer <System.Int32>))) { System.Collections.Generic.List <System.Int32> self = (System.Collections.Generic.List <System.Int32>)checkSelf(l); System.Collections.Generic.IComparer <System.Int32> a1; checkType(l, 2, out a1); self.Sort(a1); pushValue(l, true); return(1); } else if (argc == 4) { System.Collections.Generic.List <System.Int32> self = (System.Collections.Generic.List <System.Int32>)checkSelf(l); System.Int32 a1; checkType(l, 2, out a1); System.Int32 a2; checkType(l, 3, out a2); System.Collections.Generic.IComparer <System.Int32> a3; checkType(l, 4, out a3); self.Sort(a1, a2, a3); pushValue(l, true); return(1); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int QueueAction(IntPtr l) { try { GameFramework.MyClientThread self = (GameFramework.MyClientThread)checkSelf(l); GameFramework.MyAction a1; LuaDelegation.checkDelegate(l, 2, out a1); self.QueueAction(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int ForEach(IntPtr l) { try { StrList self = (StrList)checkSelf(l); System.Action <System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.ForEach(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int RequestAdvertisingIdentifierAsync_s(IntPtr l) { try { UnityEngine.Application.AdvertisingIdentifierCallback a1; LuaDelegation.checkDelegate(l, 1, out a1); var ret = UnityEngine.Application.RequestAdvertisingIdentifierAsync(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int VisitProperties(IntPtr l) { try { SkillSystem.IPropertyVisitor self = (SkillSystem.IPropertyVisitor)checkSelf(l); SkillSystem.VisitPropertyDelegation a1; LuaDelegation.checkDelegate(l, 2, out a1); self.VisitProperties(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int AddListener(IntPtr l) { try { UnityEngine.UI.Dropdown.DropdownEvent self = (UnityEngine.UI.Dropdown.DropdownEvent)checkSelf(l); UnityEngine.Events.UnityAction <System.Int32> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.AddListener(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int FindLast(IntPtr l) { try { System.Collections.Generic.List <UnityEngine.Vector2> self = (System.Collections.Generic.List <UnityEngine.Vector2>)checkSelf(l); System.Predicate <UnityEngine.Vector2> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.FindLast(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int getFunc_s(IntPtr l) { try { System.Func <System.Int32, System.String, System.Boolean> a1; LuaDelegation.checkDelegate(l, 1, out a1); var ret = Deleg.getFunc(a1); pushValue(l, true); pushValue(l, ret); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int DebugThreadActionCount(IntPtr l) { try { GameFramework.MyClientTashDispatcher self = (GameFramework.MyClientTashDispatcher)checkSelf(l); GameFramework.MyAction <System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.DebugThreadActionCount(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int Remove(IntPtr l) { try { FairyGUI.Timers self = (FairyGUI.Timers)checkSelf(l); FairyGUI.TimerCallback a1; LuaDelegation.checkDelegate(l, 2, out a1); self.Remove(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int createModelTest_s(IntPtr l) { try { player.PlayerManager self = player.PlayerManager.getInstance(); player.PlayerDelegate.onPlayerEvent a1; LuaDelegation.checkDelegate(l, 2, out a1); self.createModelTest(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int SetGlobalImportFunction(IntPtr l) { try { MyLuaSrv self = (MyLuaSrv)checkSelf(l); System.Func <System.String, System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.SetGlobalImportFunction(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int VisitTreeWithFunc(IntPtr l) { try { GameFramework.KdObjectTree self = (GameFramework.KdObjectTree)checkSelf(l); GameFramework.MyFunc <System.Single, System.Single, System.Single, System.Single, System.Int32, System.Int32, GameFramework.KdTreeObject[], System.Boolean> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.VisitTreeWithFunc(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int DeserializeItems(IntPtr l) { try { int argc = LuaDLL.lua_gettop(l); if (argc == 6) { ProtoBuf.Meta.TypeModel self = (ProtoBuf.Meta.TypeModel)checkSelf(l); System.IO.Stream a1; checkType(l, 2, out a1); System.Type a2; checkType(l, 3, out a2); ProtoBuf.PrefixStyle a3; checkEnum(l, 4, out a3); System.Int32 a4; checkType(l, 5, out a4); ProtoBuf.Serializer.TypeResolver a5; LuaDelegation.checkDelegate(l, 6, out a5); var ret = self.DeserializeItems(a1, a2, a3, a4, a5); pushValue(l, true); pushValue(l, ret); return(2); } else if (argc == 7) { ProtoBuf.Meta.TypeModel self = (ProtoBuf.Meta.TypeModel)checkSelf(l); System.IO.Stream a1; checkType(l, 2, out a1); System.Type a2; checkType(l, 3, out a2); ProtoBuf.PrefixStyle a3; checkEnum(l, 4, out a3); System.Int32 a4; checkType(l, 5, out a4); ProtoBuf.Serializer.TypeResolver a5; LuaDelegation.checkDelegate(l, 6, out a5); ProtoBuf.SerializationContext a6; checkType(l, 7, out a6); var ret = self.DeserializeItems(a1, a2, a3, a4, a5, a6); pushValue(l, true); pushValue(l, ret); return(2); } pushValue(l, false); LuaDLL.lua_pushstring(l, "No matched override function to call"); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int RemoveListener(IntPtr l) { try { UnityEngine.UI.MaskableGraphic.CullStateChangedEvent self = (UnityEngine.UI.MaskableGraphic.CullStateChangedEvent)checkSelf(l); UnityEngine.Events.UnityAction <System.Boolean> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.RemoveListener(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int RemoveListener(IntPtr l) { try { UnityEngine.Events.UnityEvent self = (UnityEngine.Events.UnityEvent)checkSelf(l); UnityEngine.Events.UnityAction a1; LuaDelegation.checkDelegate(l, 2, out a1); self.RemoveListener(a1); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }
static public int setDestroy(IntPtr l) { try { XGOIntKeyPool self = (XGOIntKeyPool)checkSelf(l); XGOIntKeyPool.XPoolObjDestroy a1; LuaDelegation.checkDelegate(l, 2, out a1); self.setDestroy(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int RemoveListener(IntPtr l) { try { UnityEngine.UI.InputField.SubmitEvent self = (UnityEngine.UI.InputField.SubmitEvent)checkSelf(l); UnityEngine.Events.UnityAction <System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.RemoveListener(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int TrueForAll(IntPtr l) { try { System.Collections.Generic.List <System.String> self = (System.Collections.Generic.List <System.String>)checkSelf(l); System.Predicate <System.String> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.TrueForAll(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int ForEach(IntPtr l) { try { System.Collections.Generic.List <System.Int32> self = (System.Collections.Generic.List <System.Int32>)checkSelf(l); System.Action <System.Int32> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.ForEach(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int onInit(IntPtr l) { try { GoTweenCollectionConfig self = (GoTweenCollectionConfig)checkSelf(l); System.Action <AbstractGoTween> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.onInit(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int UnregisterDirtyMaterialCallback(IntPtr l) { try { UnityEngine.UI.Graphic self = (UnityEngine.UI.Graphic)checkSelf(l); UnityEngine.Events.UnityAction a1; LuaDelegation.checkDelegate(l, 2, out a1); self.UnregisterDirtyMaterialCallback(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int TrueForAll(IntPtr l) { try { System.Collections.Generic.List <UnityEngine.EventSystems.EventTrigger.Entry> self = (System.Collections.Generic.List <UnityEngine.EventSystems.EventTrigger.Entry>)checkSelf(l); System.Predicate <UnityEngine.EventSystems.EventTrigger.Entry> a1; LuaDelegation.checkDelegate(l, 2, out a1); var ret = self.TrueForAll(a1); pushValue(l, ret); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int RemoveListener(IntPtr l) { try { UnityEngine.EventSystems.EventTrigger.TriggerEvent self = (UnityEngine.EventSystems.EventTrigger.TriggerEvent)checkSelf(l); UnityEngine.Events.UnityAction <UnityEngine.EventSystems.BaseEventData> a1; LuaDelegation.checkDelegate(l, 2, out a1); self.RemoveListener(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
// Token: 0x0600370D RID: 14093 RVA: 0x000F52B4 File Offset: 0x000F34B4 public List <ConfigDataSkillInfo> GetTrainingTechSoldierSkillInfos(IConfigDataLoader configDataLoader, ConfigDataSoldierInfo soldierInfo, out int soldierSkillLevelUp) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_GetTrainingTechSoldierSkillInfosIConfigDataLoaderConfigDataSoldierInfoInt32__hotfix != null) { return(LuaDelegation.Lua_BlackJack_ProjectL_Battle_BattlePlayer_GetTrainingTechSoldierSkillInfos_IConfigDataLoader_ConfigDataSoldierInfo_Int32(this, this.m_GetTrainingTechSoldierSkillInfosIConfigDataLoaderConfigDataSoldierInfoInt32__hotfix, configDataLoader, soldierInfo, out soldierSkillLevelUp)); } BJLuaObjHelper.IsSkipLuaHotfix = false; List <ConfigDataSkillInfo> list = new List <ConfigDataSkillInfo>(); soldierSkillLevelUp = 0; if (this.TrainingTechs == null || soldierInfo == null) { return(list); } foreach (BattlePlayerTrainingTech battlePlayerTrainingTech in this.TrainingTechs) { ConfigDataTrainingTechInfo trainingTechInfo = battlePlayerTrainingTech.TrainingTechInfo; if (!trainingTechInfo.IsSummon) { if (trainingTechInfo.SoldierIDRelated.Contains(soldierInfo.ID) || trainingTechInfo.ArmyIDRelated.Contains(soldierInfo.Army_ID)) { int num = 0; int num2 = 0; while (num2 < battlePlayerTrainingTech.Level && num2 < trainingTechInfo.m_techLevelupInfo.Count) { ConfigDataTrainingTechLevelInfo configDataTrainingTechLevelInfo = trainingTechInfo.m_techLevelupInfo[num2]; if (configDataTrainingTechLevelInfo.SoldierSkillID != 0) { num = configDataTrainingTechLevelInfo.SoldierSkillID; } if (configDataTrainingTechLevelInfo.SoldierSkillLevelup > soldierSkillLevelUp) { soldierSkillLevelUp = configDataTrainingTechLevelInfo.SoldierSkillLevelup; } num2++; } if (num != 0) { ConfigDataSkillInfo configDataSkillInfo = configDataLoader.GetConfigDataSkillInfo(num); if (configDataSkillInfo != null) { list.Add(configDataSkillInfo); } } } } } return(list); }
static public int ctor_s(IntPtr l) { try { UnityEngine.WaitWhile o; System.Func <System.Boolean> a1; LuaDelegation.checkDelegate(l, 1, out a1); o = new UnityEngine.WaitWhile(a1); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int RemoveListener2_s(IntPtr l) { try { System.String a1; checkType(l, 1, out a1); Callback <System.Object> a2; LuaDelegation.checkDelegate(l, 2, out a2); API.RemoveListener2(a1, a2); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static public int SetLinkCallback(IntPtr l) { try { UnityEngine.UI.Text_Extend self = (UnityEngine.UI.Text_Extend)checkSelf(l); System.String a1; checkType(l, 2, out a1); System.Action <System.String> a2; LuaDelegation.checkDelegate(l, 3, out a2); self.SetLinkCallback(a1, a2); return(0); } catch (Exception e) { return(error(l, e)); } }