55 lines
1.4 KiB
C++
55 lines
1.4 KiB
C++
|
|
|
|
#ifndef _SUIAuthorityChecker_h_
|
|
#define _SUIAuthorityChecker_h_
|
|
|
|
#pragma pack(push, 1)
|
|
|
|
struct sAuthorityList
|
|
{
|
|
void set(bool is);
|
|
|
|
bool m_whisper; /// 귓말하기
|
|
int m_friend; /// 친구설정(0 : disable 상태, 1 : 친구 추가, 2 : 친구 삭제)
|
|
int m_block; /// 차단설정(0 : disable 상태, 1 : 차단 추가, 2 : 차단 해제)
|
|
bool m_trade; /// 거래요청
|
|
bool m_challenge; /// 대련신청
|
|
bool m_invite; /// 파티초대
|
|
bool m_kick; /// 파티추방
|
|
bool m_leave; /// 파티탈퇴
|
|
bool m_dismiss; /// 파티해산
|
|
bool m_takeOver; /// 권한인계
|
|
bool m_follow; /// 따라가기
|
|
bool m_reportDive; /// 잠수 신고
|
|
bool m_itemPrivateDistribution; /// 아이템 개인 분배
|
|
bool m_itemRandomDistribution; /// 아이템 랜덤 분배
|
|
bool m_itemOrderDistribution; /// 아이템 순차 분배
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
class CPartyListMgr;
|
|
class SRaidMgr;
|
|
class SFriendMgr;
|
|
class SCutMgr;
|
|
class SPlayerInfoMgr;
|
|
|
|
void checkAuthority(sAuthorityList& authorityList,
|
|
CPartyListMgr* partyMgr,
|
|
SRaidMgr* raidMgr,
|
|
SFriendMgr* friendMgr,
|
|
SCutMgr* cutMgr,
|
|
SPlayerInfoMgr* playerMgr,
|
|
char const* _targetName,
|
|
bool targetLogin);
|
|
|
|
void checkAuthority(sAuthorityList& authorityList,
|
|
CPartyListMgr* partyMgr,
|
|
SRaidMgr* raidMgr,
|
|
SFriendMgr* friendMgr,
|
|
SCutMgr* cutMgr,
|
|
SPlayerInfoMgr* playerMgr,
|
|
bool targetLogin);
|
|
|
|
#endif
|