#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::TweenedParameter< T >::deSerialize(), TileAnimationParams::deSerialize(), ParticleParamTypes::deSerializeParameterValue(), deSerializeString32(), and ParticleTexture::scale.
Referenced by ParticleParameters::deSerialize(), and 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::TweenedParameter< T >::serialize(), TileAnimationParams::serialize(), ParticleParamTypes::serializeParameterValue(), and serializeString32().
Referenced by ParticleParameters::serialize().
std::string ServerParticleTexture::string |