20class DtPropertyInterface;
69 const DtPropertyInterface* property, std::vector<DtStatePropertyRoleStationItem>& valuesOut);
75 const DtPropertyInterface* property, std::vector<std::string>& valuesOut);
Defines export macros for the VREngage Utility library.
#define UTIL_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
!
Definition glsVreMessageUtil.h:50
UTIL_DLL bool statePropertyHasRoleStations(const DtPropertyInterface *property)
Determines whether a role-station list contains any station entries.
UTIL_DLL bool statePropertyIsRoleStationList(const DtPropertyInterface *property)
Checks whether a property is a list of role-station structures.
UTIL_DLL bool addStatePropertyRoleStationItem(DtPropertyInterface *property, const DtStatePropertyRoleStationItem &value)
Adds or updates a station entry in a role-station list.
UTIL_DLL std::string braceDelimitedStatePropertyRoleStationIds(const DtPropertyInterface *property)
Builds a brace-delimited station-id string from a role-station list.
UTIL_DLL void appendStatePropertyRoleStationItems(const DtPropertyInterface *property, std::vector< DtStatePropertyRoleStationItem > &valuesOut)
Appends all role-station entries from a property to an output vector.
constexpr const char DtRolesStatePropertyName[]
State property carrying direct role assignments.
Definition vreStatePropertiesUtil.h:26
UTIL_DLL bool statePropertyContainsRoleStation(const DtPropertyInterface *property, const DtString &stationId)
Determines whether a role-station list contains a specific station.
UTIL_DLL int statePropertyRoleStationCount(const DtPropertyInterface *property)
Counts the number of station entries in a role-station list.
UTIL_DLL void appendStatePropertyRoleStationIds(const DtPropertyInterface *property, std::vector< std::string > &valuesOut)
Appends all station identifiers from a role-station list to an output vector.
constexpr const char DtEngagedEmbarkedStationStatePropertyName[]
Human-only state property carrying the currently engaged embarked role/slot name.
Definition vreStatePropertiesUtil.h:29
UTIL_DLL bool removeStatePropertyRoleStationItem(DtPropertyInterface *property, const DtString &stationId)
Removes a station entry from a role-station list.
One station entry from the published "Roles" state property.
Definition vreStatePropertiesUtil.h:33
bool myIsEmbarked
True when the station entry represents an embarked role assignment.
Definition vreStatePropertiesUtil.h:41
std::string myStationId
Station identifier stored in the entry.
Definition vreStatePropertiesUtil.h:35
std::string myRoleName
Entity-role name stored in the entry.
Definition vreStatePropertiesUtil.h:38