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

#include <UserInterface.hpp>

Public Member Functions

 Party (std::shared_ptr< ZoneSession > session)
 Party. More...
 
 ~Party ()
 
std::shared_ptr< ZoneSessionget_session ()
 
void create (std::string name, int item_pickup_rule, int item_share_rule)
 
void invite (int account_id)
 
void invite (std::string name)
 
void invite_response (int party_id, enum party_invite_response_type response)
 
void leave ()
 
void expel_member (int account_id, std::string name)
 
void change_properties (int exp_share_rule, int item_pickup_rule, int item_share_rule)
 
void send_message (int packet_length, std::string message)
 
void change_leader (int account_id)
 
void refuse_invite (bool refuse)
 
void notify_created (zcack_makegroup_result_type result)
 

Private Attributes

std::weak_ptr< ZoneSession_session
 

Constructor & Destructor Documentation

◆ Party()

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

Party.

401{
402
403}

◆ ~Party()

Horizon::Zone::UI::Party::~Party ( )
406{
407
408}

Member Function Documentation

◆ change_leader()

void Horizon::Zone::UI::Party::change_leader ( int  account_id)
451{
452
453}

◆ change_properties()

void Horizon::Zone::UI::Party::change_properties ( int  exp_share_rule,
int  item_pickup_rule,
int  item_share_rule 
)
441{
442
443}

◆ create()

void Horizon::Zone::UI::Party::create ( std::string  name,
int  item_pickup_rule,
int  item_share_rule 
)
411{
412
413}

◆ expel_member()

void Horizon::Zone::UI::Party::expel_member ( int  account_id,
std::string  name 
)
436{
437
438}

◆ get_session()

std::shared_ptr< ZoneSession > Horizon::Zone::UI::Party::get_session ( )
inline
175{ return _session.lock(); }
std::weak_ptr< ZoneSession > _session
Definition: UserInterface.hpp:192

References _session.

◆ invite() [1/2]

void Horizon::Zone::UI::Party::invite ( int  account_id)
416{
417
418}

◆ invite() [2/2]

void Horizon::Zone::UI::Party::invite ( std::string  name)
421{
422
423}

◆ invite_response()

void Horizon::Zone::UI::Party::invite_response ( int  party_id,
enum party_invite_response_type  response 
)
426{
427
428}

◆ leave()

void Horizon::Zone::UI::Party::leave ( )
431{
432
433}

◆ notify_created()

void Horizon::Zone::UI::Party::notify_created ( zcack_makegroup_result_type  result)
462{
463
464}

◆ refuse_invite()

void Horizon::Zone::UI::Party::refuse_invite ( bool  refuse)
456{
457
458}

◆ send_message()

void Horizon::Zone::UI::Party::send_message ( int  packet_length,
std::string  message 
)
446{
447
448}

Member Data Documentation

◆ _session

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

Referenced by get_session().


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