static int get_slot(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.ActionData obj = (DragonBones.ActionData)o; DragonBones.SlotData ret = obj.slot; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index slot on a nil value" : e.Message)); } }
static int set_animationConfig(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); DragonBones.ActionData obj = (DragonBones.ActionData)o; DragonBones.AnimationConfig arg0 = (DragonBones.AnimationConfig)ToLua.CheckObject(L, 2, typeof(DragonBones.AnimationConfig)); obj.animationConfig = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index animationConfig on a nil value" : e.Message)); } }
static int _CreateDragonBones_ActionData(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 0) { DragonBones.ActionData obj = new DragonBones.ActionData(); ToLua.PushObject(L, obj); return(1); } else { return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: DragonBones.ActionData.New")); } } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
/** * @private */ internal void _bufferAction(ActionData value) { _actions.Add(value); }
/// <private/> internal void AddAction(ActionData value) { this.actions.Add(value); }