UFO: Alien Invasion
Loading...
Searching...
No Matches
eventMail_t Struct Reference

available mails for a tech - mail and mail_pre in script files More...

#include <cp_event.h>

Collaboration diagram for eventMail_t:
Collaboration graph

Data Fields

char * id
char * from
char * to
char * cc
char * subject
char * date
char * body
char * icon
char * model
bool read
bool sent
bool skipMessage

Detailed Description

available mails for a tech - mail and mail_pre in script files

See also
techMail_t
Note
Parsed via CL_ParseEventMails
You can add a mail to the message system and mail client by using e.g. the mission triggers with the script command 'addeventmail <id>'

Definition at line 38 of file cp_event.h.

Field Documentation

◆ body

char* eventMail_t::body

the body of the event mail

Definition at line 47 of file cp_event.h.

Referenced by CL_EventAddMail(), and UP_Article().

◆ cc

char* eventMail_t::cc

copy recipient (_mail_to_base_commander)

Definition at line 42 of file cp_event.h.

◆ date

char* eventMail_t::date

date string, if empty use the date of research

Definition at line 46 of file cp_event.h.

Referenced by CL_EventAddMail(), MS_LoadXML(), UP_OpenMail_f(), and UP_SetMailHeader().

◆ from

char* eventMail_t::from

sender (_mail_from_paul_navarre, _mail_from_dr_connor)

Definition at line 40 of file cp_event.h.

Referenced by CL_EventAddMail(), UP_OpenMail_f(), and UP_SetMailHeader().

◆ icon

char* eventMail_t::icon

icon in the mailclient

Definition at line 48 of file cp_event.h.

Referenced by UP_OpenMail_f().

◆ id

char* eventMail_t::id

script id

Definition at line 39 of file cp_event.h.

Referenced by CL_GetEventMail(), and CL_ParseEventMails().

◆ model

char* eventMail_t::model

model name of the sender

Definition at line 49 of file cp_event.h.

Referenced by UP_SetMailHeader().

◆ read

bool eventMail_t::read

already read the mail?

Definition at line 50 of file cp_event.h.

Referenced by MS_LoadXML(), UP_OpenMail_f(), and UP_SetMailHeader().

◆ sent

bool eventMail_t::sent

already sent, don't send twice

Definition at line 51 of file cp_event.h.

Referenced by CL_EventAddMail().

◆ skipMessage

bool eventMail_t::skipMessage

don't add the mail to the message stack (won't be saved)

Definition at line 52 of file cp_event.h.

Referenced by CL_EventAddMail().

◆ subject

char* eventMail_t::subject

mail subject line - if mail and mail_pre are available this will be filled with Proposal: (mail_pre) and Re: (mail) automatically

Definition at line 43 of file cp_event.h.

Referenced by CL_EventAddMail(), UP_OpenMail_f(), and UP_SetMailHeader().

◆ to

char* eventMail_t::to

recipient (_mail_to_base_commander)

Definition at line 41 of file cp_event.h.

Referenced by CL_EventAddMail(), and UP_SetMailHeader().


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