naev 0.11.5
Mission Struct Reference

Represents an active mission. More...

#include <mission.h>

Data Fields

const MissionDatadata
 
unsigned int id
 
int accepted
 
char * title
 
char * desc
 
char * reward
 
credits_t reward_value
 
glTextureportrait
 
char * npc
 
char * npc_desc
 
unsigned int * cargo
 
MissionMarkermarkers
 
unsigned int osd
 
int osd_set
 
Claim_t * claims
 
nlua_env env
 

Detailed Description

Represents an active mission.

Definition at line 81 of file mission.h.

Field Documentation

◆ accepted

int Mission::accepted

Mission is a player mission.

Definition at line 84 of file mission.h.

◆ cargo

unsigned int* Mission::cargo

Array (array.h): Cargos given to player.

Definition at line 95 of file mission.h.

◆ claims

Claim_t* Mission::claims

System claims.

Definition at line 105 of file mission.h.

◆ data

const MissionData* Mission::data

Data to use.

Definition at line 82 of file mission.h.

◆ desc

char* Mission::desc

Description of the mission

Definition at line 87 of file mission.h.

◆ env

nlua_env Mission::env

The environment of the running Lua code.

Definition at line 107 of file mission.h.

◆ id

unsigned int Mission::id

Unique mission identifier, used for keeping track of hooks.

Definition at line 83 of file mission.h.

◆ markers

MissionMarker* Mission::markers

Markers array.

Definition at line 98 of file mission.h.

◆ npc

char* Mission::npc

Name of the NPC giving the mission.

Definition at line 91 of file mission.h.

◆ npc_desc

char* Mission::npc_desc

Description of the giver NPC.

Definition at line 92 of file mission.h.

◆ osd

unsigned int Mission::osd

On-Screen Display ID.

Definition at line 101 of file mission.h.

◆ osd_set

int Mission::osd_set

OSD was set explicitly.

Definition at line 102 of file mission.h.

◆ portrait

glTexture* Mission::portrait

Portrait of the mission giver if applicable.

Definition at line 90 of file mission.h.

◆ reward

char* Mission::reward

Rewards in text

Definition at line 88 of file mission.h.

◆ reward_value

credits_t Mission::reward_value

Value of the reward (for monetary cases).

Definition at line 89 of file mission.h.

◆ title

char* Mission::title

Not to be confused with name

Definition at line 86 of file mission.h.


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