UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
eventMail_s Struct Reference

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

#include <cp_event.h>

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

char* eventMail_s::body

the body of the event mail

Definition at line 47 of file cp_event.h.

Referenced by CL_EventAddMail(), and UP_Article().

char* eventMail_s::cc

copy recipient (_mail_to_base_commander)

Definition at line 42 of file cp_event.h.

char* eventMail_s::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().

char* eventMail_s::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().

char* eventMail_s::icon

icon in the mailclient

Definition at line 48 of file cp_event.h.

Referenced by UP_OpenMail_f().

char* eventMail_s::id

script id

Definition at line 39 of file cp_event.h.

Referenced by CL_GetEventMail(), CL_ParseEventMails(), and MS_MessageSaveXML().

char* eventMail_s::model

model name of the sender

Definition at line 49 of file cp_event.h.

Referenced by UP_SetMailHeader().

bool eventMail_s::read

already read the mail?

Definition at line 50 of file cp_event.h.

Referenced by MS_LoadXML(), MS_MessageSaveXML(), UP_GetUnreadMails(), UP_OpenMail_f(), UP_SetAllMailsRead_f(), and UP_SetMailHeader().

bool eventMail_s::sent

already sent, don't send twice

Definition at line 51 of file cp_event.h.

Referenced by CL_EventAddMail().

bool eventMail_s::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().

char* eventMail_s::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().

char* eventMail_s::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: