//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class AroundSphereMoveWrap { public static void Register(LuaState L) { L.BeginClass(typeof(AroundSphereMove), typeof(UnityEngine.MonoBehaviour)); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("shakeDir", get_shakeDir, set_shakeDir); L.RegVar("shakeSpeed", get_shakeSpeed, set_shakeSpeed); L.RegVar("moveRadius", get_moveRadius, set_moveRadius); L.RegVar("moveAngleSpeed", get_moveAngleSpeed, set_moveAngleSpeed); L.RegVar("selfRotateSpeed", get_selfRotateSpeed, set_selfRotateSpeed); L.RegVar("OffsetHeight", get_OffsetHeight, set_OffsetHeight); L.RegVar("Scale", get_Scale, set_Scale); L.RegVar("OffsetAngle", get_OffsetAngle, set_OffsetAngle); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int op_Equality(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2); bool o = arg0 == arg1; LuaDLL.lua_pushboolean(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_shakeDir(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; UnityEngine.Vector3 ret = obj.shakeDir; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeDir on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_shakeSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.shakeSpeed; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_moveRadius(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.moveRadius; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveRadius on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_moveAngleSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.moveAngleSpeed; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveAngleSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_selfRotateSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.selfRotateSpeed; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index selfRotateSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OffsetHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.OffsetHeight; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Scale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float ret = obj.Scale; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Scale on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_OffsetAngle(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; UnityEngine.Quaternion ret = obj.OffsetAngle; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetAngle on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_shakeDir(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; UnityEngine.Vector3 arg0 = ToLua.ToVector3(L, 2); obj.shakeDir = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeDir on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_shakeSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.shakeSpeed = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shakeSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_moveRadius(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.moveRadius = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveRadius on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_moveAngleSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.moveAngleSpeed = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index moveAngleSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_selfRotateSpeed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.selfRotateSpeed = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index selfRotateSpeed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OffsetHeight(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.OffsetHeight = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetHeight on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_Scale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.Scale = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Scale on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_OffsetAngle(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); AroundSphereMove obj = (AroundSphereMove)o; UnityEngine.Quaternion arg0 = ToLua.ToQuaternion(L, 2); obj.OffsetAngle = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index OffsetAngle on a nil value"); } } }