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

760 lines
30 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 UnityEngineParticleSystemTextureSheetAnimationModuleWrap
{
public static void __Register(RealStatePtr L)
{
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
System.Type type = typeof(UnityEngine.ParticleSystem.TextureSheetAnimationModule);
Utils.BeginObjectRegister(type, L, translator, 0, 4, 17, 16);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddSprite", _m_AddSprite);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "RemoveSprite", _m_RemoveSprite);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetSprite", _m_SetSprite);
Utils.RegisterFunc(L, Utils.METHOD_IDX, "GetSprite", _m_GetSprite);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "enabled", _g_get_enabled);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "mode", _g_get_mode);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "timeMode", _g_get_timeMode);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "fps", _g_get_fps);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "numTilesX", _g_get_numTilesX);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "numTilesY", _g_get_numTilesY);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "animation", _g_get_animation);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rowMode", _g_get_rowMode);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "frameOverTime", _g_get_frameOverTime);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "frameOverTimeMultiplier", _g_get_frameOverTimeMultiplier);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "startFrame", _g_get_startFrame);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "startFrameMultiplier", _g_get_startFrameMultiplier);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "cycleCount", _g_get_cycleCount);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "rowIndex", _g_get_rowIndex);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "uvChannelMask", _g_get_uvChannelMask);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "spriteCount", _g_get_spriteCount);
Utils.RegisterFunc(L, Utils.GETTER_IDX, "speedRange", _g_get_speedRange);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "enabled", _s_set_enabled);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "mode", _s_set_mode);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "timeMode", _s_set_timeMode);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "fps", _s_set_fps);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "numTilesX", _s_set_numTilesX);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "numTilesY", _s_set_numTilesY);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "animation", _s_set_animation);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rowMode", _s_set_rowMode);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "frameOverTime", _s_set_frameOverTime);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "frameOverTimeMultiplier", _s_set_frameOverTimeMultiplier);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "startFrame", _s_set_startFrame);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "startFrameMultiplier", _s_set_startFrameMultiplier);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "cycleCount", _s_set_cycleCount);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "rowIndex", _s_set_rowIndex);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "uvChannelMask", _s_set_uvChannelMask);
Utils.RegisterFunc(L, Utils.SETTER_IDX, "speedRange", _s_set_speedRange);
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) == 1)
{
translator.Push(L, default(UnityEngine.ParticleSystem.TextureSheetAnimationModule));
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.ParticleSystem.TextureSheetAnimationModule constructor!");
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _m_AddSprite(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
UnityEngine.Sprite _sprite = (UnityEngine.Sprite)translator.GetObject(L, 2, typeof(UnityEngine.Sprite));
gen_to_be_invoked.AddSprite( _sprite );
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_RemoveSprite(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
gen_to_be_invoked.RemoveSprite( _index );
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_SetSprite(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
UnityEngine.Sprite _sprite = (UnityEngine.Sprite)translator.GetObject(L, 3, typeof(UnityEngine.Sprite));
gen_to_be_invoked.SetSprite( _index, _sprite );
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_GetSprite(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
{
int _index = LuaAPI.xlua_tointeger(L, 2);
var gen_ret = gen_to_be_invoked.GetSprite( _index );
translator.Push(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_enabled(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.enabled);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_mode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.mode);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_timeMode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.timeMode);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_fps(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.fps);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_numTilesX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.numTilesX);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_numTilesY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.numTilesY);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_animation(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.animation);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_rowMode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.rowMode);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_frameOverTime(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.frameOverTime);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_frameOverTimeMultiplier(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.frameOverTimeMultiplier);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_startFrame(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.startFrame);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_startFrameMultiplier(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.startFrameMultiplier);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_cycleCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.cycleCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_rowIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.rowIndex);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_uvChannelMask(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.Push(L, gen_to_be_invoked.uvChannelMask);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_spriteCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.spriteCount);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _g_get_speedRange(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
translator.PushUnityEngineVector2(L, gen_to_be_invoked.speedRange);
} catch(System.Exception gen_e) {
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
}
return 1;
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _s_set_enabled(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.enabled = LuaAPI.lua_toboolean(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_mode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystemAnimationMode gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.mode = 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_timeMode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystemAnimationTimeMode gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.timeMode = 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_fps(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.fps = (float)LuaAPI.lua_tonumber(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_numTilesX(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.numTilesX = 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_numTilesY(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.numTilesY = 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_animation(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystemAnimationType gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.animation = 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_rowMode(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystemAnimationRowMode gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.rowMode = 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_frameOverTime(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystem.MinMaxCurve gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.frameOverTime = 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_frameOverTimeMultiplier(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.frameOverTimeMultiplier = (float)LuaAPI.lua_tonumber(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_startFrame(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.ParticleSystem.MinMaxCurve gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.startFrame = 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_startFrameMultiplier(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.startFrameMultiplier = (float)LuaAPI.lua_tonumber(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_cycleCount(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.cycleCount = 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_rowIndex(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
gen_to_be_invoked.rowIndex = 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_uvChannelMask(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Rendering.UVChannelFlags gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.uvChannelMask = 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_speedRange(RealStatePtr L)
{
try {
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
UnityEngine.ParticleSystem.TextureSheetAnimationModule gen_to_be_invoked;translator.Get(L, 1, out gen_to_be_invoked);
UnityEngine.Vector2 gen_value;translator.Get(L, 2, out gen_value);
gen_to_be_invoked.speedRange = 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;
}
}
}