Minetest  5.4.0
ClientEvent Struct Reference

#include <clientevent.h>

+ Collaboration diagram for ClientEvent:

Public Attributes

ClientEventType type
 
union {
   struct {
      u16   amount
 
   }   player_damage
 
   struct {
      f32   pitch
 
      f32   yaw
 
   }   player_force_move
 
   struct {
      bool   set_camera_point_target
 
      f32   camera_point_target_x
 
      f32   camera_point_target_y
 
      f32   camera_point_target_z
 
   }   deathscreen
 
   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
 
   struct {
      u32   server_id
 
      u8   type
 
      v2f *   pos
 
      std::string *   name
 
      v2f *   scale
 
      std::string *   text
 
      u32   number
 
      u32   item
 
      u32   dir
 
      v2f *   align
 
      v2f *   offset
 
      v3f *   world_pos
 
      v2s32 *   size
 
      s16   z_index
 
      std::string *   text2
 
   }   hudadd
 
   struct {
      u32   id
 
   }   hudrm
 
   struct {
      u32   id
 
      HudElementStat   stat
 
      v2f *   v2fdata
 
      std::string *   sdata
 
      u32   data
 
      v3f *   v3fdata
 
      v2s32 *   v2s32data
 
   }   hudchange
 
   SkyboxParams *   set_sky
 
   struct {
      bool   do_override
 
      float   ratio_f
 
   }   override_day_night_ratio
 
   struct {
      f32   density
 
      u32   color_bright
 
      u32   color_ambient
 
      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 { ... }

◆ 

struct { ... } ClientEvent::add_particlespawner

◆ align

v2f* ClientEvent::align

◆ amount

u16 ClientEvent::amount

◆ attached_id

u16 ClientEvent::attached_id

◆ camera_point_target_x

f32 ClientEvent::camera_point_target_x

◆ camera_point_target_y

f32 ClientEvent::camera_point_target_y

◆ camera_point_target_z

f32 ClientEvent::camera_point_target_z

◆ 

struct { ... } ClientEvent::cloud_params

◆ color_ambient

u32 ClientEvent::color_ambient

◆ color_bright

u32 ClientEvent::color_bright

◆ data

u32 ClientEvent::data

◆ 

struct { ... } ClientEvent::deathscreen

◆ 

struct { ... } ClientEvent::delete_particlespawner

◆ density

f32 ClientEvent::density

◆ dir

u32 ClientEvent::dir

◆ do_override

bool ClientEvent::do_override

◆ formname

std::string* ClientEvent::formname

◆ formspec

std::string* ClientEvent::formspec

◆ height

f32 ClientEvent::height

◆ 

struct { ... } ClientEvent::hudadd

◆ 

struct { ... } ClientEvent::hudchange

◆ 

struct { ... } ClientEvent::hudrm

◆ id [1/2]

u64 ClientEvent::id

◆ id [2/2]

u32 ClientEvent::id

◆ item

u32 ClientEvent::item

◆ moon_params

◆ name

std::string* ClientEvent::name

◆ number

u32 ClientEvent::number

◆ offset

v2f* ClientEvent::offset

◆ 

struct { ... } ClientEvent::override_day_night_ratio

◆ p

ParticleSpawnerParameters* ClientEvent::p

◆ pitch

f32 ClientEvent::pitch

◆ 

struct { ... } ClientEvent::player_damage

◆ 

struct { ... } ClientEvent::player_force_move

◆ pos

v2f* ClientEvent::pos

◆ ratio_f

float ClientEvent::ratio_f

◆ scale

v2f* ClientEvent::scale

◆ sdata

std::string* ClientEvent::sdata

◆ server_id

u32 ClientEvent::server_id

◆ set_camera_point_target

bool ClientEvent::set_camera_point_target

◆ set_sky

◆ 

struct { ... } ClientEvent::show_formspec

◆ size

v2s32* ClientEvent::size

◆ spawn_particle

ParticleParameters* ClientEvent::spawn_particle

◆ speed_x

f32 ClientEvent::speed_x

◆ speed_y

f32 ClientEvent::speed_y

◆ star_params

◆ stat

HudElementStat ClientEvent::stat

◆ sun_params

◆ text

std::string* ClientEvent::text

◆ text2

std::string* ClientEvent::text2

◆ thickness

f32 ClientEvent::thickness

◆ type [1/2]

◆ type [2/2]

u8 ClientEvent::type

◆ v2fdata

v2f* ClientEvent::v2fdata

◆ v2s32data

v2s32* ClientEvent::v2s32data

◆ v3fdata

v3f* ClientEvent::v3fdata

◆ world_pos

v3f* ClientEvent::world_pos

◆ yaw

f32 ClientEvent::yaw

◆ z_index

s16 ClientEvent::z_index

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