eolib 0.5.0
A core C library for writing applications related to Endless Online
Loading...
Searching...
No Matches
ItemReplyServerPacket Struct Reference

#include <protocol.h>

Data Fields

EoPacket _eo
ItemType item_type
Item used_item
Weight weight
union { 
   struct { 
      int32_t   hp_gain 
      int32_t   hp 
      int32_t   tp 
   }   heal
   struct { 
      int32_t   hair_color 
   }   hair_dye
   struct { 
      int32_t   effect_id 
   }   effect_potion
   struct { 
      CharacterStatsEquipmentChange   stats 
   }   cure_curse
   struct { 
      int32_t   experience 
      int32_t   level_up 
      int32_t   stat_points 
      int32_t   skill_points 
      int32_t   max_hp 
      int32_t   max_tp 
      int32_t   max_sp 
   }   exp_reward
} * item_type_data

Detailed Description

Reply to using an item

Definition at line 5764 of file protocol.h.

Field Documentation

◆ _eo

EoPacket ItemReplyServerPacket::_eo

Definition at line 5765 of file protocol.h.

◆ [struct]

struct { ... } ItemReplyServerPacket::cure_curse

◆ effect_id

int32_t ItemReplyServerPacket::effect_id

Definition at line 5779 of file protocol.h.

◆ [struct]

struct { ... } ItemReplyServerPacket::effect_potion

◆ [struct]

struct { ... } ItemReplyServerPacket::exp_reward

◆ experience

int32_t ItemReplyServerPacket::experience

Definition at line 5785 of file protocol.h.

◆ hair_color

int32_t ItemReplyServerPacket::hair_color

Definition at line 5776 of file protocol.h.

◆ [struct]

struct { ... } ItemReplyServerPacket::hair_dye

◆ [struct]

struct { ... } ItemReplyServerPacket::heal

◆ hp

int32_t ItemReplyServerPacket::hp

Definition at line 5772 of file protocol.h.

◆ hp_gain

int32_t ItemReplyServerPacket::hp_gain

Definition at line 5771 of file protocol.h.

◆ item_type

ItemType ItemReplyServerPacket::item_type

Definition at line 5766 of file protocol.h.

◆ [union]

union { ... } * ItemReplyServerPacket::item_type_data

◆ level_up

int32_t ItemReplyServerPacket::level_up

A value greater than 0 is "new level" and indicates the player leveled up.

Definition at line 5789 of file protocol.h.

◆ max_hp

int32_t ItemReplyServerPacket::max_hp

Definition at line 5792 of file protocol.h.

◆ max_sp

int32_t ItemReplyServerPacket::max_sp

Definition at line 5794 of file protocol.h.

◆ max_tp

int32_t ItemReplyServerPacket::max_tp

Definition at line 5793 of file protocol.h.

◆ skill_points

int32_t ItemReplyServerPacket::skill_points

Definition at line 5791 of file protocol.h.

◆ stat_points

int32_t ItemReplyServerPacket::stat_points

Definition at line 5790 of file protocol.h.

◆ stats

CharacterStatsEquipmentChange ItemReplyServerPacket::stats

Definition at line 5782 of file protocol.h.

◆ tp

int32_t ItemReplyServerPacket::tp

Definition at line 5773 of file protocol.h.

◆ used_item

Item ItemReplyServerPacket::used_item

Definition at line 5767 of file protocol.h.

◆ weight

Weight ItemReplyServerPacket::weight

Definition at line 5768 of file protocol.h.


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