Anope IRC Services  Version 2.0
Public Member Functions
GlobalService Class Referenceabstract

#include <global.h>

Inheritance diagram for GlobalService:
Inheritance graph
Collaboration diagram for GlobalService:
Collaboration graph

Public Member Functions

 GlobalService (Module *m)
virtual void SendGlobal (BotInfo *sender, const Anope::string &source, const Anope::string &message)=0
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Service
Anope::string type
Anope::string name

Detailed Description

Definition at line 4 of file global.h.

Constructor & Destructor Documentation

◆ GlobalService()

GlobalService::GlobalService ( Module m)

Definition at line 7 of file global.h.

References SendGlobal().

Member Function Documentation

◆ SendGlobal()

virtual void GlobalService::SendGlobal ( BotInfo sender,
const Anope::string source,
const Anope::string message 
pure virtual

Send out a global message to all users

senderOur client which should send the global
sourceThe sender of the global
messageThe message

Implemented in GlobalCore.

Referenced by CommandOSDefcon::Execute(), GlobalService(), and DefConTimeout::Tick().

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