v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
40
source/game/objects/StarLoungeableObject.hpp
Normal file
40
source/game/objects/StarLoungeableObject.hpp
Normal file
|
@ -0,0 +1,40 @@
|
|||
#ifndef STAR_INTERACTABLE_OBJECT_HPP
|
||||
#define STAR_INTERACTABLE_OBJECT_HPP
|
||||
|
||||
#include "StarObject.hpp"
|
||||
#include "StarLoungingEntities.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
class LoungeableObject : public Object, public virtual LoungeableEntity {
|
||||
public:
|
||||
LoungeableObject(ObjectConfigConstPtr config, Json const& parameters = Json());
|
||||
|
||||
void render(RenderCallback* renderCallback) override;
|
||||
|
||||
InteractAction interact(InteractRequest const& request) override;
|
||||
|
||||
size_t anchorCount() const override;
|
||||
LoungeAnchorConstPtr loungeAnchor(size_t positionIndex) const override;
|
||||
|
||||
protected:
|
||||
void setOrientationIndex(size_t orientationIndex) override;
|
||||
|
||||
private:
|
||||
List<Vec2F> m_sitPositions;
|
||||
bool m_sitFlipDirection;
|
||||
LoungeOrientation m_sitOrientation;
|
||||
float m_sitAngle;
|
||||
String m_sitCoverImage;
|
||||
bool m_flipImages;
|
||||
List<PersistentStatusEffect> m_sitStatusEffects;
|
||||
StringSet m_sitEffectEmitters;
|
||||
Maybe<String> m_sitEmote;
|
||||
Maybe<String> m_sitDance;
|
||||
JsonObject m_sitArmorCosmeticOverrides;
|
||||
Maybe<String> m_sitCursorOverride;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue