naev 0.12.6
HookParam Struct Reference

The actual hook parameter. More...

#include <hook.h>

Collaboration diagram for HookParam:

Data Fields

HookParamType type
union { 
   double   num 
   const char *   str 
   int   b 
   LuaPilot   lp 
   const Ship *   ship 
   const Outfit *   outfit 
   Commodity *   commodity 
   LuaFaction   lf 
   LuaSystem   ls 
   LuaSpob   la 
   LuaJump   lj 
   LuaAsteroid_t   ast 
   int   ref 
u

Detailed Description

The actual hook parameter.

Definition at line 40 of file hook.h.

Field Documentation

◆ ast

LuaAsteroid_t HookParam::ast

Hook parameter asteroid data.

Definition at line 54 of file hook.h.

◆ b

int HookParam::b

Boolean parameter.

Definition at line 45 of file hook.h.

◆ commodity

Commodity* HookParam::commodity

Hook parameter commodity data.

Definition at line 49 of file hook.h.

◆ la

LuaSpob HookParam::la

Hook parameter spob data.

Definition at line 52 of file hook.h.

◆ lf

LuaFaction HookParam::lf

Hook parameter faction data.

Definition at line 50 of file hook.h.

◆ lj

LuaJump HookParam::lj

Hook parameter jump data.

Definition at line 53 of file hook.h.

◆ lp

LuaPilot HookParam::lp

Hook parameter pilot data.

Definition at line 46 of file hook.h.

◆ ls

LuaSystem HookParam::ls

Hook parameter system data.

Definition at line 51 of file hook.h.

◆ num

double HookParam::num

Number parameter.

Definition at line 43 of file hook.h.

◆ outfit

const Outfit* HookParam::outfit

Hook parameter outfit data.

Definition at line 48 of file hook.h.

◆ ref

int HookParam::ref

Hook parameter upvalue.

Definition at line 55 of file hook.h.

◆ ship

const Ship* HookParam::ship

Hook parameter ship data.

Definition at line 47 of file hook.h.

◆ str

const char* HookParam::str

String parameter.

Definition at line 44 of file hook.h.

◆ type

HookParamType HookParam::type

Type of parameter.

Definition at line 41 of file hook.h.

◆ [union]

union { ... } HookParam::u

Hook parameter data.


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