XPMP2
X-Plane multiplayer library 2 - using instancing
Public Member Functions | Public Attributes | List of all members
XPMP2::Doc8643 Struct Reference

Represents a line in the Doc8643.txt file, of which we use only classification and WTC. More...

#include <RelatedDoc8643.h>

Public Member Functions

 Doc8643 ()
 
 Doc8643 (const std::string &_classification, const std::string &_wtc)
 
bool empty () const
 Is empty, doesn't contain anything? More...
 
char GetClassType () const
 
char GetClassNumEng () const
 
int GetNumEngines () const
 
char GetClassEngType () const
 
bool HasRotor () const
 
int GetWakeCat () const
 Returns the wake category as per XP12's wake system. More...
 

Public Attributes

char classification [4] = {0,0,0,0}
 
char wtc [4] = {0,0,0,0}
 

Detailed Description

Represents a line in the Doc8643.txt file, of which we use only classification and WTC.

Each line has Example lines: (ANY) Glider GLID - - AAMSA A-9 Quail A9 L1P L AIRBUS A-380-800 A388 L4J H CESSNA 172 C172 L1P L CESSNA 172 Skyhawk C172 L1P L FAIRCHILD (1) C-26 Metro SW4 L2T L/M SOLAR IMPULSE 1 SOL1 L4E L SOLOY Bell 47 B47T H1T L

Constructor & Destructor Documentation

◆ Doc8643() [1/2]

XPMP2::Doc8643::Doc8643 ( )
inline

◆ Doc8643() [2/2]

XPMP2::Doc8643::Doc8643 ( const std::string &  _classification,
const std::string &  _wtc 
)

Member Function Documentation

◆ empty()

bool XPMP2::Doc8643::empty ( ) const
inline

Is empty, doesn't contain anything?

◆ GetClassEngType()

char XPMP2::Doc8643::GetClassEngType ( ) const
inline

◆ GetClassNumEng()

char XPMP2::Doc8643::GetClassNumEng ( ) const
inline

◆ GetClassType()

char XPMP2::Doc8643::GetClassType ( ) const
inline

◆ GetNumEngines()

int XPMP2::Doc8643::GetNumEngines ( ) const
inline

◆ GetWakeCat()

int XPMP2::Doc8643::GetWakeCat ( ) const

Returns the wake category as per XP12's wake system.

See also
https://developer.x-plane.com/article/plugin-traffic-wake-turbulence/

◆ HasRotor()

bool XPMP2::Doc8643::HasRotor ( ) const
inline

Member Data Documentation

◆ classification

char XPMP2::Doc8643::classification[4] = {0,0,0,0}

◆ wtc

char XPMP2::Doc8643::wtc[4] = {0,0,0,0}

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