Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
ClientEvent Struct Reference

#include <clientevent.h>

+ Collaboration diagram for ClientEvent:

Public Attributes

ClientEventType type
 
union { 
 
   struct { 
 
      u16   amount 
 
      bool   effect 
 
   }   player_damage 
 
   struct { 
 
      f32   pitch 
 
      f32   yaw 
 
   }   player_force_move 
 
   struct { 
 
      std::string *   formspec 
 
      std::string *   formname 
 
   }   show_formspec 
 
   ParticleParameters *   spawn_particle 
 
   struct { 
 
      ParticleSpawnerParameters *   p 
 
      u16   attached_id 
 
      u64   id 
 
   }   add_particlespawner 
 
   struct { 
 
      u32   id 
 
   }   delete_particlespawner 
 
   ClientEventHudAdd *   hudadd 
 
   struct { 
 
      u32   id 
 
   }   hudrm 
 
   ClientEventHudChange *   hudchange 
 
   SkyboxParams *   set_sky 
 
   struct { 
 
      bool   do_override 
 
      float   ratio_f 
 
   }   override_day_night_ratio 
 
   struct { 
 
      f32   density 
 
      u32   color_bright 
 
      u32   color_ambient 
 
      u32   color_shadow 
 
      f32   height 
 
      f32   thickness 
 
      f32   speed_x 
 
      f32   speed_y 
 
   }   cloud_params 
 
   SunParams *   sun_params 
 
   MoonParams *   moon_params 
 
   StarParams *   star_params 
 
};  
 

Member Data Documentation

◆ [union]

union { ... } ClientEvent

◆ [struct]

struct { ... } ClientEvent::add_particlespawner

◆ amount

u16 ClientEvent::amount

◆ attached_id

u16 ClientEvent::attached_id

◆ [struct]

struct { ... } ClientEvent::cloud_params

◆ color_ambient

u32 ClientEvent::color_ambient

◆ color_bright

u32 ClientEvent::color_bright

◆ color_shadow

u32 ClientEvent::color_shadow

◆ [struct]

struct { ... } ClientEvent::delete_particlespawner

◆ density

f32 ClientEvent::density

◆ do_override

bool ClientEvent::do_override

◆ effect

bool ClientEvent::effect

◆ formname

std::string* ClientEvent::formname

◆ formspec

std::string* ClientEvent::formspec

◆ height

f32 ClientEvent::height

◆ hudadd

ClientEventHudAdd* ClientEvent::hudadd

◆ hudchange

ClientEventHudChange* ClientEvent::hudchange

◆ [struct]

struct { ... } ClientEvent::hudrm

◆ id [1/2]

◆ id [2/2]

u32 ClientEvent::id

◆ moon_params

◆ [struct]

struct { ... } ClientEvent::override_day_night_ratio

◆ p

ParticleSpawnerParameters* ClientEvent::p

◆ pitch

f32 ClientEvent::pitch

◆ [struct]

struct { ... } ClientEvent::player_damage

◆ [struct]

struct { ... } ClientEvent::player_force_move

◆ ratio_f

float ClientEvent::ratio_f

◆ set_sky

◆ [struct]

struct { ... } ClientEvent::show_formspec

◆ spawn_particle

ParticleParameters* ClientEvent::spawn_particle

◆ speed_x

f32 ClientEvent::speed_x

◆ speed_y

f32 ClientEvent::speed_y

◆ star_params

◆ sun_params

◆ thickness

f32 ClientEvent::thickness

◆ type

◆ yaw

f32 ClientEvent::yaw

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