static int AttackableTumble(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1 && TypeChecker.CheckTypes(L, typeof(Logic.Skill.Model.SkillData))) { Logic.Skill.Model.SkillData arg0 = (Logic.Skill.Model.SkillData)ToLua.ToObject(L, 1); bool o = Logic.Skill.SkillUtil.AttackableTumble(arg0); LuaDLL.lua_pushboolean(L, o); return(1); } else if (count == 1 && TypeChecker.CheckTypes(L, typeof(Logic.Skill.Model.SkillInfo))) { Logic.Skill.Model.SkillInfo arg0 = (Logic.Skill.Model.SkillInfo)ToLua.ToObject(L, 1); bool o = Logic.Skill.SkillUtil.AttackableTumble(arg0); LuaDLL.lua_pushboolean(L, o); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to method: Logic.Skill.SkillUtil.AttackableTumble")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GetSkillDataById(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); uint arg0 = (uint)LuaDLL.luaL_checknumber(L, 1); Logic.Skill.Model.SkillData o = Logic.Skill.Model.SkillData.GetSkillDataById(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_desTypeIconName2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; string arg0 = ToLua.CheckString(L, 2); obj.desTypeIconName2 = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index desTypeIconName2 on a nil value" : e.Message)); } }
static int get_tumbleable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; bool ret = obj.tumbleable; LuaDLL.lua_pushboolean(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tumbleable on a nil value" : e.Message)); } }
static int get_cameraLength(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; float ret = obj.cameraLength; LuaDLL.lua_pushnumber(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index cameraLength on a nil value" : e.Message)); } }
static int set_skillData(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillInfo obj = (Logic.Skill.Model.SkillInfo)o; Logic.Skill.Model.SkillData arg0 = (Logic.Skill.Model.SkillData)ToLua.CheckObject(L, 2, typeof(Logic.Skill.Model.SkillData)); obj.skillData = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index skillData on a nil value" : e.Message)); } }
static int get_attackableType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; Logic.Enums.AttackableType ret = obj.attackableType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index attackableType on a nil value" : e.Message)); } }
static int set_mechanicsValues(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.List <System.Collections.Generic.List <Triple <float, float, float> > > arg0 = (System.Collections.Generic.List <System.Collections.Generic.List <Triple <float, float, float> > >)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <System.Collections.Generic.List <Triple <float, float, float> > >)); obj.mechanicsValues = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index mechanicsValues on a nil value" : e.Message)); } }
static int get_timeline(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.Dictionary <float, System.Collections.Generic.List <uint> > ret = obj.timeline; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index timeline on a nil value" : e.Message)); } }
static int get_aoeEffects(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; uint[] ret = obj.aoeEffects; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index aoeEffects on a nil value" : e.Message)); } }
static int get_desTypeIconName2(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; string ret = obj.desTypeIconName2; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index desTypeIconName2 on a nil value" : e.Message)); } }
static int set_AttackableInt(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; int arg0 = (int)LuaDLL.luaL_checknumber(L, 2); obj.AttackableInt = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index AttackableInt on a nil value" : e.Message)); } }
static int set_tumbleable(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; bool arg0 = LuaDLL.luaL_checkboolean(L, 2); obj.tumbleable = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tumbleable on a nil value" : e.Message)); } }
static int set_audioIds(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.List <int> arg0 = (System.Collections.Generic.List <int>)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.List <int>)); obj.audioIds = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index audioIds on a nil value" : e.Message)); } }
static int set_aoeEffects(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; uint[] arg0 = ToLua.CheckNumberArray <uint>(L, 2); obj.aoeEffects = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index aoeEffects on a nil value" : e.Message)); } }
static int get_mechanicsValues(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.List <System.Collections.Generic.List <Triple <float, float, float> > > ret = obj.mechanicsValues; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index mechanicsValues on a nil value" : e.Message)); } }
static int set_timeline(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.Dictionary <float, System.Collections.Generic.List <uint> > arg0 = (System.Collections.Generic.Dictionary <float, System.Collections.Generic.List <uint> >)ToLua.CheckObject(L, 2, typeof(System.Collections.Generic.Dictionary <float, System.Collections.Generic.List <uint> >)); obj.timeline = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index timeline on a nil value" : e.Message)); } }
static int get_audioIds(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; System.Collections.Generic.List <int> ret = obj.audioIds; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index audioIds on a nil value" : e.Message)); } }
static int set_attackableType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; Logic.Enums.AttackableType arg0 = (Logic.Enums.AttackableType)ToLua.CheckObject(L, 2, typeof(Logic.Enums.AttackableType)); obj.attackableType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index attackableType on a nil value" : e.Message)); } }
static int set_bootTime(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillData obj = (Logic.Skill.Model.SkillData)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.bootTime = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index bootTime on a nil value" : e.Message)); } }
static int get_skillData(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Logic.Skill.Model.SkillInfo obj = (Logic.Skill.Model.SkillInfo)o; Logic.Skill.Model.SkillData ret = obj.skillData; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index skillData on a nil value" : e.Message)); } }
static int _CreateLogic_Skill_Model_SkillData(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { Logic.Skill.Model.SkillData obj = new Logic.Skill.Model.SkillData(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Logic.Skill.Model.SkillData.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }