VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Attributes
DtRoleViewPolicy Struct Reference

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
 

Member Data Documentation

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.


The documentation for this struct was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)