1850 lines
77 KiB
C#
1850 lines
77 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 BFBattleSkillDataWrap
|
|
{
|
|
public static void __Register(RealStatePtr L)
|
|
{
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
System.Type type = typeof(BF.BattleSkillData);
|
|
Utils.BeginObjectRegister(type, L, translator, 0, 1, 56, 56);
|
|
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetEmptySpecialFxParams", _m_TryGetEmptySpecialFxParams);
|
|
|
|
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsInit", _g_get_IsInit);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SkillId", _g_get_SkillId);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Res", _g_get_Res);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DirectionType", _g_get_DirectionType);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletCount", _g_get_BulletCount);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitBulletCount", _g_get_WithUnitBulletCount);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Diffusion", _g_get_Diffusion);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Kind", _g_get_Kind);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletSpeed", _g_get_BulletSpeed);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitBulletSpeed", _g_get_WithUnitBulletSpeed);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MaxHitCount", _g_get_MaxHitCount);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitBulletHitCount", _g_get_WithUnitBulletHitCount);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "UnlimitedHitCount", _g_get_UnlimitedHitCount);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CollisionType", _g_get_CollisionType);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseCollisionRadius", _g_get_BaseCollisionRadius);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CollisionRadius", _g_get_CollisionRadius);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseCollisionWidth", _g_get_BaseCollisionWidth);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CollisionWidth", _g_get_CollisionWidth);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BaseCollisionHeight", _g_get_BaseCollisionHeight);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "CollisionHeight", _g_get_CollisionHeight);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Lifetime", _g_get_Lifetime);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Forever", _g_get_Forever);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitBulletLifetime", _g_get_WithUnitBulletLifetime);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Range", _g_get_Range);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "AtkDistance", _g_get_AtkDistance);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitBulletRange", _g_get_WithUnitBulletRange);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WithUnitSkillCD", _g_get_WithUnitSkillCD);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsFloor", _g_get_IsFloor);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectInterval", _g_get_EffectInterval);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "EffectDelay", _g_get_EffectDelay);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HurtFactor", _g_get_HurtFactor);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletSendInterval", _g_get_BulletSendInterval);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletSoundID", _g_get_BulletSoundID);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletSoundDelay", _g_get_BulletSoundDelay);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletFxDelay", _g_get_BulletFxDelay);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HitBack", _g_get_HitBack);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "WorkTime", _g_get_WorkTime);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ControlType", _g_get_ControlType);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ControlParam", _g_get_ControlParam);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ControlDuration", _g_get_ControlDuration);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "TargetEffect", _g_get_TargetEffect);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "TargetEffectValue", _g_get_TargetEffectValue);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "TargetEffectTime", _g_get_TargetEffectTime);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SkillSub", _g_get_SkillSub);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SkillSubTrigger", _g_get_SkillSubTrigger);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SkillSubTriggerValue", _g_get_SkillSubTriggerValue);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "BulletShootHeight", _g_get_BulletShootHeight);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HurtExtraType", _g_get_HurtExtraType);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HurtExtraValue", _g_get_HurtExtraValue);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "HurtSpecial", _g_get_HurtSpecial);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "OffsetX", _g_get_OffsetX);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "OffsetY", _g_get_OffsetY);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "OffsetZ", _g_get_OffsetZ);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SpecialFx", _g_get_SpecialFx);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsSpecialFxFloor", _g_get_IsSpecialFxFloor);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SpecialFxParams", _g_get_SpecialFxParams);
|
|
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsInit", _s_set_IsInit);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SkillId", _s_set_SkillId);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Res", _s_set_Res);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "DirectionType", _s_set_DirectionType);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletCount", _s_set_BulletCount);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitBulletCount", _s_set_WithUnitBulletCount);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Diffusion", _s_set_Diffusion);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Kind", _s_set_Kind);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletSpeed", _s_set_BulletSpeed);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitBulletSpeed", _s_set_WithUnitBulletSpeed);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "MaxHitCount", _s_set_MaxHitCount);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitBulletHitCount", _s_set_WithUnitBulletHitCount);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "UnlimitedHitCount", _s_set_UnlimitedHitCount);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CollisionType", _s_set_CollisionType);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BaseCollisionRadius", _s_set_BaseCollisionRadius);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CollisionRadius", _s_set_CollisionRadius);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BaseCollisionWidth", _s_set_BaseCollisionWidth);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CollisionWidth", _s_set_CollisionWidth);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BaseCollisionHeight", _s_set_BaseCollisionHeight);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "CollisionHeight", _s_set_CollisionHeight);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Lifetime", _s_set_Lifetime);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Forever", _s_set_Forever);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitBulletLifetime", _s_set_WithUnitBulletLifetime);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Range", _s_set_Range);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "AtkDistance", _s_set_AtkDistance);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitBulletRange", _s_set_WithUnitBulletRange);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WithUnitSkillCD", _s_set_WithUnitSkillCD);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsFloor", _s_set_IsFloor);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "EffectInterval", _s_set_EffectInterval);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "EffectDelay", _s_set_EffectDelay);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HurtFactor", _s_set_HurtFactor);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletSendInterval", _s_set_BulletSendInterval);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletSoundID", _s_set_BulletSoundID);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletSoundDelay", _s_set_BulletSoundDelay);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletFxDelay", _s_set_BulletFxDelay);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HitBack", _s_set_HitBack);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "WorkTime", _s_set_WorkTime);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ControlType", _s_set_ControlType);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ControlParam", _s_set_ControlParam);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ControlDuration", _s_set_ControlDuration);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "TargetEffect", _s_set_TargetEffect);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "TargetEffectValue", _s_set_TargetEffectValue);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "TargetEffectTime", _s_set_TargetEffectTime);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SkillSub", _s_set_SkillSub);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SkillSubTrigger", _s_set_SkillSubTrigger);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SkillSubTriggerValue", _s_set_SkillSubTriggerValue);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "BulletShootHeight", _s_set_BulletShootHeight);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HurtExtraType", _s_set_HurtExtraType);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HurtExtraValue", _s_set_HurtExtraValue);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "HurtSpecial", _s_set_HurtSpecial);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "OffsetX", _s_set_OffsetX);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "OffsetY", _s_set_OffsetY);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "OffsetZ", _s_set_OffsetZ);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SpecialFx", _s_set_SpecialFx);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsSpecialFxFloor", _s_set_IsSpecialFxFloor);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SpecialFxParams", _s_set_SpecialFxParams);
|
|
|
|
|
|
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.BattleSkillData();
|
|
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.BattleSkillData constructor!");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_TryGetEmptySpecialFxParams(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = gen_to_be_invoked.TryGetEmptySpecialFxParams( );
|
|
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.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_SkillId(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SkillId);
|
|
} 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.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_DirectionType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DirectionType);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.BulletCount);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitBulletCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitBulletCount);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_Diffusion(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Diffusion);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_Kind(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Kind);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletSpeed(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BulletSpeed);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitBulletSpeed(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitBulletSpeed);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_MaxHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MaxHitCount);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitBulletHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitBulletHitCount);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_UnlimitedHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.UnlimitedHitCount);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_CollisionType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.CollisionType);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BaseCollisionRadius(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BaseCollisionRadius);
|
|
} 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.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_BaseCollisionWidth(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BaseCollisionWidth);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_CollisionWidth(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.CollisionWidth);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BaseCollisionHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BaseCollisionHeight);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_CollisionHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.CollisionHeight);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_Lifetime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Lifetime);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_Forever(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.Forever);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitBulletLifetime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitBulletLifetime);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_Range(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.Range);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_AtkDistance(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.AtkDistance);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitBulletRange(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitBulletRange);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WithUnitSkillCD(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.WithUnitSkillCD);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_IsFloor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsFloor);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_EffectInterval(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.EffectInterval);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_EffectDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.EffectDelay);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_HurtFactor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.HurtFactor);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletSendInterval(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BulletSendInterval);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletSoundID(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.BulletSoundID);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletSoundDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BulletSoundDelay);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletFxDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BulletFxDelay);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_HitBack(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.HitBack);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_WorkTime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.WorkTime);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_ControlType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ControlType);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_ControlParam(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ControlParam);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_ControlDuration(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.ControlDuration);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_TargetEffect(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.TargetEffect);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_TargetEffectValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.TargetEffectValue);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_TargetEffectTime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.TargetEffectTime);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_SkillSub(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SkillSub);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_SkillSubTrigger(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SkillSubTrigger);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_SkillSubTriggerValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SkillSubTriggerValue);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_BulletShootHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.BulletShootHeight);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_HurtExtraType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.HurtExtraType);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_HurtExtraValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.HurtExtraValue);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_HurtSpecial(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.HurtSpecial);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_OffsetX(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.OffsetX);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_OffsetY(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.OffsetY);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_OffsetZ(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.OffsetZ);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_SpecialFx(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.SpecialFx);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_IsSpecialFxFloor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsSpecialFxFloor);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_SpecialFxParams(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
translator.Push(L, gen_to_be_invoked.SpecialFxParams);
|
|
} 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.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_SkillId(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SkillId = 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_Res(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_DirectionType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.DirectionType = 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_BulletCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletCount = 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_WithUnitBulletCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitBulletCount = 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_Diffusion(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.Diffusion = 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_Kind(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.Kind = 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_BulletSpeed(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletSpeed = (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_WithUnitBulletSpeed(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitBulletSpeed = 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_MaxHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.MaxHitCount = 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_WithUnitBulletHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitBulletHitCount = 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_UnlimitedHitCount(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.UnlimitedHitCount = 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_CollisionType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.CollisionType = 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_BaseCollisionRadius(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BaseCollisionRadius = (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_CollisionRadius(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)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_BaseCollisionWidth(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BaseCollisionWidth = (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_CollisionWidth(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.CollisionWidth = (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_BaseCollisionHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BaseCollisionHeight = (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_CollisionHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.CollisionHeight = (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_Lifetime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.Lifetime = (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_Forever(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.Forever = 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_WithUnitBulletLifetime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitBulletLifetime = 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_Range(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.Range = (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_AtkDistance(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.AtkDistance = (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_WithUnitBulletRange(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitBulletRange = 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_WithUnitSkillCD(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WithUnitSkillCD = 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_IsFloor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.IsFloor = 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_EffectInterval(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.EffectInterval = (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_EffectDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.EffectDelay = (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_HurtFactor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.HurtFactor = 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_BulletSendInterval(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletSendInterval = (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_BulletSoundID(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletSoundID = 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_BulletSoundDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletSoundDelay = (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_BulletFxDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletFxDelay = (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_HitBack(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.HitBack = (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_WorkTime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.WorkTime = 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_ControlType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.ControlType = 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_ControlParam(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.ControlParam = 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_ControlDuration(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.ControlDuration = (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_TargetEffect(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.TargetEffect = 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_TargetEffectValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.TargetEffectValue = 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_TargetEffectTime(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.TargetEffectTime = (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_SkillSub(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SkillSub = 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_SkillSubTrigger(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SkillSubTrigger = 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_SkillSubTriggerValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SkillSubTriggerValue = 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_BulletShootHeight(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.BulletShootHeight = (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_HurtExtraType(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.HurtExtraType = 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_HurtExtraValue(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.HurtExtraValue = 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_HurtSpecial(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.HurtSpecial = 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_OffsetX(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.OffsetX = (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_OffsetY(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.OffsetY = (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_OffsetZ(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.OffsetZ = (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_SpecialFx(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SpecialFx = 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_IsSpecialFxFloor(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.IsSpecialFxFloor = 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_SpecialFxParams(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
BF.BattleSkillData gen_to_be_invoked = (BF.BattleSkillData)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.SpecialFxParams = (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;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|