diff options
Diffstat (limited to 'src/content_sao.h')
-rw-r--r-- | src/content_sao.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/content_sao.h b/src/content_sao.h index 05b5fa7e1..241788066 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -58,9 +58,13 @@ public: void setHP(s16 hp); s16 getHP() const; void setArmorGroups(const ItemGroupList &armor_groups); + ItemGroupList getArmorGroups(); void setAnimation(v2f frame_range, float frame_speed, float frame_blend); + void getAnimation(v2f *frame_range, float *frame_speed, float *frame_blend); void setBonePosition(const std::string &bone, v3f position, v3f rotation); + void getBonePosition(const std::string &bone, v3f *position, v3f *rotation); void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation); + void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation); ObjectProperties* accessObjectProperties(); void notifyObjectPropertiesModified(); /* LuaEntitySAO-specific */ @@ -192,9 +196,13 @@ public: u16 getBreath() const; void setBreath(u16 breath); void setArmorGroups(const ItemGroupList &armor_groups); + ItemGroupList getArmorGroups(); void setAnimation(v2f frame_range, float frame_speed, float frame_blend); + void getAnimation(v2f *frame_range, float *frame_speed, float *frame_blend); void setBonePosition(const std::string &bone, v3f position, v3f rotation); + void getBonePosition(const std::string &bone, v3f *position, v3f *rotation); void setAttachment(int parent_id, const std::string &bone, v3f position, v3f rotation); + void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation); ObjectProperties* accessObjectProperties(); void notifyObjectPropertiesModified(); void setNametagColor(video::SColor color); |