diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-04-13 22:27:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-05-05 22:22:05 +0300 |
commit | cf28f0002c46e9c23e752b7e4b351de1e947f830 (patch) | |
tree | 5680ef188b43e35f4d05d45956d2b54bca2d3db4 /src/map/unit.h | |
parent | ad8be3bde3813992f00409e7f6f0a61778332ba5 (diff) | |
download | hercules-cf28f0002c46e9c23e752b7e4b351de1e947f830.tar.gz hercules-cf28f0002c46e9c23e752b7e4b351de1e947f830.tar.bz2 hercules-cf28f0002c46e9c23e752b7e4b351de1e947f830.tar.xz hercules-cf28f0002c46e9c23e752b7e4b351de1e947f830.zip |
Add into unit_data groupId and title
Send this fields in packet ZC_ACK_REQNAME_TITLE.
Diffstat (limited to 'src/map/unit.h')
-rw-r--r-- | src/map/unit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/unit.h b/src/map/unit.h index 5c01cdc2e..3209351e3 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -44,6 +44,7 @@ enum unit_stopwalking_flag { struct unit_data { struct block_list *bl; + char title[NAME_LENGTH]; struct walkpath_data walkpath; struct skill_timerskill *skilltimerskill[MAX_SKILLTIMERSKILL]; struct skill_unit_group *skillunit[MAX_SKILLUNITGROUP]; @@ -61,6 +62,7 @@ struct unit_data { int chaserange; bool stepaction; //Action should be executed on step [Playtester] int steptimer; //Timer that triggers the action [Playtester] + int groupId; // id of client side group (works for npc and may be other) [4144] uint16 stepskill_id,stepskill_lv; //Remembers skill that should be casted on step [Playtester] int64 attackabletime; int64 canact_tick; |