#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 SnxxzUIRidingAndPetActivationModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.RidingAndPetActivationModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 18, 6, 6);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RidingAndPetActivationSet", _m_RidingAndPetActivationSet);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPetSkillAddAttack", _m_GetPetSkillAddAttack);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOnePetAddAttack", _m_GetOnePetAddAttack);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllPetAddAttack", _m_GetAllPetAddAttack);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetPetSkillAddLife", _m_GetPetSkillAddLife);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOnePetAddLife", _m_GetOnePetAddLife);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllPetAddLife", _m_GetAllPetAddLife);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMountSkillAddProperty", _m_GetMountSkillAddProperty);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOneMountProperty", _m_GetOneMountProperty);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllMountProperty", _m_GetAllMountProperty);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMountSkillAddPropertyQuality", _m_GetMountSkillAddPropertyQuality);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetOneMountPropertyQuality", _m_GetOneMountPropertyQuality);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAllMountPropertyQuality", _m_GetAllMountPropertyQuality);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "PetAndHorseNeedDanNum", _m_PetAndHorseNeedDanNum);
|
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "RidingAndPetActivation1", _g_get_RidingAndPetActivation1);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "ActivateID1", _g_get_ActivateID1);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SkillID1", _g_get_SkillID1);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "Lv", _g_get_Lv);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "property", _g_get_property);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "RidingId", _g_get_RidingId);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "RidingAndPetActivation1", _s_set_RidingAndPetActivation1);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "ActivateID1", _s_set_ActivateID1);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SkillID1", _s_set_SkillID1);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "Lv", _s_set_Lv);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "property", _s_set_property);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "RidingId", _s_set_RidingId);
|
|
|
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)
|
{
|
|
Snxxz.UI.RidingAndPetActivationModel gen_ret = new Snxxz.UI.RidingAndPetActivationModel();
|
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 Snxxz.UI.RidingAndPetActivationModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.Init( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnBeforePlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnBeforePlayerDataInitialize( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OnPlayerLoginOk(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnPlayerLoginOk( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UnInit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UnInit( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_RidingAndPetActivationSet(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 5&& translator.Assignable<Snxxz.UI.RidingAndPetActivation>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5))
|
{
|
Snxxz.UI.RidingAndPetActivation _ridingAndPetActivation;translator.Get(L, 2, out _ridingAndPetActivation);
|
int _ActivateID = LuaAPI.xlua_tointeger(L, 3);
|
int _SkillID = LuaAPI.xlua_tointeger(L, 4);
|
int _lv = LuaAPI.xlua_tointeger(L, 5);
|
|
gen_to_be_invoked.RidingAndPetActivationSet( _ridingAndPetActivation, _ActivateID, _SkillID, _lv );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 4&& translator.Assignable<Snxxz.UI.RidingAndPetActivation>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4))
|
{
|
Snxxz.UI.RidingAndPetActivation _ridingAndPetActivation;translator.Get(L, 2, out _ridingAndPetActivation);
|
int _ActivateID = LuaAPI.xlua_tointeger(L, 3);
|
int _SkillID = LuaAPI.xlua_tointeger(L, 4);
|
|
gen_to_be_invoked.RidingAndPetActivationSet( _ridingAndPetActivation, _ActivateID, _SkillID );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 3&& translator.Assignable<Snxxz.UI.RidingAndPetActivation>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
Snxxz.UI.RidingAndPetActivation _ridingAndPetActivation;translator.Get(L, 2, out _ridingAndPetActivation);
|
int _ActivateID = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.RidingAndPetActivationSet( _ridingAndPetActivation, _ActivateID );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to Snxxz.UI.RidingAndPetActivationModel.RidingAndPetActivationSet!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetPetSkillAddAttack(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _PetSkill = LuaAPI.xlua_tointeger(L, 2);
|
|
float gen_ret = gen_to_be_invoked.GetPetSkillAddAttack( _PetSkill );
|
LuaAPI.lua_pushnumber(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_GetOnePetAddAttack(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _PetID = LuaAPI.xlua_tointeger(L, 2);
|
|
float gen_ret = gen_to_be_invoked.GetOnePetAddAttack( _PetID );
|
LuaAPI.lua_pushnumber(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_GetAllPetAddAttack(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
float gen_ret = gen_to_be_invoked.GetAllPetAddAttack( );
|
LuaAPI.lua_pushnumber(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_GetPetSkillAddLife(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _PetSkill = LuaAPI.xlua_tointeger(L, 2);
|
|
float gen_ret = gen_to_be_invoked.GetPetSkillAddLife( _PetSkill );
|
LuaAPI.lua_pushnumber(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_GetOnePetAddLife(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _PetID = LuaAPI.xlua_tointeger(L, 2);
|
|
float gen_ret = gen_to_be_invoked.GetOnePetAddLife( _PetID );
|
LuaAPI.lua_pushnumber(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_GetAllPetAddLife(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
float gen_ret = gen_to_be_invoked.GetAllPetAddLife( );
|
LuaAPI.lua_pushnumber(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_GetMountSkillAddProperty(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _MountSkill = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetMountSkillAddProperty( _MountSkill );
|
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 _m_GetOneMountProperty(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _MountID = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetOneMountProperty( _MountID );
|
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 _m_GetAllMountProperty(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetAllMountProperty( );
|
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 _m_GetMountSkillAddPropertyQuality(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _MountSkill = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetMountSkillAddPropertyQuality( _MountSkill );
|
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 _m_GetOneMountPropertyQuality(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _MountID = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetOneMountPropertyQuality( _MountID );
|
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 _m_GetAllMountPropertyQuality(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.Dictionary<int, float> gen_ret = gen_to_be_invoked.GetAllMountPropertyQuality( );
|
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 _m_PetAndHorseNeedDanNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _exp = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.PetAndHorseNeedDanNum( _exp );
|
LuaAPI.xlua_pushinteger(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_RidingAndPetActivation1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.RidingAndPetActivation1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_ActivateID1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.ActivateID1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_SkillID1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SkillID1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_Lv(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.Lv);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_property(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.property);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_RidingId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.RidingId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_RidingAndPetActivation1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.RidingAndPetActivation gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.RidingAndPetActivation1 = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_ActivateID1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.ActivateID1 = 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_SkillID1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.SkillID1 = 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_Lv(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.Lv = 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_property(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
Snxxz.UI.PropertyTip gen_value;translator.Get(L, 2, out gen_value);
|
gen_to_be_invoked.property = gen_value;
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_RidingId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.RidingAndPetActivationModel gen_to_be_invoked = (Snxxz.UI.RidingAndPetActivationModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.RidingId = LuaAPI.xlua_tointeger(L, 2);
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
|
|
}
|
}
|