#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 PreFightMissionWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(PreFightMission);
|
Utils.BeginObjectRegister(type, L, translator, 0, 15, 12, 11);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "PreLoad", _m_PreLoad);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "HandleNewPlayerMission", _m_HandleNewPlayerMission);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "HandleUpdatePackage", _m_HandleUpdatePackage);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Start", _m_Start);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GeneralRefreshNpc", _m_GeneralRefreshNpc);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GeneralCreateImpasse", _m_GeneralCreateImpasse);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsFinished", _m_IsFinished);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Update", _m_Update);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Step_Boss_SkillShow", _m_Step_Boss_SkillShow);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Step_FabaoEffect", _m_Step_FabaoEffect);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Step_StartScale", _m_Step_StartScale);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Step_4_BossKilled", _m_Step_4_BossKilled);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Step_4_TransferFinished", _m_Step_4_TransferFinished);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Destroy", _m_Destroy);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Create8SmallBoss", _m_Create8SmallBoss);
|
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SpecialGuideId", _g_get_SpecialGuideId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsHandleMissionState", _g_get_IsHandleMissionState);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "faBaoSkillShow", _g_get_faBaoSkillShow);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_HuaShouEffect", _g_get_m_HuaShouEffect);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "IsHeroCanCastSkill", _g_get_IsHeroCanCastSkill);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "updateAI", _g_get_updateAI);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "needCreate1002", _g_get_needCreate1002);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "s_MissionDict", _g_get_s_MissionDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "missionNpcDict", _g_get_missionNpcDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "refreshNpcHandlerList", _g_get_refreshNpcHandlerList);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "s_MissionImpasseDict", _g_get_s_MissionImpasseDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "OnFinishedBossSkillShow", _g_get_OnFinishedBossSkillShow);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsHandleMissionState", _s_set_IsHandleMissionState);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "faBaoSkillShow", _s_set_faBaoSkillShow);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "m_HuaShouEffect", _s_set_m_HuaShouEffect);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "IsHeroCanCastSkill", _s_set_IsHeroCanCastSkill);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "updateAI", _s_set_updateAI);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "needCreate1002", _s_set_needCreate1002);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "s_MissionDict", _s_set_s_MissionDict);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "missionNpcDict", _s_set_missionNpcDict);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "refreshNpcHandlerList", _s_set_refreshNpcHandlerList);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "s_MissionImpasseDict", _s_set_s_MissionImpasseDict);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "OnFinishedBossSkillShow", _s_set_OnFinishedBossSkillShow);
|
|
|
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)
|
{
|
|
PreFightMission gen_ret = new PreFightMission();
|
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 PreFightMission constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_PreLoad(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.PreLoad( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_HandleNewPlayerMission(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
H0820_tagMissionDict _h0820 = (H0820_tagMissionDict)translator.GetObject(L, 2, typeof(H0820_tagMissionDict));
|
|
gen_to_be_invoked.HandleNewPlayerMission( _h0820 );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_HandleUpdatePackage(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
H0827_tagMissionDesc _h0827 = (H0827_tagMissionDesc)translator.GetObject(L, 2, typeof(H0827_tagMissionDesc));
|
|
gen_to_be_invoked.HandleUpdatePackage( _h0827 );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Start(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Start( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GeneralRefreshNpc(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
SoMap.E_TriggerType _type;translator.Get(L, 2, out _type);
|
int _id = LuaAPI.xlua_tointeger(L, 3);
|
SoMap.RefreshNPC _data = (SoMap.RefreshNPC)translator.GetObject(L, 4, typeof(SoMap.RefreshNPC));
|
|
gen_to_be_invoked.GeneralRefreshNpc( _type, _id, _data );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GeneralCreateImpasse(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
SoMap.E_TriggerType _type;translator.Get(L, 2, out _type);
|
int _id = LuaAPI.xlua_tointeger(L, 3);
|
SoMap.CreateImpasse _data = (SoMap.CreateImpasse)translator.GetObject(L, 4, typeof(SoMap.CreateImpasse));
|
|
gen_to_be_invoked.GeneralCreateImpasse( _type, _id, _data );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsFinished(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.IsFinished( );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
|
|
|
return 1;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Update(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Update( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Step_Boss_SkillShow(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Step_Boss_SkillShow( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Step_FabaoEffect(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Step_FabaoEffect( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Step_StartScale(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Step_StartScale( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Step_4_BossKilled(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Step_4_BossKilled( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Step_4_TransferFinished(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Step_4_TransferFinished( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Destroy(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Destroy( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Create8SmallBoss(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
UnityEngine.Vector3 _postion;translator.Get(L, 2, out _postion);
|
|
gen_to_be_invoked.Create8SmallBoss( _postion );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_SpecialGuideId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SpecialGuideId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsHandleMissionState(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsHandleMissionState);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_faBaoSkillShow(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.faBaoSkillShow);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_m_HuaShouEffect(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.m_HuaShouEffect);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_IsHeroCanCastSkill(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.IsHeroCanCastSkill);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_updateAI(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.updateAI);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_needCreate1002(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.needCreate1002);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_s_MissionDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.s_MissionDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_missionNpcDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.missionNpcDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_refreshNpcHandlerList(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.refreshNpcHandlerList);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_s_MissionImpasseDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.s_MissionImpasseDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_OnFinishedBossSkillShow(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.OnFinishedBossSkillShow);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_IsHandleMissionState(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.IsHandleMissionState = 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_faBaoSkillShow(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.faBaoSkillShow = 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_m_HuaShouEffect(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.m_HuaShouEffect = (UIEffect)translator.GetObject(L, 2, typeof(UIEffect));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_IsHeroCanCastSkill(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.IsHeroCanCastSkill = 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_updateAI(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.updateAI = 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_needCreate1002(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.needCreate1002 = 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_s_MissionDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.s_MissionDict = (System.Collections.Generic.Dictionary<uint, PreFightMission.Mission>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<uint, PreFightMission.Mission>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_missionNpcDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.missionNpcDict = (System.Collections.Generic.Dictionary<uint, System.Collections.Generic.List<int>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<uint, System.Collections.Generic.List<int>>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_refreshNpcHandlerList(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.refreshNpcHandlerList = (System.Collections.Generic.List<RefreshNpcHandler>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<RefreshNpcHandler>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_s_MissionImpasseDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.s_MissionImpasseDict = (System.Collections.Generic.Dictionary<uint, System.Collections.Generic.List<UnityEngine.AI.NavMeshObstacle>>)translator.GetObject(L, 2, typeof(System.Collections.Generic.Dictionary<uint, System.Collections.Generic.List<UnityEngine.AI.NavMeshObstacle>>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_OnFinishedBossSkillShow(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
PreFightMission gen_to_be_invoked = (PreFightMission)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.OnFinishedBossSkillShow = translator.GetDelegate<UnityEngine.Events.UnityAction>(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
|
|
}
|
}
|