naev 0.10.4
Data Fields
HookParam Struct Reference

The actual hook parameter. More...

#include <hook.h>

Data Fields

HookParamType type
 
union {
   double   num
 
   const char *   str
 
   int   b
 
   LuaPilot   lp
 
   LuaFaction   lf
 
   LuaSpob   la
 
   LuaJump   lj
 
   LuaAsteroid_t   ast
 
   int   ref
 
u
 

Detailed Description

The actual hook parameter.

Definition at line 35 of file hook.h.

Field Documentation

◆ ast

LuaAsteroid_t HookParam::ast

Hook parameter asteroid data.

Definition at line 45 of file hook.h.

◆ b

int HookParam::b

Boolean parameter.

Definition at line 40 of file hook.h.

◆ la

LuaSpob HookParam::la

Hook parameter spob data.

Definition at line 43 of file hook.h.

◆ lf

LuaFaction HookParam::lf

Hook parameter faction data.

Definition at line 42 of file hook.h.

◆ lj

LuaJump HookParam::lj

Hook parameter jump data.

Definition at line 44 of file hook.h.

◆ lp

LuaPilot HookParam::lp

Hook parameter pilot data.

Definition at line 41 of file hook.h.

◆ num

double HookParam::num

Number parameter.

Definition at line 38 of file hook.h.

◆ ref

int HookParam::ref

Hook parameter upvalue.

Definition at line 46 of file hook.h.

◆ str

const char* HookParam::str

String parameter.

Definition at line 39 of file hook.h.

◆ type

HookParamType HookParam::type

Type of parameter.

Definition at line 36 of file hook.h.

◆ 

union { ... } HookParam::u

Hook parameter data.


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