c1_unity/Assets/XLua/Gen/UnityEngine_BoundsIntWrap.cs
2023-04-03 11:04:31 +08:00

834 lines
31 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 UnityEngineBoundsIntWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(UnityEngine.BoundsInt);
Utils.BeginObjectRegister(type, L, translator, 1, 6, 15, 13);
Utils.RegisterFunc(L, Utils.OBJ_META_IDX, "__eq", __EqMeta);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetMinMax", _m_SetMinMax);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClampToBounds", _m_ClampToBounds);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Contains", _m_Contains);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "ToString", _m_ToString);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "Equals", _m_Equals);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetHashCode", _m_GetHashCode);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "x", _g_get_x);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "y", _g_get_y);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "z", _g_get_z);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "center", _g_get_center);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "min", _g_get_min);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "max", _g_get_max);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "xMin", _g_get_xMin);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "yMin", _g_get_yMin);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "zMin", _g_get_zMin);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "xMax", _g_get_xMax);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "yMax", _g_get_yMax);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "zMax", _g_get_zMax);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "position", _g_get_position);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "size", _g_get_size);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "allPositionsWithin", _g_get_allPositionsWithin);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "x", _s_set_x);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "y", _s_set_y);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "z", _s_set_z);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "min", _s_set_min);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "max", _s_set_max);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "xMin", _s_set_xMin);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "yMin", _s_set_yMin);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "zMin", _s_set_zMin);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "xMax", _s_set_xMax);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "yMax", _s_set_yMax);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "zMax", _s_set_zMax);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "position", _s_set_position);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "size", _s_set_size);
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 {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
if(LuaAPI.lua_gettop(L) == 7 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 3) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 4) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 5) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 6) && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 7))
{
int _xMin = LuaAPI.xlua_tointeger(L, 2);
int _yMin = LuaAPI.xlua_tointeger(L, 3);
int _zMin = LuaAPI.xlua_tointeger(L, 4);
int _sizeX = LuaAPI.xlua_tointeger(L, 5);
int _sizeY = LuaAPI.xlua_tointeger(L, 6);
int _sizeZ = LuaAPI.xlua_tointeger(L, 7);
var gen_ret = new UnityEngine.BoundsInt(_xMin, _yMin, _zMin, _sizeX, _sizeY, _sizeZ);
translator.Push(L, gen_ret);
return 1;
}
if(LuaAPI.lua_gettop(L) == 3 && translator.Assignable<UnityEngine.Vector3Int>(L, 2) && translator.Assignable<UnityEngine.Vector3Int>(L, 3))
{
UnityEngine.Vector3Int _position;translator.Get(L, 2, out _position);
UnityEngine.Vector3Int _size;translator.Get(L, 3, out _size);
var gen_ret = new UnityEngine.BoundsInt(_position, _size);
translator.Push(L, gen_ret);
return 1;
}
if (LuaAPI.lua_gettop(L) == 1)
{
translator.Push(L, default(UnityEngine.BoundsInt));
return 1;
}
}
catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.BoundsInt constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int __EqMeta(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
if (translator.Assignable<UnityEngine.BoundsInt>(L, 1) && translator.Assignable<UnityEngine.BoundsInt>(L, 2))
{
UnityEngine.BoundsInt leftside;translator.Get(L, 1, out leftside);
UnityEngine.BoundsInt rightside;translator.Get(L, 2, out rightside);
LuaAPI.lua_pushboolean(L, leftside == rightside);
return 1;
}
}
catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to right hand of == operator, need UnityEngine.BoundsInt!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_SetMinMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
UnityEngine.Vector3Int _minPosition;translator.Get(L, 2, out _minPosition);
UnityEngine.Vector3Int _maxPosition;translator.Get(L, 3, out _maxPosition);
gen_to_be_invoked.SetMinMax( _minPosition, _maxPosition );
translator.Update(L, 1, gen_to_be_invoked);
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ClampToBounds(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
UnityEngine.BoundsInt _bounds;translator.Get(L, 2, out _bounds);
gen_to_be_invoked.ClampToBounds( _bounds );
translator.Update(L, 1, gen_to_be_invoked);
return 0;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Contains(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
UnityEngine.Vector3Int _position;translator.Get(L, 2, out _position);
var gen_ret = gen_to_be_invoked.Contains( _position );
LuaAPI.lua_pushboolean(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_ToString(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 1)
{
var gen_ret = gen_to_be_invoked.ToString( );
LuaAPI.lua_pushstring(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
{
string _format = LuaAPI.lua_tostring(L, 2);
var gen_ret = gen_to_be_invoked.ToString( _format );
LuaAPI.lua_pushstring(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
if(gen_param_count == 3&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& translator.Assignable<System.IFormatProvider>(L, 3))
{
string _format = LuaAPI.lua_tostring(L, 2);
System.IFormatProvider _formatProvider = (System.IFormatProvider)translator.GetObject(L, 3, typeof(System.IFormatProvider));
var gen_ret = gen_to_be_invoked.ToString( _format, _formatProvider );
LuaAPI.lua_pushstring(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.BoundsInt.ToString!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_Equals(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
int gen_param_count = LuaAPI.lua_gettop(L);
if(gen_param_count == 2&& translator.Assignable<object>(L, 2))
{
object _other = translator.GetObject(L, 2, typeof(object));
var gen_ret = gen_to_be_invoked.Equals( _other );
LuaAPI.lua_pushboolean(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
if(gen_param_count == 2&& translator.Assignable<UnityEngine.BoundsInt>(L, 2))
{
UnityEngine.BoundsInt _other;translator.Get(L, 2, out _other);
var gen_ret = gen_to_be_invoked.Equals( _other );
LuaAPI.lua_pushboolean(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return LuaAPI.luaL_error(L, "invalid arguments to UnityEngine.BoundsInt.Equals!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_GetHashCode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
var gen_ret = gen_to_be_invoked.GetHashCode( );
LuaAPI.xlua_pushinteger(L, gen_ret);
translator.Update(L, 1, gen_to_be_invoked);
return 1;
}
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_x(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.x);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_y(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.y);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_z(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.z);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_center(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.PushUnityEngineVector3(L, gen_to_be_invoked.center);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_min(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.min);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_max(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.max);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_xMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.xMin);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_yMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.yMin);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_zMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.zMin);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_xMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.xMax);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_yMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.yMax);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_zMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.zMax);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_position(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.position);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_size(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.size);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_allPositionsWithin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.allPositionsWithin);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_x(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.x = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_y(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.y = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_z(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.z = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_min(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.min = gen_value;
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_max(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.max = gen_value;
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_xMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.xMin = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_yMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.yMin = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_zMin(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.zMin = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_xMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.xMax = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_yMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.yMax = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_zMax(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.zMax = LuaAPI.xlua_tointeger(L, 2);
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_position(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.position = gen_value;
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_size(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.BoundsInt gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Vector3Int gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.size = gen_value;
translator.Update(L, 1, gen_to_be_invoked);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 0;
}
}
}