Nuclide
Software Development Kit for id Technology (BETA)
Loading...
Searching...
No Matches
motdAPI_t Struct Reference

About this class

MOTD library.

Public Member Functions

void LoadDefault (void)
 Loads the message of the day from the default location: <gamedir>/motd.txt
 
void LoadFromFile (string)
 Loads a text file as an input for a message of the day.
 

Member Function Documentation

◆ LoadDefault()

void motdAPI_t::LoadDefault ( void )

Loads the message of the day from the default location: <gamedir>/motd.txt

◆ LoadFromFile()

void motdAPI_t::LoadFromFile ( string )

Loads a text file as an input for a message of the day.

Returns
the path of the text file relative to the game directory, such as "ctf_motd.txt"

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