#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 EquipWashModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(EquipWashModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 32, 22, 6);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnBeforePlayerDataInitialize", _m_OnBeforePlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnAfterPlayerDataInitialize", _m_OnAfterPlayerDataInitialize);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnPlayerLoginOk", _m_OnPlayerLoginOk);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReFreshModel", _m_ReFreshModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetModelOrder", _m_SetModelOrder);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByIsPutOn", _m_CompareByIsPutOn);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashModellist", _m_GetWashModellist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashInfoDict", _m_GetWashInfoDict);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashEquipInfo", _m_GetWashEquipInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnGetWashType", _m_OnGetWashType);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OnGetMasterModel", _m_OnGetMasterModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Compare", _m_Compare);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "WashProValues", _m_WashProValues);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetWashFullLv", _m_GetWashFullLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetEquipWashMinLv", _m_GetEquipWashMinLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsWashFull", _m_IsWashFull);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsCanWash", _m_IsCanWash);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMaxWashLv", _m_GetMaxWashLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetCurWashLvStr", _m_GetCurWashLvStr);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsSaveWashValue", _m_IsSaveWashValue);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsEnoughMat", _m_IsEnoughMat);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendWashQuest", _m_SendWashQuest);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWashEquipRedPointlist", _m_SetWashEquipRedPointlist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReachWashCondition", _m_ReachWashCondition);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByLv", _m_CompareByLv);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetProValueTypeStr", _m_GetProValueTypeStr);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetWashMasterModel", _m_SetWashMasterModel);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMasterGroupRaiseRecord", _m_SetMasterGroupRaiseRecord);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMasterGroupActiveRecord", _m_SetMasterGroupActiveRecord);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RefreshWashModelEvent", _e_RefreshWashModelEvent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups1", _g_get_washGroups1);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups2", _g_get_washGroups2);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroups3", _g_get_washGroups3);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isWashUI", _g_get_isWashUI);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "isMustAddAttr", _g_get_isMustAddAttr);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washPlacelist", _g_get_washPlacelist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washProlist", _g_get_washProlist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washEquipRedPointlist", _g_get_washEquipRedPointlist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "JumpToIndex", _g_get_JumpToIndex);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washType", _g_get_washType);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washLv", _g_get_washLv);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterWashState", _g_get_MasterWashState);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroup1", _g_get_washGroup1);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroup2", _g_get_washGroup2);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washGroup3", _g_get_washGroup3);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "washBtnRedpoint", _g_get_washBtnRedpoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup1ActiveKey", _g_get_MasterGroup1ActiveKey);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup2ActiveKey", _g_get_MasterGroup2ActiveKey);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup3ActiveKey", _g_get_MasterGroup3ActiveKey);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup1RaiseKey", _g_get_MasterGroup1RaiseKey);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup2RaiseKey", _g_get_MasterGroup2RaiseKey);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "MasterGroup3RaiseKey", _g_get_MasterGroup3RaiseKey);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "isWashUI", _s_set_isWashUI);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "JumpToIndex", _s_set_JumpToIndex);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "washGroup1", _s_set_washGroup1);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "washGroup2", _s_set_washGroup2);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "washGroup3", _s_set_washGroup3);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "washBtnRedpoint", _s_set_washBtnRedpoint);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 2, 0, 0);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "WashBtnRed_Key", EquipWashModel.WashBtnRed_Key);
|
|
|
|
|
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)
|
{
|
|
EquipWashModel gen_ret = new EquipWashModel();
|
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 EquipWashModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)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_UnInit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)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_OnBeforePlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)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_OnAfterPlayerDataInitialize(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.OnAfterPlayerDataInitialize( );
|
|
|
|
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);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)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_ReFreshModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA3BB_tagMCEquipPartXLAttrInfo _info = (HA3BB_tagMCEquipPartXLAttrInfo)translator.GetObject(L, 2, typeof(HA3BB_tagMCEquipPartXLAttrInfo));
|
|
gen_to_be_invoked.ReFreshModel( _info );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetModelOrder(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetModelOrder( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CompareByIsPutOn(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
WashProCount _start = (WashProCount)translator.GetObject(L, 2, typeof(WashProCount));
|
WashProCount _end = (WashProCount)translator.GetObject(L, 3, typeof(WashProCount));
|
|
int gen_ret = gen_to_be_invoked.CompareByIsPutOn( _start, _end );
|
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 _m_GetWashModellist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<WashProCount> gen_ret = gen_to_be_invoked.GetWashModellist( );
|
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_GetWashInfoDict(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.Dictionary<int, WashProCount> gen_ret = gen_to_be_invoked.GetWashInfoDict( );
|
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_GetWashEquipInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
WashProCount gen_ret = gen_to_be_invoked.GetWashEquipInfo( _equipPlace );
|
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_OnGetWashType(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.OnGetWashType( _itemPlace );
|
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 _m_OnGetMasterModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
System.Collections.Generic.List<WashProCount> _washInfolist = (System.Collections.Generic.List<WashProCount>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<WashProCount>));
|
|
gen_to_be_invoked.OnGetMasterModel( _washInfolist );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Compare(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
WashProCount _start = (WashProCount)translator.GetObject(L, 2, typeof(WashProCount));
|
WashProCount _next = (WashProCount)translator.GetObject(L, 3, typeof(WashProCount));
|
|
int gen_ret = gen_to_be_invoked.Compare( _start, _next );
|
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 _m_WashProValues(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
int[] gen_ret = gen_to_be_invoked.WashProValues( _itemPlace );
|
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_GetWashFullLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
int _equipLv = LuaAPI.xlua_tointeger(L, 3);
|
|
int gen_ret = gen_to_be_invoked.GetWashFullLv( _equipPlace, _equipLv );
|
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 _m_GetEquipWashMinLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetEquipWashMinLv( _equipPlace );
|
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 _m_IsWashFull(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
|
WashProCount _washPro = (WashProCount)translator.GetObject(L, 3, typeof(WashProCount));
|
TableConfig.EquipWashConfig _tagEquipWash = (TableConfig.EquipWashConfig)translator.GetObject(L, 4, typeof(TableConfig.EquipWashConfig));
|
|
bool gen_ret = gen_to_be_invoked.IsWashFull( _model, _washPro, _tagEquipWash );
|
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_IsCanWash(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.ItemModel _model = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
|
|
bool gen_ret = gen_to_be_invoked.IsCanWash( _model );
|
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_GetMaxWashLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetMaxWashLv( _equipPlace );
|
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 _m_GetCurWashLvStr(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
WashProCount _washPro = (WashProCount)translator.GetObject(L, 2, typeof(WashProCount));
|
TableConfig.EquipWashConfig _tagEquipWash = (TableConfig.EquipWashConfig)translator.GetObject(L, 3, typeof(TableConfig.EquipWashConfig));
|
|
string gen_ret = gen_to_be_invoked.GetCurWashLvStr( _washPro, _tagEquipWash );
|
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_IsSaveWashValue(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
WashProCount _washPro = (WashProCount)translator.GetObject(L, 2, typeof(WashProCount));
|
|
bool gen_ret = gen_to_be_invoked.IsSaveWashValue( _washPro );
|
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_IsEnoughMat(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.EquipWashConfig _tagWashModel = (TableConfig.EquipWashConfig)translator.GetObject(L, 2, typeof(TableConfig.EquipWashConfig));
|
|
bool gen_ret = gen_to_be_invoked.IsEnoughMat( _tagWashModel );
|
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_SendWashQuest(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
int _code = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendWashQuest( _equipPlace, _code );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetWashEquipRedPointlist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetWashEquipRedPointlist( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_ReachWashCondition(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.ReachWashCondition( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CompareByLv(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
WashProCount _start = (WashProCount)translator.GetObject(L, 2, typeof(WashProCount));
|
WashProCount _end = (WashProCount)translator.GetObject(L, 3, typeof(WashProCount));
|
|
int gen_ret = gen_to_be_invoked.CompareByLv( _start, _end );
|
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 _m_GetProValueTypeStr(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
TableConfig.PlayerPropertyConfig _playerproModel = (TableConfig.PlayerPropertyConfig)translator.GetObject(L, 2, typeof(TableConfig.PlayerPropertyConfig));
|
int _value = LuaAPI.xlua_tointeger(L, 3);
|
|
string gen_ret = gen_to_be_invoked.GetProValueTypeStr( _playerproModel, _value );
|
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_SetWashMasterModel(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _type = LuaAPI.xlua_tointeger(L, 2);
|
int _groupLv = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SetWashMasterModel( _type, _groupLv );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetMasterGroupRaiseRecord(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _curGroupLv = LuaAPI.xlua_tointeger(L, 2);
|
int _type = LuaAPI.xlua_tointeger(L, 3);
|
string _groupRaise = LuaAPI.lua_tostring(L, 4);
|
|
gen_to_be_invoked.SetMasterGroupRaiseRecord( _curGroupLv, _type, _groupRaise );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetMasterGroupActiveRecord(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _curGroupLv = LuaAPI.xlua_tointeger(L, 2);
|
int _type = LuaAPI.xlua_tointeger(L, 3);
|
string _groupActive = LuaAPI.lua_tostring(L, 4);
|
|
gen_to_be_invoked.SetMasterGroupActiveRecord( _curGroupLv, _type, _groupActive );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroups1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroups1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroups2(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroups2);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroups3(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroups3);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_isWashUI(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isWashUI);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_isMustAddAttr(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isMustAddAttr);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washPlacelist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washPlacelist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washProlist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washProlist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washEquipRedPointlist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washEquipRedPointlist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_JumpToIndex(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.JumpToIndex);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washType(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.washType);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washLv(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.washLv);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterWashState(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.MasterWashState);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroup1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroup1);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroup2(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroup2);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washGroup3(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washGroup3);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_washBtnRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.washBtnRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup1ActiveKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup1ActiveKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup2ActiveKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup2ActiveKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup3ActiveKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup3ActiveKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup1RaiseKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup1RaiseKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup2RaiseKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup2RaiseKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_MasterGroup3RaiseKey(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.MasterGroup3RaiseKey);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_isWashUI(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.isWashUI = 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_JumpToIndex(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.JumpToIndex = 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_washGroup1(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.washGroup1 = (System.Collections.Generic.List<WashProCount>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<WashProCount>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_washGroup2(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.washGroup2 = (System.Collections.Generic.List<WashProCount>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<WashProCount>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_washGroup3(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.washGroup3 = (System.Collections.Generic.List<WashProCount>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<WashProCount>));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_washBtnRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.washBtnRedpoint = (Snxxz.UI.Redpoint)translator.GetObject(L, 2, typeof(Snxxz.UI.Redpoint));
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 0;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_RefreshWashModelEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
EquipWashModel gen_to_be_invoked = (EquipWashModel)translator.FastGetCSObj(L, 1);
|
EquipWashModel.OnRefreshWashModel gen_delegate = translator.GetDelegate<EquipWashModel.OnRefreshWashModel>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need EquipWashModel.OnRefreshWashModel!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.RefreshWashModelEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.RefreshWashModelEvent -= gen_delegate;
|
return 0;
|
}
|
|
}
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
LuaAPI.luaL_error(L, "invalid arguments to EquipWashModel.RefreshWashModelEvent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|