![]() |
VR-Forces Developer's Guide
|
DtRoleViewPolicy — defines which entities a role's player session can see. Properties are additive: an entity is visible if any single criterion matches.
Public Attributes | |
| bool | all = false |
| bool | allCommanded = false |
| bool | contactsFromViewed = false |
| bool | contactsFromCommanded = false |
| std::vector< int > | forces |
| std::vector< DtRoleUuidEntry > | uuids |
| std::vector< int > | contactsFromForce |
| std::vector< DtRoleUuidEntry > | contactsFromUUID |
| bool DtRoleViewPolicy::all = false |
If true, the session sees every entity and contact.
| bool DtRoleViewPolicy::allCommanded = false |
Also sees all entities the role commands.
| bool DtRoleViewPolicy::contactsFromViewed = false |
Also sees contact reports from all entities this role can view.
| bool DtRoleViewPolicy::contactsFromCommanded = false |
Also sees contact reports from all entities this role can command.
| std::vector<int> DtRoleViewPolicy::forces |
DIS force IDs whose entities are always visible.
| std::vector<DtRoleUuidEntry> DtRoleViewPolicy::uuids |
Specific entity UUIDs that are always visible.
| std::vector<int> DtRoleViewPolicy::contactsFromForce |
(Future) DIS force IDs whose contact reports are visible.
| std::vector<DtRoleUuidEntry> DtRoleViewPolicy::contactsFromUUID |
UUIDs whose contact reports are visible.