#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 SnxxzUIDogzModelWrap
|
{
|
public static void __Register(RealStatePtr L)
|
{
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
System.Type type = typeof(Snxxz.UI.DogzModel);
|
Utils.BeginObjectRegister(type, L, translator, 0, 55, 23, 8);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Init", _m_Init);
|
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, "UnInit", _m_UnInit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipLimitByIndex", _m_GetDogzEquipLimitByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzPartNameByIndex", _m_GetDogzPartNameByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetItemColorName", _m_GetItemColorName);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzScoreById", _m_GetDogzScoreById);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzAttrDictById", _m_GetDogzAttrDictById);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipScore", _m_GetDogzEquipScore);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistItemCnt", _m_GetAssistItemCnt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "MakeUseAddAssistNum", _m_MakeUseAddAssistNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsAddMaxAssist", _m_IsAddMaxAssist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSelectDogz", _m_SetSelectDogz);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenDogzFuncEvent", _m_OpenDogzFuncEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsAddAssistNum", _m_CheckIsAddAssistNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckIsPutOn", _m_CheckIsPutOn);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetServerAddAssistDogzCnt", _m_SetServerAddAssistDogzCnt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetServerAssistDogzState", _m_SetServerAssistDogzState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetAssistDogzCount", _m_GetAssistDogzCount);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetAssistDogzState", _m_TryGetAssistDogzState);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetMinAssistDogzId", _m_GetMinAssistDogzId);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzEquipInfo", _m_SetDogzEquipInfo);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquips", _m_GetDogzEquips);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipAddAttr", _m_GetDogzEquipAddAttr);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipPlaceByIndex", _m_GetDogzEquipPlaceByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzIndexByPlace", _m_GetDogzIndexByPlace);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzIDByIndex", _m_GetDogzIDByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "TryGetDogzEquip", _m_TryGetDogzEquip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipPlaceStates", _m_GetDogzEquipPlaceStates);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CheckPutOff", _m_CheckPutOff);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendPutOnEquip", _m_SendPutOnEquip);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendChangeDogzAssist", _m_SendChangeDogzAssist);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendBuyAssistCnt", _m_SendBuyAssistCnt);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SendDogzEquipStrength", _m_SendDogzEquipStrength);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzItemList", _m_GetDogzItemList);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzPackMatNum", _m_GetDogzPackMatNum);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachSelectCondi", _m_IsReachSelectCondi);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "CompareByDogzItemPack", _m_CompareByDogzItemPack);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzItemListByIndex", _m_GetDogzItemListByIndex);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "IsReachPutlimit", _m_IsReachPutlimit);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDefaultSelectDogz", _m_SetDefaultSelectDogz);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDogzAndEquipPlaceRedKey", _m_SetDogzAndEquipPlaceRedKey);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSingleDogzRedpointById", _m_GetSingleDogzRedpointById);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzAssistRedpointById", _m_GetDogzAssistRedpointById);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzEquipPlaceRedpointById", _m_GetDogzEquipPlaceRedpointById);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateDogzAssistRed", _m_UpdateDogzAssistRed);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateDogzEquipPlaceRed", _m_UpdateDogzEquipPlaceRed);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetDogzIdByOrder", _m_GetDogzIdByOrder);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistNumRed", _m_UpdateAssistNumRed);
|
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateSelectDogzEvent", _e_UpdateSelectDogzEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "OpenFuncEvent", _e_OpenFuncEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateAssistDogzEvent", _e_UpdateAssistDogzEvent);
|
Utils.RegisterFunc(L, Utils.METHOD_IDX, "UpdateDogzPutRedEvent", _e_UpdateDogzPutRedEvent);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DogzAssistDefaultCnt", _g_get_DogzAssistDefaultCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DogzAssistMaxCnt", _g_get_DogzAssistMaxCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "AddAssistItem", _g_get_AddAssistItem);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "DogzPackGridCnt", _g_get_DogzPackGridCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "AddAssistItemCnt", _g_get_AddAssistItemCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_DogzEquipStrenLimit", _g_get_m_DogzEquipStrenLimit);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzScoreFormula", _g_get_dogzScoreFormula);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_DogzAttrDict", _g_get_m_DogzAttrDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "presentSelectDogz", _g_get_presentSelectDogz);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "addAssistCnt", _g_get_addAssistCnt);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "curSumAssistNum", _g_get_curSumAssistNum);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzAssistStateDict", _g_get_dogzAssistStateDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "m_DogzEquipAttrDict", _g_get_m_DogzEquipAttrDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzEquipStateDict", _g_get_dogzEquipStateDict);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SelectDogzItemQuality", _g_get_SelectDogzItemQuality);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "SelectDogzItemStart", _g_get_SelectDogzItemStart);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzItemList", _g_get_dogzItemList);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "selectEquipPlacelist", _g_get_selectEquipPlacelist);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzPutRedId", _g_get_dogzPutRedId);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "RefreshDogzEquipAct", _g_get_RefreshDogzEquipAct);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "mainDogzRedpoint", _g_get_mainDogzRedpoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "dogzFuncRedpoint", _g_get_dogzFuncRedpoint);
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "addAssistDogzRedpoint", _g_get_addAssistDogzRedpoint);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "presentSelectDogz", _s_set_presentSelectDogz);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SelectDogzItemQuality", _s_set_SelectDogzItemQuality);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "SelectDogzItemStart", _s_set_SelectDogzItemStart);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "dogzPutRedId", _s_set_dogzPutRedId);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "RefreshDogzEquipAct", _s_set_RefreshDogzEquipAct);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "mainDogzRedpoint", _s_set_mainDogzRedpoint);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "dogzFuncRedpoint", _s_set_dogzFuncRedpoint);
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "addAssistDogzRedpoint", _s_set_addAssistDogzRedpoint);
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
null, null, null);
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 4, 0, 0);
|
|
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "MAINDOGZ_REDKEY", Snxxz.UI.DogzModel.MAINDOGZ_REDKEY);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "DOGZFUNC_REDKEY", Snxxz.UI.DogzModel.DOGZFUNC_REDKEY);
|
Utils.RegisterObject(L, translator, Utils.CLS_IDX, "ADDASSISTDOGZ_REDKEY", Snxxz.UI.DogzModel.ADDASSISTDOGZ_REDKEY);
|
|
|
|
|
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.DogzModel gen_ret = new Snxxz.UI.DogzModel();
|
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.DogzModel constructor!");
|
|
}
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_Init(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)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.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)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);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)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);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)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.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)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_GetDogzEquipLimitByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dogzId = LuaAPI.xlua_tointeger(L, 2);
|
int __index = LuaAPI.xlua_tointeger(L, 3);
|
|
int gen_ret = gen_to_be_invoked.GetDogzEquipLimitByIndex( __dogzId, __index );
|
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_GetDogzPartNameByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __index = LuaAPI.xlua_tointeger(L, 2);
|
|
string gen_ret = gen_to_be_invoked.GetDogzPartNameByIndex( __index );
|
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_GetItemColorName(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __itemColor = LuaAPI.xlua_tointeger(L, 2);
|
|
string gen_ret = gen_to_be_invoked.GetItemColorName( __itemColor );
|
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_GetDogzScoreById(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDogzScoreById( _dogzId );
|
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_GetDogzAttrDictById(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetDogzAttrDictById( _dogzId );
|
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_GetDogzEquipScore(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDogzEquipScore( _dogzId );
|
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_GetAssistItemCnt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetAssistItemCnt( );
|
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_MakeUseAddAssistNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.MakeUseAddAssistNum( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_IsAddMaxAssist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.IsAddMaxAssist( );
|
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_SetSelectDogz(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __id = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.SetSelectDogz( __id );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_OpenDogzFuncEvent(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _functionOrder = LuaAPI.xlua_tointeger(L, 2);
|
int _equipIndex = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.OpenDogzFuncEvent( _functionOrder, _equipIndex );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_CheckIsAddAssistNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
bool gen_ret = gen_to_be_invoked.CheckIsAddAssistNum( );
|
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_CheckIsPutOn(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _id = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.CheckIsPutOn( _id );
|
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_SetServerAddAssistDogzCnt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA3C0_tagMCDogzInfo _info = (HA3C0_tagMCDogzInfo)translator.GetObject(L, 2, typeof(HA3C0_tagMCDogzInfo));
|
|
gen_to_be_invoked.SetServerAddAssistDogzCnt( _info );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetServerAssistDogzState(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
HA3C1_tagMCDogzHelpbattleState _info = (HA3C1_tagMCDogzHelpbattleState)translator.GetObject(L, 2, typeof(HA3C1_tagMCDogzHelpbattleState));
|
|
gen_to_be_invoked.SetServerAssistDogzState( _info );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetAssistDogzCount(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetAssistDogzCount( );
|
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_TryGetAssistDogzState(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.TryGetAssistDogzState( _dogzId );
|
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_GetMinAssistDogzId(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetMinAssistDogzId( );
|
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_SetDogzEquipInfo(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetDogzEquipInfo( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDogzEquips(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.List<Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.GetDogzEquips( __dogzId );
|
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_GetDogzEquipAddAttr(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, int> gen_ret = gen_to_be_invoked.GetDogzEquipAddAttr( _dogzId );
|
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_GetDogzEquipPlaceByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDogzEquipPlaceByIndex( _index );
|
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_GetDogzIndexByPlace(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _place = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDogzIndexByPlace( _place );
|
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_GetDogzIDByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
|
int gen_ret = gen_to_be_invoked.GetDogzIDByIndex( _index );
|
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_TryGetDogzEquip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dogzId = LuaAPI.xlua_tointeger(L, 2);
|
int __equipPlace = LuaAPI.xlua_tointeger(L, 3);
|
Snxxz.UI.ItemModel __equipData;
|
|
bool gen_ret = gen_to_be_invoked.TryGetDogzEquip( __dogzId, __equipPlace, out __equipData );
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
translator.Push(L, __equipData);
|
|
|
|
|
return 2;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDogzEquipPlaceStates(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int __dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
System.Collections.Generic.Dictionary<int, bool> gen_ret = gen_to_be_invoked.GetDogzEquipPlaceStates( __dogzId );
|
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_CheckPutOff(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _equipPlace = LuaAPI.xlua_tointeger(L, 2);
|
|
gen_to_be_invoked.CheckPutOff( _equipPlace );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendPutOnEquip(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
System.Collections.Generic.List<int> _indexlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 2, typeof(System.Collections.Generic.List<int>));
|
|
gen_to_be_invoked.SendPutOnEquip( _indexlist );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendChangeDogzAssist(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _assistState = LuaAPI.xlua_tointeger(L, 2);
|
int _dogzId = LuaAPI.xlua_tointeger(L, 3);
|
|
gen_to_be_invoked.SendChangeDogzAssist( _assistState, _dogzId );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendBuyAssistCnt(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SendBuyAssistCnt( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SendDogzEquipStrength(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _index = LuaAPI.xlua_tointeger(L, 2);
|
System.Collections.Generic.List<int> _indexlist = (System.Collections.Generic.List<int>)translator.GetObject(L, 3, typeof(System.Collections.Generic.List<int>));
|
System.Collections.Generic.List<int> _IndexUseCountList = (System.Collections.Generic.List<int>)translator.GetObject(L, 4, typeof(System.Collections.Generic.List<int>));
|
int _isDouble = LuaAPI.xlua_tointeger(L, 5);
|
|
gen_to_be_invoked.SendDogzEquipStrength( _index, _indexlist, _IndexUseCountList, _isDouble );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDogzItemList(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.GetDogzItemList( );
|
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_GetDogzPackMatNum(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
int gen_ret = gen_to_be_invoked.GetDogzPackMatNum( );
|
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_IsReachSelectCondi(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _itemId = LuaAPI.xlua_tointeger(L, 2);
|
|
bool gen_ret = gen_to_be_invoked.IsReachSelectCondi( _itemId );
|
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_CompareByDogzItemPack(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
Snxxz.UI.ItemModel _start = (Snxxz.UI.ItemModel)translator.GetObject(L, 2, typeof(Snxxz.UI.ItemModel));
|
Snxxz.UI.ItemModel _end = (Snxxz.UI.ItemModel)translator.GetObject(L, 3, typeof(Snxxz.UI.ItemModel));
|
|
int gen_ret = gen_to_be_invoked.CompareByDogzItemPack( _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_GetDogzItemListByIndex(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 3);
|
|
System.Collections.Generic.List<Snxxz.UI.ItemModel> gen_ret = gen_to_be_invoked.GetDogzItemListByIndex( _dogzId, _index );
|
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_IsReachPutlimit(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
int _itemId = LuaAPI.xlua_tointeger(L, 3);
|
|
bool gen_ret = gen_to_be_invoked.IsReachPutlimit( _dogzId, _itemId );
|
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_SetDefaultSelectDogz(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetDefaultSelectDogz( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_SetDogzAndEquipPlaceRedKey(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.SetDogzAndEquipPlaceRedKey( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetSingleDogzRedpointById(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.Redpoint gen_ret = gen_to_be_invoked.GetSingleDogzRedpointById( _dogzId );
|
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_GetDogzAssistRedpointById(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
|
Snxxz.UI.Redpoint gen_ret = gen_to_be_invoked.GetDogzAssistRedpointById( _dogzId );
|
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_GetDogzEquipPlaceRedpointById(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
int _dogzId = LuaAPI.xlua_tointeger(L, 2);
|
int _index = LuaAPI.xlua_tointeger(L, 3);
|
|
Snxxz.UI.Redpoint gen_ret = gen_to_be_invoked.GetDogzEquipPlaceRedpointById( _dogzId, _index );
|
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_UpdateDogzAssistRed(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateDogzAssistRed( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_UpdateDogzEquipPlaceRed(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateDogzEquipPlaceRed( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _m_GetDogzIdByOrder(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
System.Collections.Generic.List<int> gen_ret = gen_to_be_invoked.GetDogzIdByOrder( );
|
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_UpdateAssistNumRed(RealStatePtr L)
|
{
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
|
|
|
{
|
|
gen_to_be_invoked.UpdateAssistNumRed( );
|
|
|
|
return 0;
|
}
|
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
|
}
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_DogzAssistDefaultCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DogzAssistDefaultCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_DogzAssistMaxCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DogzAssistMaxCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_AddAssistItem(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.AddAssistItem);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_DogzPackGridCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.DogzPackGridCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_AddAssistItemCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.AddAssistItemCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_m_DogzEquipStrenLimit(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.m_DogzEquipStrenLimit);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzScoreFormula(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.dogzScoreFormula);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_m_DogzAttrDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.m_DogzAttrDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_presentSelectDogz(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.presentSelectDogz);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_addAssistCnt(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.addAssistCnt);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_curSumAssistNum(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.curSumAssistNum);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzAssistStateDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dogzAssistStateDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_m_DogzEquipAttrDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.m_DogzEquipAttrDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzEquipStateDict(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dogzEquipStateDict);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_SelectDogzItemQuality(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SelectDogzItemQuality);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_SelectDogzItemStart(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.SelectDogzItemStart);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzItemList(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dogzItemList);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_selectEquipPlacelist(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.selectEquipPlacelist);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzPutRedId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.dogzPutRedId);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_RefreshDogzEquipAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.RefreshDogzEquipAct);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_mainDogzRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.mainDogzRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_dogzFuncRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.dogzFuncRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _g_get_addAssistDogzRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
translator.Push(L, gen_to_be_invoked.addAssistDogzRedpoint);
|
} catch(System.Exception gen_e) {
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
}
|
return 1;
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _s_set_presentSelectDogz(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.presentSelectDogz = 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_SelectDogzItemQuality(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.SelectDogzItemQuality = 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_SelectDogzItemStart(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.SelectDogzItemStart = 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_dogzPutRedId(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.dogzPutRedId = 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_RefreshDogzEquipAct(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.RefreshDogzEquipAct = translator.GetDelegate<System.Action<int>>(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_mainDogzRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.mainDogzRedpoint = (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 _s_set_dogzFuncRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.dogzFuncRedpoint = (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 _s_set_addAssistDogzRedpoint(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
gen_to_be_invoked.addAssistDogzRedpoint = (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_UpdateSelectDogzEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateSelectDogzEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateSelectDogzEvent -= 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 Snxxz.UI.DogzModel.UpdateSelectDogzEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_OpenFuncEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
System.Action<int, int> gen_delegate = translator.GetDelegate<System.Action<int, int>>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action<int, int>!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.OpenFuncEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.OpenFuncEvent -= 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 Snxxz.UI.DogzModel.OpenFuncEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateAssistDogzEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateAssistDogzEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateAssistDogzEvent -= 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 Snxxz.UI.DogzModel.UpdateAssistDogzEvent!");
|
return 0;
|
}
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
static int _e_UpdateDogzPutRedEvent(RealStatePtr L)
|
{
|
try {
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
Snxxz.UI.DogzModel gen_to_be_invoked = (Snxxz.UI.DogzModel)translator.FastGetCSObj(L, 1);
|
System.Action gen_delegate = translator.GetDelegate<System.Action>(L, 3);
|
if (gen_delegate == null) {
|
return LuaAPI.luaL_error(L, "#3 need System.Action!");
|
}
|
|
if (gen_param_count == 3)
|
{
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "+")) {
|
gen_to_be_invoked.UpdateDogzPutRedEvent += gen_delegate;
|
return 0;
|
}
|
|
|
if (LuaAPI.xlua_is_eq_str(L, 2, "-")) {
|
gen_to_be_invoked.UpdateDogzPutRedEvent -= 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 Snxxz.UI.DogzModel.UpdateDogzPutRedEvent!");
|
return 0;
|
}
|
|
|
|
}
|
}
|