ManaPlus
Public Member Functions
TmwAthena::Mail2Handler Class Reference

#include <mail2handler.h>

Inheritance diagram for TmwAthena::Mail2Handler:
Net::Mail2Handler

Public Member Functions

 Mail2Handler ()
 
 ~Mail2Handler ()
 
void openWriteMail (const std::string &receiver) const
 
void addItem (const Item *const item, const int amount) const
 
void removeItem (const int index, const int amount) const
 
void sendMail (const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const
 
void queueCheckName (const MailQueueTypeT type, const std::string &to, const std::string &title, const std::string &body, const int64_t &money) const
 
void nextPage (const MailOpenTypeT openType, const int64_t mailId) const
 
void readMail (const MailOpenTypeT openType, const int64_t mailId) const
 
void deleteMail (const MailOpenTypeT openType, const int64_t mailId) const
 
void requestMoney (const MailOpenTypeT openType, const int64_t mailId) const
 
void requestItems (const MailOpenTypeT openType, const int64_t mailId) const
 
void refreshMailList (const MailOpenTypeT openType, const int64_t mailId) const
 
void openMailBox (const MailOpenTypeT openType) const
 
void closeMailBox () const
 
void cancelWriteMail () const
 
void requestCheckName (const std::string &name) const
 
std::string getCheckedName () const
 
- Public Member Functions inherited from Net::Mail2Handler
 Mail2Handler ()
 

Detailed Description

Definition at line 30 of file mail2handler.h.

Constructor & Destructor Documentation

◆ Mail2Handler()

TmwAthena::Mail2Handler::Mail2Handler ( )

Definition at line 29 of file mail2handler.cpp.

30 {
31  mail2Handler = this;
32 }
Net::Mail2Handler * mail2Handler
Definition: net.cpp:113

References mail2Handler.

◆ ~Mail2Handler()

TmwAthena::Mail2Handler::~Mail2Handler ( )
virtual

Reimplemented from Net::Mail2Handler.

Definition at line 34 of file mail2handler.cpp.

35 {
36  mail2Handler = nullptr;
37 }

References mail2Handler.

Member Function Documentation

◆ addItem()

void TmwAthena::Mail2Handler::addItem ( const Item *const  item,
const int  amount 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 43 of file mail2handler.cpp.

45 {
46 }

◆ cancelWriteMail()

void TmwAthena::Mail2Handler::cancelWriteMail ( ) const
virtual

Implements Net::Mail2Handler.

Definition at line 106 of file mail2handler.cpp.

107 {
108 }

◆ closeMailBox()

void TmwAthena::Mail2Handler::closeMailBox ( ) const
virtual

Implements Net::Mail2Handler.

Definition at line 102 of file mail2handler.cpp.

103 {
104 }

◆ deleteMail()

void TmwAthena::Mail2Handler::deleteMail ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 78 of file mail2handler.cpp.

80 {
81 }

◆ getCheckedName()

std::string TmwAthena::Mail2Handler::getCheckedName ( ) const
virtual

Implements Net::Mail2Handler.

Definition at line 114 of file mail2handler.cpp.

115 {
116  return std::string();
117 }

◆ nextPage()

void TmwAthena::Mail2Handler::nextPage ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 68 of file mail2handler.cpp.

70 {
71 }

◆ openMailBox()

void TmwAthena::Mail2Handler::openMailBox ( const MailOpenTypeT  openType) const
virtual

Implements Net::Mail2Handler.

Definition at line 98 of file mail2handler.cpp.

99 {
100 }

◆ openWriteMail()

void TmwAthena::Mail2Handler::openWriteMail ( const std::string &  receiver) const
virtual

Implements Net::Mail2Handler.

Definition at line 39 of file mail2handler.cpp.

40 {
41 }

◆ queueCheckName()

void TmwAthena::Mail2Handler::queueCheckName ( const MailQueueTypeT  type,
const std::string &  to,
const std::string &  title,
const std::string &  body,
const int64_t &  money 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 60 of file mail2handler.cpp.

65 {
66 }

◆ readMail()

void TmwAthena::Mail2Handler::readMail ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 73 of file mail2handler.cpp.

75 {
76 }

◆ refreshMailList()

void TmwAthena::Mail2Handler::refreshMailList ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 93 of file mail2handler.cpp.

95 {
96 }

◆ removeItem()

void TmwAthena::Mail2Handler::removeItem ( const int  index,
const int  amount 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 48 of file mail2handler.cpp.

50 {
51 }

◆ requestCheckName()

void TmwAthena::Mail2Handler::requestCheckName ( const std::string &  name) const
virtual

Implements Net::Mail2Handler.

Definition at line 110 of file mail2handler.cpp.

111 {
112 }

◆ requestItems()

void TmwAthena::Mail2Handler::requestItems ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 88 of file mail2handler.cpp.

90 {
91 }

◆ requestMoney()

void TmwAthena::Mail2Handler::requestMoney ( const MailOpenTypeT  openType,
const int64_t  mailId 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 83 of file mail2handler.cpp.

85 {
86 }

◆ sendMail()

void TmwAthena::Mail2Handler::sendMail ( const std::string &  to,
const std::string &  title,
const std::string &  body,
const int64_t &  money 
) const
virtual

Implements Net::Mail2Handler.

Definition at line 53 of file mail2handler.cpp.

57 {
58 }

The documentation for this class was generated from the following files: