mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-20 06:18:11 +00:00
More scene metadata
* Added the ability to specify a change to play * Added the ability to specify if a scene can play multiple times to the same player
This commit is contained in:
@@ -101,6 +101,8 @@ private:
|
||||
NiPoint3 m_Center;
|
||||
float m_Bounds = 0.0f;
|
||||
float m_ShowingDistance = 0.0f;
|
||||
float m_ChanceToPlay = 1.0f;
|
||||
bool m_Repeatable = true;
|
||||
|
||||
std::vector<std::pair<PreconditionExpression, bool>> m_Preconditions;
|
||||
|
||||
@@ -110,6 +112,8 @@ private:
|
||||
std::unordered_set<LWOOBJID> m_Audience;
|
||||
std::unordered_set<LWOOBJID> m_HasBeenOutside;
|
||||
|
||||
std::unordered_set<LWOOBJID> m_VisitedPlayers;
|
||||
|
||||
static std::unordered_map<std::string, Scene> m_Scenes;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user