Horizon Official Technical Documentation
Horizon::Zone::UI::Clan Class Reference

#include <UserInterface.hpp>

Public Member Functions

 Clan (std::shared_ptr< ZoneSession > session)
 Clan. More...
 
 ~Clan ()
 
std::shared_ptr< ZoneSessionget_session ()
 
void message (std::string message)
 
bool notify_leave ()
 

Private Attributes

std::weak_ptr< ZoneSession_session
 

Constructor & Destructor Documentation

◆ Clan()

Horizon::Zone::UI::Clan::Clan ( std::shared_ptr< ZoneSession session)

Clan.

298: _session(session)
299{
300
301}
std::weak_ptr< ZoneSession > _session
Definition: UserInterface.hpp:142

◆ ~Clan()

Horizon::Zone::UI::Clan::~Clan ( )
304{
305
306}

Member Function Documentation

◆ get_session()

std::shared_ptr< ZoneSession > Horizon::Zone::UI::Clan::get_session ( )
inline
136{ return _session.lock(); }

References _session.

◆ message()

void Horizon::Zone::UI::Clan::message ( std::string  message)
309{
310
311}

◆ notify_leave()

bool Horizon::Zone::UI::Clan::notify_leave ( )
314{
315 ZC_ACK_CLAN_LEAVE pkt(get_session());
316 pkt.deliver();
317 return true;
318}
std::shared_ptr< ZoneSession > get_session()
Definition: UserInterface.hpp:136

References Horizon::Zone::ZC_ACK_CLAN_LEAVE::deliver().

+ Here is the call graph for this function:

Member Data Documentation

◆ _session

std::weak_ptr<ZoneSession> Horizon::Zone::UI::Clan::_session
private

Referenced by get_session().


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