naev 0.12.6
Mission Struct Reference

Represents an active mission. More...

#include <mission.h>

Collaboration diagram for Mission:

Data Fields

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

Detailed Description

Represents an active mission.

Definition at line 83 of file mission.h.

Field Documentation

◆ accepted

int Mission::accepted

Mission is a player mission.

Definition at line 87 of file mission.h.

◆ cargo

unsigned int* Mission::cargo

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

Definition at line 106 of file mission.h.

◆ claims

Claim_t* Mission::claims

System claims.

Definition at line 118 of file mission.h.

◆ data

const MissionData* Mission::data

Data to use.

Definition at line 84 of file mission.h.

◆ desc

char* Mission::desc

Description of the mission

Definition at line 91 of file mission.h.

◆ distance

unsigned int Mission::distance

Distance to the target.

Definition at line 101 of file mission.h.

◆ env

nlua_env Mission::env

The environment of the running Lua code.

Definition at line 120 of file mission.h.

◆ faction

int Mission::faction

Faction owning this mission, or -1 for none.

Definition at line 103 of file mission.h.

◆ id

unsigned int Mission::id

Unique mission identifier, used for keeping track of hooks.

Definition at line 86 of file mission.h.

◆ illegal

int Mission::illegal

Mission is considered illegal.

Definition at line 102 of file mission.h.

◆ markers

MissionMarker* Mission::markers

Markers array.

Definition at line 109 of file mission.h.

◆ npc

char* Mission::npc

Name of the NPC giving the mission.

Definition at line 96 of file mission.h.

◆ npc_desc

char* Mission::npc_desc

Description of the giver NPC.

Definition at line 97 of file mission.h.

◆ osd

unsigned int Mission::osd

On-Screen Display ID.

Definition at line 112 of file mission.h.

◆ osd_hide

int Mission::osd_hide

OSD is being hidden.

Definition at line 114 of file mission.h.

◆ osd_priority

int Mission::osd_priority

OSD priority.

Definition at line 115 of file mission.h.

◆ osd_set

int Mission::osd_set

OSD was set explicitly.

Definition at line 113 of file mission.h.

◆ portrait

glTexture* Mission::portrait

Portrait of the mission giver if applicable.

Definition at line 93 of file mission.h.

◆ reward

char* Mission::reward

Rewards in text

Definition at line 92 of file mission.h.

◆ reward_value

credits_t Mission::reward_value

Value of the reward (for monetary cases).

Definition at line 100 of file mission.h.

◆ title

char* Mission::title

Not to be confused with name

Definition at line 90 of file mission.h.


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