744 lines
16 KiB
C#
744 lines
16 KiB
C#
|
//this source code was auto-generated by tolua#, do not modify it
|
|||
|
using System;
|
|||
|
using LuaInterface;
|
|||
|
|
|||
|
public class SDK_SDKPayArgsWrap
|
|||
|
{
|
|||
|
public static void Register(LuaState L)
|
|||
|
{
|
|||
|
L.BeginClass(typeof(SDK.SDKPayArgs), null);
|
|||
|
L.RegFunction("New", _CreateSDK_SDKPayArgs);
|
|||
|
L.RegFunction("__tostring", ToLua.op_ToString);
|
|||
|
L.RegVar("productId", get_productId, set_productId);
|
|||
|
L.RegVar("productName", get_productName, set_productName);
|
|||
|
L.RegVar("productDesc", get_productDesc, set_productDesc);
|
|||
|
L.RegVar("price", get_price, set_price);
|
|||
|
L.RegVar("ratio", get_ratio, set_ratio);
|
|||
|
L.RegVar("buyNum", get_buyNum, set_buyNum);
|
|||
|
L.RegVar("coinNum", get_coinNum, set_coinNum);
|
|||
|
L.RegVar("zoneId", get_zoneId, set_zoneId);
|
|||
|
L.RegVar("serverID", get_serverID, set_serverID);
|
|||
|
L.RegVar("serverName", get_serverName, set_serverName);
|
|||
|
L.RegVar("accounted", get_accounted, set_accounted);
|
|||
|
L.RegVar("roleID", get_roleID, set_roleID);
|
|||
|
L.RegVar("roleName", get_roleName, set_roleName);
|
|||
|
L.RegVar("roleLevel", get_roleLevel, set_roleLevel);
|
|||
|
L.RegVar("vip", get_vip, set_vip);
|
|||
|
L.RegVar("guildID", get_guildID, set_guildID);
|
|||
|
L.RegVar("payNotifyUrl", get_payNotifyUrl, set_payNotifyUrl);
|
|||
|
L.RegVar("extension", get_extension, set_extension);
|
|||
|
L.EndClass();
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int _CreateSDK_SDKPayArgs(IntPtr L)
|
|||
|
{
|
|||
|
SDK.SDKPayArgs obj = new SDK.SDKPayArgs();
|
|||
|
ToLua.PushValue(L, obj);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_productId(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.productId;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productId on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_productName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.productName;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_productDesc(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.productDesc;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productDesc on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_price(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int ret = obj.price;
|
|||
|
LuaDLL.lua_pushinteger(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index price on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_ratio(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int ret = obj.ratio;
|
|||
|
LuaDLL.lua_pushinteger(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index ratio on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_buyNum(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int ret = obj.buyNum;
|
|||
|
LuaDLL.lua_pushinteger(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index buyNum on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_coinNum(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int ret = obj.coinNum;
|
|||
|
LuaDLL.lua_pushinteger(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index coinNum on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_zoneId(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.zoneId;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index zoneId on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_serverID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.serverID;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index serverID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_serverName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.serverName;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index serverName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_accounted(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.accounted;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index accounted on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_roleID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.roleID;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_roleName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.roleName;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_roleLevel(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int ret = obj.roleLevel;
|
|||
|
LuaDLL.lua_pushinteger(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleLevel on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_vip(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.vip;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index vip on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_guildID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.guildID;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index guildID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_payNotifyUrl(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.payNotifyUrl;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index payNotifyUrl on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int get_extension(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string ret = obj.extension;
|
|||
|
LuaDLL.lua_pushstring(L, ret);
|
|||
|
return 1;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index extension on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_productId(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.productId = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productId on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_productName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.productName = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_productDesc(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.productDesc = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index productDesc on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_price(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
obj.price = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index price on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_ratio(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
obj.ratio = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index ratio on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_buyNum(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
obj.buyNum = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index buyNum on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_coinNum(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
obj.coinNum = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index coinNum on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_zoneId(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.zoneId = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index zoneId on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_serverID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.serverID = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index serverID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_serverName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.serverName = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index serverName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_accounted(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.accounted = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index accounted on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_roleID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.roleID = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_roleName(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.roleName = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleName on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_roleLevel(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
|
|||
|
obj.roleLevel = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index roleLevel on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_vip(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.vip = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index vip on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_guildID(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.guildID = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index guildID on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_payNotifyUrl(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.payNotifyUrl = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index payNotifyUrl on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|||
|
static int set_extension(IntPtr L)
|
|||
|
{
|
|||
|
object o = null;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
o = ToLua.ToObject(L, 1);
|
|||
|
SDK.SDKPayArgs obj = (SDK.SDKPayArgs)o;
|
|||
|
string arg0 = ToLua.CheckString(L, 2);
|
|||
|
obj.extension = arg0;
|
|||
|
ToLua.SetBack(L, 1, obj);
|
|||
|
return 0;
|
|||
|
}
|
|||
|
catch(Exception e)
|
|||
|
{
|
|||
|
return LuaDLL.toluaL_exception(L, e, o, "attempt to index extension on a nil value");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|