naev 0.12.5
news_t Struct Reference

Represents a news article. More...

#include <news.h>

Data Fields

int id
int priority
char * title
char * desc
char * faction
char * tag
ntime_t date
ntime_t date_to_rm

Detailed Description

Represents a news article.

Definition at line 15 of file news.h.

Field Documentation

◆ date

ntime_t news_t::date

Date added ascribed to the article, NULL if none

Definition at line 25 of file news.h.

◆ date_to_rm

ntime_t news_t::date_to_rm

Date after which the article will be removed

Definition at line 26 of file news.h.

◆ desc

char* news_t::desc

Content of the news article.

Definition at line 21 of file news.h.

◆ faction

char* news_t::faction

Faction of the news article

Definition at line 22 of file news.h.

◆ id

int news_t::id

ID of the news.

Definition at line 16 of file news.h.

◆ priority

int news_t::priority

Priority of the news. 5 is default, lower is more important (appears higher).

Definition at line 17 of file news.h.

◆ tag

char* news_t::tag

tag to identify article, added after creation

Definition at line 23 of file news.h.

◆ title

char* news_t::title

Title of the news article.

Definition at line 20 of file news.h.


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