Functions | |
template<typename T > | |
void | readNumericLuaValue (lua_State *L, T &ret) |
template<typename T , size_t N> | |
void | readNumericLuaValue (lua_State *L, Parameter< T, N > &ret) |
void | readLuaValue (lua_State *L, f32Parameter &ret) |
void | readLuaValue (lua_State *L, f32 &ret) |
void | readLuaValue (lua_State *L, u16 &ret) |
void | readLuaValue (lua_State *L, u8 &ret) |
void | readLuaValue (lua_State *L, v3fParameter &ret) |
void | readLuaValue (lua_State *L, v2fParameter &ret) |
void | readLuaValue (lua_State *L, TweenStyle &ret) |
void | readLuaValue (lua_State *L, AttractorKind &ret) |
void | readLuaValue (lua_State *L, BlendMode &ret) |
template<typename T > | |
void | readLuaValue (lua_State *L, RangedParameter< T > &field) |
template<typename T > | |
void | readLegacyValue (lua_State *L, const char *name, T &field) |
template<typename T > | |
void | readLegacyValue (lua_State *L, const char *name, RangedParameter< T > &field) |
template<typename T > | |
void | readTweenTable (lua_State *L, const char *name, TweenedParameter< T > &field) |
u16 | readAttachmentID (lua_State *L, const char *name) |
void | readTexValue (lua_State *L, ServerParticleTexture &tex) |
|
inline |
References ModApiBase::checkObject(), and ObjectRef::getobject().
Referenced by ModApiParticles::l_add_particlespawner(), and ModApiParticlesLocal::l_add_particlespawner().
void LuaParticleParams::readLegacyValue | ( | lua_State * | L, |
const char * | name, | ||
RangedParameter< T > & | field ) |
References ParticleParamTypes::RangedParameter< T >::max, ParticleParamTypes::RangedParameter< T >::min, and readLuaValue().
void LuaParticleParams::readLegacyValue | ( | lua_State * | L, |
const char * | name, | ||
T & | field ) |
|
inline |
|
inline |
|
inline |
|
inline |
References readNumericLuaValue().
Referenced by ModApiParticles::l_add_particle(), ModApiParticlesLocal::l_add_particle(), ModApiParticles::l_add_particlespawner(), ModApiParticlesLocal::l_add_particlespawner(), readLegacyValue(), readLuaValue(), readTexValue(), and readTweenTable().
void LuaParticleParams::readLuaValue | ( | lua_State * | L, |
RangedParameter< T > & | field ) |
References ParticleParamTypes::RangedParameter< T >::bias, ParticleParamTypes::RangedParameter< T >::max, ParticleParamTypes::RangedParameter< T >::min, and readLuaValue().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References readNumericLuaValue(), and ParticleParamTypes::Parameter< T, PN >::val.
|
inline |
Referenced by readLuaValue(), readLuaValue(), readLuaValue(), readLuaValue(), and readNumericLuaValue().
void LuaParticleParams::readTexValue | ( | lua_State * | L, |
ServerParticleTexture & | tex ) |
References ParticleTexture::alpha, ParticleTexture::animated, ParticleTexture::animation, ParticleTexture::blendmode, read_animation_definition(), readLuaValue(), readTweenTable(), ParticleTexture::scale, and ServerParticleTexture::string.
Referenced by ModApiParticles::l_add_particle(), ModApiParticlesLocal::l_add_particle(), ModApiParticles::l_add_particlespawner(), and ModApiParticlesLocal::l_add_particlespawner().
void LuaParticleParams::readTweenTable | ( | lua_State * | L, |
const char * | name, | ||
TweenedParameter< T > & | field ) |
References ParticleParamTypes::TweenedParameter< T >::beginning, ParticleParamTypes::TweenedParameter< T >::end, readLegacyValue(), readLuaValue(), ParticleParamTypes::TweenedParameter< T >::reps, ParticleParamTypes::TweenedParameter< T >::start, and ParticleParamTypes::TweenedParameter< T >::style.
Referenced by ModApiParticles::l_add_particlespawner(), ModApiParticlesLocal::l_add_particlespawner(), and readTexValue().