c1_unity/Assets/XLua/Gen/BF_BattleMonsterDataWrap.cs
2023-04-03 11:04:31 +08:00

1137 lines
46 KiB
C#

#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 BFBattleMonsterDataWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(BF.BattleMonsterData);
Utils.BeginObjectRegister(type, L, translator, 0, 1, 33, 33);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetEmptyDropList", _m_TryGetEmptyDropList);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsInit", _g_get_IsInit);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Res", _g_get_Res);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CollisionRadius", _g_get_CollisionRadius);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Hp", _g_get_Hp);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Atk", _g_get_Atk);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Spd", _g_get_Spd);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CD", _g_get_CD);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HitBackResist", _g_get_HitBackResist);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ModelScale", _g_get_ModelScale);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpId", _g_get_ExpId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpValue", _g_get_ExpValue);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ExpProbability", _g_get_ExpProbability);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MonsterType", _g_get_MonsterType);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsHitBack", _g_get_IsHitBack);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActionType", _g_get_ActionType);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActionValue1", _g_get_ActionValue1);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActionValue2", _g_get_ActionValue2);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActiveSkillId", _g_get_ActiveSkillId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActiveSkillCD", _g_get_ActiveSkillCD);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActiveSkillCDStart", _g_get_ActiveSkillCDStart);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SpecialMonster", _g_get_SpecialMonster);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "AttackFormula", _g_get_AttackFormula);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BeAttackedFormula", _g_get_BeAttackedFormula);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreSlow", _g_get_IgnoreSlow);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreIce", _g_get_IgnoreIce);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreAirborne", _g_get_IgnoreAirborne);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreAdsorb", _g_get_IgnoreAdsorb);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreStagnate", _g_get_IgnoreStagnate);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreFear", _g_get_IgnoreFear);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IgnoreReduceHp", _g_get_IgnoreReduceHp);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "TriggerDeadSkillId", _g_get_TriggerDeadSkillId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DropItemProbability", _g_get_DropItemProbability);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DropList", _g_get_DropList);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsInit", _s_set_IsInit);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Res", _s_set_Res);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CollisionRadius", _s_set_CollisionRadius);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Hp", _s_set_Hp);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Atk", _s_set_Atk);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Spd", _s_set_Spd);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CD", _s_set_CD);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HitBackResist", _s_set_HitBackResist);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ModelScale", _s_set_ModelScale);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ExpId", _s_set_ExpId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ExpValue", _s_set_ExpValue);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ExpProbability", _s_set_ExpProbability);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "MonsterType", _s_set_MonsterType);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsHitBack", _s_set_IsHitBack);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActionType", _s_set_ActionType);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActionValue1", _s_set_ActionValue1);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActionValue2", _s_set_ActionValue2);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActiveSkillId", _s_set_ActiveSkillId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActiveSkillCD", _s_set_ActiveSkillCD);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActiveSkillCDStart", _s_set_ActiveSkillCDStart);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SpecialMonster", _s_set_SpecialMonster);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "AttackFormula", _s_set_AttackFormula);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BeAttackedFormula", _s_set_BeAttackedFormula);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreSlow", _s_set_IgnoreSlow);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreIce", _s_set_IgnoreIce);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreAirborne", _s_set_IgnoreAirborne);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreAdsorb", _s_set_IgnoreAdsorb);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreStagnate", _s_set_IgnoreStagnate);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreFear", _s_set_IgnoreFear);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IgnoreReduceHp", _s_set_IgnoreReduceHp);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "TriggerDeadSkillId", _s_set_TriggerDeadSkillId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "DropItemProbability", _s_set_DropItemProbability);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "DropList", _s_set_DropList);
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)
{
var gen_ret = new BF.BattleMonsterData();
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 BF.BattleMonsterData constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_TryGetEmptyDropList(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
{
var gen_ret = gen_to_be_invoked.TryGetEmptyDropList( );
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_IsInit(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsInit);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_Res(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.Res);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_CollisionRadius(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.CollisionRadius);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_Hp(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushint64(L, gen_to_be_invoked.Hp);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_Atk(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushint64(L, gen_to_be_invoked.Atk);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_Spd(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Spd);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_CD(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.CD);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_HitBackResist(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.HitBackResist);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ModelScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.ModelScale);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ExpId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExpId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ExpValue(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExpValue);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ExpProbability(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ExpProbability);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_MonsterType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MonsterType);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IsHitBack(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsHitBack);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActionType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ActionType);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActionValue1(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ActionValue1);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActionValue2(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ActionValue2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActiveSkillId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ActiveSkillId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActiveSkillCD(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.ActiveSkillCD);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_ActiveSkillCDStart(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.ActiveSkillCDStart);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_SpecialMonster(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SpecialMonster);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_AttackFormula(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.AttackFormula);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_BeAttackedFormula(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.BeAttackedFormula);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreSlow(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreSlow);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreIce(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreIce);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreAirborne(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreAirborne);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreAdsorb(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreAdsorb);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreStagnate(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreStagnate);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreFear(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreFear);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_IgnoreReduceHp(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IgnoreReduceHp);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_TriggerDeadSkillId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.TriggerDeadSkillId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_DropItemProbability(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DropItemProbability);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_DropList(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
translator.Push(L, gen_to_be_invoked.DropList);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IsInit(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IsInit = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_Res(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.Res = LuaAPI.lua_tostring(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_CollisionRadius(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.CollisionRadius = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_Hp(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.Hp = LuaAPI.lua_toint64(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_Atk(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.Atk = LuaAPI.lua_toint64(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_Spd(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.Spd = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_CD(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.CD = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_HitBackResist(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.HitBackResist = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ModelScale(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ModelScale = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ExpId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ExpId = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ExpValue(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ExpValue = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ExpProbability(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ExpProbability = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_MonsterType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.MonsterType = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IsHitBack(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IsHitBack = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActionType(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActionType = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActionValue1(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActionValue1 = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActionValue2(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActionValue2 = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActiveSkillId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActiveSkillId = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActiveSkillCD(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActiveSkillCD = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_ActiveSkillCDStart(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.ActiveSkillCDStart = (float)LuaAPI.lua_tonumber(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_SpecialMonster(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.SpecialMonster = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_AttackFormula(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.AttackFormula = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_BeAttackedFormula(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.BeAttackedFormula = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreSlow(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreSlow = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreIce(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreIce = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreAirborne(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreAirborne = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreAdsorb(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreAdsorb = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreStagnate(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreStagnate = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreFear(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreFear = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_IgnoreReduceHp(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.IgnoreReduceHp = LuaAPI.lua_toboolean(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_TriggerDeadSkillId(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.TriggerDeadSkillId = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_DropItemProbability(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.DropItemProbability = LuaAPI.xlua_tointeger(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_DropList(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
BF.BattleMonsterData gen_to_be_invoked = (BF.BattleMonsterData)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.DropList = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}