naev 0.12.6
lvar Struct Reference

Contains a mission variable. More...

#include <lvar.h>

Data Fields

char * name
lvar_type type
union { 
   double   num 
   char *   str 
   int   b 
   ntime_t   time 
d

Detailed Description

Contains a mission variable.

Definition at line 24 of file lvar.h.

Field Documentation

◆ b

int lvar::b

Used if type is boolean.

Definition at line 30 of file lvar.h.

◆ [union]

union { ... } lvar::d

Variable data.

◆ name

char* lvar::name

Name of the variable.

Definition at line 25 of file lvar.h.

◆ num

double lvar::num

Used if type is number.

Definition at line 28 of file lvar.h.

◆ str

char* lvar::str

Used if type is string.

Definition at line 29 of file lvar.h.

◆ time

ntime_t lvar::time

Used if type is time.

Definition at line 31 of file lvar.h.

◆ type

lvar_type lvar::type

Type of the variable.

Definition at line 26 of file lvar.h.


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