OpenEnroth 2a41f3e
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
EvtInstruction Class Reference

#include <EvtInstruction.h>

Public Member Functions

std::string toString () const
 

Static Public Member Functions

static EvtInstruction parse (SequentialBlobReader &sbr, const size_t size)
 

Public Attributes

EvtOpcode opcode
 
int step
 
int target_step
 
EvtTargetCharacter who
 
std::string str
 
union {
   HouseId   house_id
 
   int   chest_id
 
   CharacterPortrait   portrait_id
 
   CharacterSpeech   speech_id
 
   int   text_id
 
   Season   season
 
   int   event_id
 
   int   movie_unknown_field
 
   int   can_show_npc_dialogue
 
   struct {
      std::array< int, 6 >   random_goto
 
      int   random_goto_len
 
   }   random_goto_descr
 
   struct {
      int   npc_id
 
      int   greeting
 
   }   npc_descr
 
   struct {
      int   id
 
      ItemId   item
 
      bool   is_give
 
   }   npc_item_descr
 
   struct {
      EvtVariable   type
 
      int   value
 
   }   variable_descr
 
   struct {
      SoundId   sound_id
 
      int   x
 
      int   y
 
   }   sound_descr
 
   struct {
      DamageType   damage_type
 
      int   damage
 
   }   damage_descr
 
   struct {
      ActorKillCheckPolicy   policy
 
      int   param
 
      int   num
 
   }   actor_descr
 
   struct {
      int   id
 
      ActorAttribute   attr
 
      int   is_set
 
   }   actor_flag_descr
 
   struct {
      SpellId   spell_id
 
      CharacterSkillMastery   spell_mastery
 
      int   spell_level
 
      int   fromx
 
      int   fromy
 
      int   fromz
 
      int   tox
 
      int   toy
 
      int   toz
 
   }   spell_descr
 
   struct {
      int   type
 
      int   level
 
      int   count
 
      int   x
 
      int   y
 
      int   z
 
      int   group
 
      int   name_id
 
   }   monster_descr
 
   struct {
      bool   is_yearly
 
      bool   is_monthly
 
      bool   is_weekly
 
      int   daily_start_hour
 
      int   daily_start_minute
 
      int   daily_start_second
 
      int   alt_halfmin_interval
 
   }   timer_descr
 
   struct {
      bool   is_nop
 
      bool   is_enable
 
   }   snow_descr
 
   struct {
      int   cog
 
      int   hide
 
   }   sprite_texture_descr
 
   struct {
      int   door_id
 
      DoorAction   door_action
 
   }   door_descr
 
   struct {
      int   light_id
 
      int   is_enable
 
   }   light_descr
 
   struct {
      int   npc_id
 
      int   index
 
      int   event_id
 
   }   npc_topic_descr
 
   struct {
      int   x
 
      int   y
 
      int   z
 
      int   yaw
 
      int   pitch
 
      int   zspeed
 
      HouseId   house_id
 
      int   exit_pic_id
 
   }   move_map_descr
 
   struct {
      int   cog
 
      FaceAttribute   face_bit
 
      int   is_on
 
   }   faces_bit_descr
 
   struct {
      SpriteId   sprite
 
      int   x
 
      int   y
 
      int   z
 
      int   speed
 
      int   count
 
      bool   random_rotate
 
   }   summon_item_descr
 
   struct {
      int   npc_id
 
      HouseId   location_id
 
   }   npc_move_descr
 
   struct {
      int   groups_id
 
      int   group
 
   }   npc_groups_descr
 
   struct {
      ItemTreasureLevel   treasure_level
 
      RandomItemType   treasure_type
 
      ItemId   item_id
 
   }   give_item_descr
 
   struct {
      int   chest_id
 
      ChestFlag   flag
 
      int   is_set
 
   }   chest_flag_descr
 
   struct {
      CharacterSkillType   skill_type
 
      CharacterSkillMastery   skill_mastery
 
      int   skill_level
 
   }   check_skill_descr
 
data
 

Member Function Documentation

◆ parse()

EvtInstruction EvtInstruction::parse ( SequentialBlobReader sbr,
const size_t  size 
)
static

◆ toString()

std::string EvtInstruction::toString ( ) const

Member Data Documentation

◆ 

struct { ... } EvtInstruction::actor_descr

◆ 

struct { ... } EvtInstruction::actor_flag_descr

◆ alt_halfmin_interval

int EvtInstruction::alt_halfmin_interval

◆ attr

ActorAttribute EvtInstruction::attr

◆ can_show_npc_dialogue

int EvtInstruction::can_show_npc_dialogue

◆ 

struct { ... } EvtInstruction::check_skill_descr

◆ 

struct { ... } EvtInstruction::chest_flag_descr

◆ chest_id

int EvtInstruction::chest_id

◆ cog

int EvtInstruction::cog

◆ count

int EvtInstruction::count

◆ daily_start_hour

int EvtInstruction::daily_start_hour

◆ daily_start_minute

int EvtInstruction::daily_start_minute

◆ daily_start_second

int EvtInstruction::daily_start_second

◆ damage

int EvtInstruction::damage

◆ 

struct { ... } EvtInstruction::damage_descr

◆ damage_type

DamageType EvtInstruction::damage_type

◆ 

union { ... } EvtInstruction::data

◆ door_action

DoorAction EvtInstruction::door_action

◆ 

struct { ... } EvtInstruction::door_descr

◆ door_id

int EvtInstruction::door_id

◆ event_id

int EvtInstruction::event_id

◆ exit_pic_id

int EvtInstruction::exit_pic_id

◆ face_bit

FaceAttribute EvtInstruction::face_bit

◆ 

struct { ... } EvtInstruction::faces_bit_descr

◆ flag

ChestFlag EvtInstruction::flag

◆ fromx

int EvtInstruction::fromx

◆ fromy

int EvtInstruction::fromy

◆ fromz

int EvtInstruction::fromz

◆ 

struct { ... } EvtInstruction::give_item_descr

◆ greeting

int EvtInstruction::greeting

◆ group

int EvtInstruction::group

◆ groups_id

int EvtInstruction::groups_id

◆ hide

int EvtInstruction::hide

◆ house_id

HouseId EvtInstruction::house_id

◆ id

int EvtInstruction::id

◆ index

int EvtInstruction::index

◆ is_enable [1/2]

bool EvtInstruction::is_enable

◆ is_enable [2/2]

int EvtInstruction::is_enable

◆ is_give

bool EvtInstruction::is_give

◆ is_monthly

bool EvtInstruction::is_monthly

◆ is_nop

bool EvtInstruction::is_nop

◆ is_on

int EvtInstruction::is_on

◆ is_set

int EvtInstruction::is_set

◆ is_weekly

bool EvtInstruction::is_weekly

◆ is_yearly

bool EvtInstruction::is_yearly

◆ item

ItemId EvtInstruction::item

◆ item_id

ItemId EvtInstruction::item_id

◆ level

int EvtInstruction::level

◆ 

struct { ... } EvtInstruction::light_descr

◆ light_id

int EvtInstruction::light_id

◆ location_id

HouseId EvtInstruction::location_id

◆ 

struct { ... } EvtInstruction::monster_descr

◆ 

struct { ... } EvtInstruction::move_map_descr

◆ movie_unknown_field

int EvtInstruction::movie_unknown_field

◆ name_id

int EvtInstruction::name_id

◆ 

struct { ... } EvtInstruction::npc_descr

◆ 

struct { ... } EvtInstruction::npc_groups_descr

◆ npc_id

int EvtInstruction::npc_id

◆ 

struct { ... } EvtInstruction::npc_item_descr

◆ 

struct { ... } EvtInstruction::npc_move_descr

◆ 

struct { ... } EvtInstruction::npc_topic_descr

◆ num

int EvtInstruction::num

◆ opcode

EvtOpcode EvtInstruction::opcode

◆ param

int EvtInstruction::param

◆ pitch

int EvtInstruction::pitch

◆ policy

ActorKillCheckPolicy EvtInstruction::policy

◆ portrait_id

CharacterPortrait EvtInstruction::portrait_id

◆ random_goto

std::array<int, 6> EvtInstruction::random_goto

◆ 

struct { ... } EvtInstruction::random_goto_descr

◆ random_goto_len

int EvtInstruction::random_goto_len

◆ random_rotate

bool EvtInstruction::random_rotate

◆ season

Season EvtInstruction::season

◆ skill_level

int EvtInstruction::skill_level

◆ skill_mastery

CharacterSkillMastery EvtInstruction::skill_mastery

◆ skill_type

CharacterSkillType EvtInstruction::skill_type

◆ 

struct { ... } EvtInstruction::snow_descr

◆ 

struct { ... } EvtInstruction::sound_descr

◆ sound_id

SoundId EvtInstruction::sound_id

◆ speech_id

CharacterSpeech EvtInstruction::speech_id

◆ speed

int EvtInstruction::speed

◆ 

struct { ... } EvtInstruction::spell_descr

◆ spell_id

SpellId EvtInstruction::spell_id

◆ spell_level

int EvtInstruction::spell_level

◆ spell_mastery

CharacterSkillMastery EvtInstruction::spell_mastery

◆ sprite

SpriteId EvtInstruction::sprite

◆ 

struct { ... } EvtInstruction::sprite_texture_descr

◆ step

int EvtInstruction::step

◆ str

std::string EvtInstruction::str

◆ 

struct { ... } EvtInstruction::summon_item_descr

◆ target_step

int EvtInstruction::target_step

◆ text_id

int EvtInstruction::text_id

◆ 

struct { ... } EvtInstruction::timer_descr

◆ tox

int EvtInstruction::tox

◆ toy

int EvtInstruction::toy

◆ toz

int EvtInstruction::toz

◆ treasure_level

ItemTreasureLevel EvtInstruction::treasure_level

◆ treasure_type

RandomItemType EvtInstruction::treasure_type

◆ type [1/2]

EvtVariable EvtInstruction::type

◆ type [2/2]

int EvtInstruction::type

◆ value

int EvtInstruction::value

◆ 

struct { ... } EvtInstruction::variable_descr

◆ who

EvtTargetCharacter EvtInstruction::who

◆ x

int EvtInstruction::x

◆ y

int EvtInstruction::y

◆ yaw

int EvtInstruction::yaw

◆ z

int EvtInstruction::z

◆ zspeed

int EvtInstruction::zspeed

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