![]() |
VR-Forces Developer's Guide
|
DtResourceEntry — a single consumable resource (ammunition, fuel, etc.) carried by a simulation object. ResourceType uses the same 7-element DIS convention as DtEntitySnapshot::entityType.
Public Attributes | |
| DtEntityType | resourceType |
| double | currentAmount = 0.0 |
| double | fullAmount = 0.0 |
| std::string | displayName |
| DtEntityType DtDatasource::DtResourceEntry::resourceType |
Resource identity (DIS entity-type enumeration)
| double DtDatasource::DtResourceEntry::currentAmount = 0.0 |
Quantity currently available.
| double DtDatasource::DtResourceEntry::fullAmount = 0.0 |
Capacity / full load.
| std::string DtDatasource::DtResourceEntry::displayName |
Human-readable name from the SISO enumeration dictionary; empty if lookup fails.