Minetest 5.9.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) const
 
void deSerialize (std::istream &is, u16 protocol_ver, bool newPropertiesOnly=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 
)

References ParticleTexture::alpha, ParticleTexture::animated, ParticleTexture::animation, ParticleTexture::blendmode, ParticleParamTypes::TweenedParameter< T >::deSerialize(), TileAnimationParams::deSerialize(), ParticleParamTypes::deSerializeParameterValue(), deSerializeString32(), and ParticleTexture::scale.

Referenced by 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 
) const

Member Data Documentation

◆ string

std::string ServerParticleTexture::string

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