#include <particles.h>
Public Member Functions | |
| void | serialize (std::ostream &os, u16 protocol_ver, bool newPropertiesOnly=false, bool skipAnimation=false) const |
| void | deSerialize (std::istream &is, u16 protocol_ver, bool newPropertiesOnly=false, bool skipAnimation=false) |
Public Attributes | |
| std::string | string |
| Public Attributes inherited from ParticleTexture | |
| bool | animated = false |
| ParticleParamTypes::BlendMode | blendmode = ParticleParamTypes::BlendMode::alpha |
| TileAnimationParams | animation |
| ParticleParamTypes::f32Tween | alpha {1.0f} |
| ParticleParamTypes::v2fTween | scale {v2f(1.0f)} |
| void ServerParticleTexture::deSerialize | ( | std::istream & | is, |
| u16 | protocol_ver, | ||
| bool | newPropertiesOnly = false, | ||
| bool | skipAnimation = false ) |
References ParticleTexture::alpha, ParticleTexture::animated, animated, ParticleTexture::animation, blend, ParticleTexture::blendmode, ParticleParamTypes::deSerializeParameterValue(), deSerializeString32(), and ParticleTexture::scale.
Referenced by Client::handleCommand_AddParticleSpawner().
| void ServerParticleTexture::serialize | ( | std::ostream & | os, |
| u16 | protocol_ver, | ||
| bool | newPropertiesOnly = false, | ||
| bool | skipAnimation = false ) const |
References ParticleTexture::alpha, ParticleTexture::animated, animated, ParticleTexture::animation, ParticleTexture::blendmode, ParticleTexture::scale, ParticleParamTypes::serializeParameterValue(), and serializeString32().
| std::string ServerParticleTexture::string |
Referenced by LuaParticleParams::readTexValue().