#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 SnxxzUIUI3DModelExhibitionWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.UI3DModelExhibition);
|
Utils.BeginObjectRegister(type, L, translator, 0, 11, 3, 3);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetName", _m_GetName);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowLoginPlayer", _m_ShowLoginPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowPlayer", _m_ShowPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowOtherPlayer", _m_ShowOtherPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowSitDownPlayer", _m_ShowSitDownPlayer);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowHourse", _m_ShowHourse);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowEquipment", _m_ShowEquipment);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowWing", _m_ShowWing);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ShowNPC", _m_ShowNPC);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "StopShow", _m_StopShow);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ResetCameraColor", _m_ResetCameraColor);
|
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "interactable", _g_get_interactable);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "NpcModelHorse", _g_get_NpcModelHorse);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "NpcModelPet", _g_get_NpcModelPet);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "interactable", _s_set_interactable);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "NpcModelHorse", _s_set_NpcModelHorse);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "NpcModelPet", _s_set_NpcModelPet);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 2, 0);
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "CreateStage", _m_CreateStage_xlua_st_);
|
|
|
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "Instance", _g_get_Instance);
|
Utils.RegisterFunc(L, Utils.CLS_GETTER_IDX, "InstanceClone1", _g_get_InstanceClone1);
|
|
|
|
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.UI3DModelExhibition gen_ret = new Snxxz.UI.UI3DModelExhibition();
|
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.UI3DModelExhibition constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CreateStage_xlua_st_(RealStatePtr L)
|
{
|
try {
|
|
|
|
|
{
|
|
Snxxz.UI.UI3DModelExhibition.CreateStage( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetName(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
string gen_ret = gen_to_be_invoked.GetName( );
|
LuaAPI.lua_pushstring(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_ShowLoginPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
int __job = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.ShowLoginPlayer( __rawImage, __job );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 4&& translator.Assignable<UnityEngine.UI.RawImage>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4))
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
int __job = LuaAPI.xlua_tointeger(L, 3);
|
bool __isDialogue = LuaAPI.lua_toboolean(L, 4);
|
|
gen_to_be_invoked.ShowPlayer( __rawImage, __job, __isDialogue );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 3&& translator.Assignable<UnityEngine.UI.RawImage>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3))
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
int __job = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.ShowPlayer( __rawImage, __job );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 4&& translator.Assignable<UnityEngine.UI.RawImage>(L, 2)&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3)&& translator.Assignable<RoleEquipType>(L, 4))
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
int __job = LuaAPI.xlua_tointeger(L, 3);
|
RoleEquipType __exceptEquip;translator.Get(L, 4, out __exceptEquip);
|
|
gen_to_be_invoked.ShowPlayer( __rawImage, __job, __exceptEquip );
|
|
|
|
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.UI3DModelExhibition.ShowPlayer!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowOtherPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
Snxxz.UI.UI3DModelExhibition.UI3DPlayerExhibitionData _data;translator.Get(L, 3, out _data);
|
|
gen_to_be_invoked.ShowOtherPlayer( __rawImage, _data );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowSitDownPlayer(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
int __job = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.ShowSitDownPlayer( __rawImage, __job );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowHourse(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __modelId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 3, typeof(UnityEngine.UI.RawImage));
|
|
gen_to_be_invoked.ShowHourse( __modelId, __rawImage );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowEquipment(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __modelId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 3, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 4, typeof(UnityEngine.UI.RawImage));
|
|
gen_to_be_invoked.ShowEquipment( __modelId, __localEulerAngles, __rawImage );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowWing(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __modelId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 3, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 4, typeof(UnityEngine.UI.RawImage));
|
|
gen_to_be_invoked.ShowWing( __modelId, __localEulerAngles, __rawImage );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ShowNPC(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 3&& translator.Assignable<UnityEngine.UI.RawImage>(L, 2)&& translator.Assignable<Snxxz.UI.UI3DModelExhibition.UI3DNPCExhibitionData>(L, 3))
|
{
|
UnityEngine.UI.RawImage _rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 2, typeof(UnityEngine.UI.RawImage));
|
Snxxz.UI.UI3DModelExhibition.UI3DNPCExhibitionData _data;translator.Get(L, 3, out _data);
|
|
gen_to_be_invoked.ShowNPC( _rawImage, _data );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 3, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 4, typeof(UnityEngine.UI.RawImage));
|
bool __gray = LuaAPI.lua_toboolean(L, 5);
|
bool __isDialogue = LuaAPI.lua_toboolean(L, 6);
|
|
gen_to_be_invoked.ShowNPC( __npcId, __localEulerAngles, __rawImage, __gray, __isDialogue );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 4)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 5))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 3, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 4, typeof(UnityEngine.UI.RawImage));
|
bool __gray = LuaAPI.lua_toboolean(L, 5);
|
|
gen_to_be_invoked.ShowNPC( __npcId, __localEulerAngles, __rawImage, __gray );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 4))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 3, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 4, typeof(UnityEngine.UI.RawImage));
|
|
gen_to_be_invoked.ShowNPC( __npcId, __localEulerAngles, __rawImage );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 7&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.Vector3>(L, 4)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 7))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __offset;translator.Get(L, 3, out __offset);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 4, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 5, typeof(UnityEngine.UI.RawImage));
|
bool __gray = LuaAPI.lua_toboolean(L, 6);
|
bool __isDialogue = LuaAPI.lua_toboolean(L, 7);
|
|
gen_to_be_invoked.ShowNPC( __npcId, __offset, __localEulerAngles, __rawImage, __gray, __isDialogue );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 6&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.Vector3>(L, 4)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 5)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 6))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __offset;translator.Get(L, 3, out __offset);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 4, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 5, typeof(UnityEngine.UI.RawImage));
|
bool __gray = LuaAPI.lua_toboolean(L, 6);
|
|
gen_to_be_invoked.ShowNPC( __npcId, __offset, __localEulerAngles, __rawImage, __gray );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)&& translator.Assignable<UnityEngine.Vector3>(L, 3)&& translator.Assignable<UnityEngine.Vector3>(L, 4)&& translator.Assignable<UnityEngine.UI.RawImage>(L, 5))
|
{
|
int __npcId = LuaAPI.xlua_tointeger(L, 2);
|
UnityEngine.Vector3 __offset;translator.Get(L, 3, out __offset);
|
UnityEngine.Vector3 __localEulerAngles;translator.Get(L, 4, out __localEulerAngles);
|
UnityEngine.UI.RawImage __rawImage = (UnityEngine.UI.RawImage)translator.GetObject(L, 5, typeof(UnityEngine.UI.RawImage));
|
|
gen_to_be_invoked.ShowNPC( __npcId, __offset, __localEulerAngles, __rawImage );
|
|
|
|
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.UI3DModelExhibition.ShowNPC!");
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_StopShow(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.StopShow( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ResetCameraColor(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
if(gen_param_count == 2&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 2))
|
{
|
bool __enable = LuaAPI.lua_toboolean(L, 2);
|
|
gen_to_be_invoked.ResetCameraColor( __enable );
|
|
|
|
return 0;
|
}
|
if(gen_param_count == 1)
|
{
|
|
gen_to_be_invoked.ResetCameraColor( );
|
|
|
|
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.UI3DModelExhibition.ResetCameraColor!");
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_interactable(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.interactable);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_NpcModelHorse(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.NpcModelHorse);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_NpcModelPet(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.NpcModelPet);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_Instance(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
translator.Push(L, Snxxz.UI.UI3DModelExhibition.Instance);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_InstanceClone1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
translator.Push(L, Snxxz.UI.UI3DModelExhibition.InstanceClone1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_interactable(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.interactable = 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_NpcModelHorse(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.NpcModelHorse = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_NpcModelPet(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.UI3DModelExhibition gen_to_be_invoked = (Snxxz.UI.UI3DModelExhibition)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.NpcModelPet = (UnityEngine.GameObject)translator.GetObject(L, 2, typeof(UnityEngine.GameObject));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
|
|
}
|
}
|