Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ServerParticleTexture Struct Reference

#include <particles.h>

+ Inheritance diagram for ServerParticleTexture:
+ Collaboration diagram for ServerParticleTexture:

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)}
 

Member Function Documentation

◆ deSerialize()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ serialize()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ string

std::string ServerParticleTexture::string

The documentation for this struct was generated from the following files: