Main/Assets/GameAssets/Resources/GameUI/XLua/Gen/MSG_BI_DeviceWrap.cs
2025-01-25 04:38:09 +08:00

882 lines
34 KiB
C#

#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 MSG_BIDeviceWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(MSG_BI.Device);
Utils.BeginObjectRegister(type, L, translator, 0, 5, 21, 21);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Send", _m_Send);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Excute", _m_Excute);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ReadMessage", _m_ReadMessage);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "WriteMessage", _m_WriteMessage);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Clear", _m_Clear);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "appId", _g_get_appId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "roleId", _g_get_roleId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "channelId", _g_get_channelId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sourceId", _g_get_sourceId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "deviceId", _g_get_deviceId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "platform", _g_get_platform);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "app_version", _g_get_app_version);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "merchant", _g_get_merchant);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "net_type", _g_get_net_type);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "screen", _g_get_screen);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "os", _g_get_os);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "os_version", _g_get_os_version);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "server_name", _g_get_server_name);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpgameId", _g_get_cpgameId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpdid", _g_get_cpdid);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpdevice_name", _g_get_cpdevice_name);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpplatformId", _g_get_cpplatformId);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpuserid", _g_get_cpuserid);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpuserName", _g_get_cpuserName);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpgameName", _g_get_cpgameName);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cpPlatformGname", _g_get_cpPlatformGname);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "appId", _s_set_appId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "roleId", _s_set_roleId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "channelId", _s_set_channelId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sourceId", _s_set_sourceId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "deviceId", _s_set_deviceId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "platform", _s_set_platform);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "app_version", _s_set_app_version);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "merchant", _s_set_merchant);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "net_type", _s_set_net_type);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "screen", _s_set_screen);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "os", _s_set_os);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "os_version", _s_set_os_version);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "server_name", _s_set_server_name);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpgameId", _s_set_cpgameId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpdid", _s_set_cpdid);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpdevice_name", _s_set_cpdevice_name);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpplatformId", _s_set_cpplatformId);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpuserid", _s_set_cpuserid);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpuserName", _s_set_cpuserName);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpgameName", _s_set_cpgameName);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cpPlatformGname", _s_set_cpPlatformGname);
Utils.EndObjectRegister(type, L, translator, null, null,
null, null, null);
Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0);
Utils.EndClassRegister(type, L, translator);
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int __CreateInstance(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
if(LuaAPI.lua_gettop(L) == 1)
{
MSG_BI.Device gen_ret = new MSG_BI.Device();
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 MSG_BI.Device constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Send(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.Send( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Excute(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.Excute( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ReadMessage(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
{
int _readPos = LuaAPI.xlua_tointeger(L, 2);
int _totalCount = LuaAPI.xlua_tointeger(L, 3);
gen_to_be_invoked.ReadMessage( ref _readPos, _totalCount );
LuaAPI.xlua_pushinteger(L, _readPos);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_WriteMessage(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
{
int _fieldNumber = LuaAPI.xlua_tointeger(L, 2);
int gen_ret = gen_to_be_invoked.WriteMessage( _fieldNumber );
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_Clear(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
{
gen_to_be_invoked.Clear( );
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_appId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.appId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_roleId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.roleId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_channelId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.channelId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_sourceId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.sourceId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_deviceId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.deviceId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_platform(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.platform);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_app_version(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.app_version);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_merchant(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.merchant);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_net_type(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.net_type);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_screen(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.screen);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_os(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.os);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_os_version(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.os_version);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_server_name(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.server_name);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpgameId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cpgameId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpdid(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpdid);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpdevice_name(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpdevice_name);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpplatformId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cpplatformId);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpuserid(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpuserid);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpuserName(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpuserName);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpgameName(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpgameName);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cpPlatformGname(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
LuaAPI.lua_pushstring(L, gen_to_be_invoked.cpPlatformGname);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_appId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.appId = 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_roleId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.roleId = 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_channelId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.channelId = LuaAPI.lua_tostring(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_sourceId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.sourceId = LuaAPI.lua_tostring(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_deviceId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.deviceId = LuaAPI.lua_tostring(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_platform(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.platform = 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_app_version(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.app_version = LuaAPI.lua_tostring(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_merchant(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.merchant = LuaAPI.lua_tostring(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_net_type(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.net_type = LuaAPI.lua_tostring(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_screen(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.screen = LuaAPI.lua_tostring(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_os(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.os = LuaAPI.lua_tostring(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_os_version(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.os_version = LuaAPI.lua_tostring(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_server_name(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.server_name = LuaAPI.lua_tostring(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_cpgameId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpgameId = 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_cpdid(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpdid = LuaAPI.lua_tostring(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_cpdevice_name(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpdevice_name = LuaAPI.lua_tostring(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_cpplatformId(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpplatformId = 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_cpuserid(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpuserid = LuaAPI.lua_tostring(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_cpuserName(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpuserName = LuaAPI.lua_tostring(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_cpgameName(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpgameName = LuaAPI.lua_tostring(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_cpPlatformGname(RealStatePtr L)
{
try {
ObjectTranslatorChild translator = (ObjectTranslatorChild)ObjectTranslatorPool.Instance.Find(L);
MSG_BI.Device gen_to_be_invoked = (MSG_BI.Device)translator.FastGetCSObj(L, 1);
gen_to_be_invoked.cpPlatformGname = LuaAPI.lua_tostring(L, 2);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}