Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
FromUserId int `yaml:"fromuserid,omitempty"`
FromName string `yaml:"fromname"`
Body string `yaml:"body"`
Item *items.Item `yaml:"item,omitempty"`
Gold int `yaml:"gold,omitempty"`
Read bool `yaml:"read,omitempty"`
DateSent time.Time `yaml:"datesent"`
}
Message is a single inbox message.
func (Message) DateString ¶
type MudmailModule ¶
type MudmailModule struct {
// contains filtered or unexported fields
}
MudmailModule owns all inbox state.
func (*MudmailModule) SendMudMail ¶
func (m *MudmailModule) SendMudMail(userId int, fromName string, message string, gold int, itm *items.Item)
SendMudMail is exported for use by other modules. Signature: func(userId int, fromName string, message string, gold int, itm *items.Item)
Click to show internal directories.
Click to hide internal directories.