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
DtDatasource::DtResourceEntry Struct Reference

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
 

Member Data Documentation

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.


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)