44 lines
1.2 KiB
C++
44 lines
1.2 KiB
C++
|
|
|
|
#pragma once
|
|
|
|
//#include "SUIWnd.h"
|
|
class SUIDisplayInfo;
|
|
|
|
class SUICommunityGuild : public SUIWnd
|
|
{
|
|
public:
|
|
SUICommunityGuild( SGameManager* pGameManager, class SUIDisplayInfo* pDisplayInfo )
|
|
: SUIWnd( pGameManager ), m_pDisplayInfo( pDisplayInfo ), m_nSelectIndex(-1) {};
|
|
virtual ~SUICommunityGuild();
|
|
|
|
protected:
|
|
virtual bool InitControls( KPoint kPos );
|
|
virtual bool InitData( bool bReload = false );
|
|
virtual void PumpUpMessage( LPCSTR lpszControlID, DWORD nMessage, DWORD lparam, DWORD wparam );
|
|
virtual void ProcMsgAtStatic( SGameMessage* pMsg );
|
|
|
|
virtual void OnNotifyUIWindowOpen( bool bOpen, bool bLimitWnd = true );
|
|
|
|
protected:
|
|
void RefreshMember( int nRange );
|
|
void RefreshScrollbar();
|
|
void RefreshStatic();
|
|
|
|
void EnableSlot( int nIndex, bool bEnable );
|
|
void SetGuildData( int nIndex, class SPlayerSlot * pData );
|
|
void CuttingGuildName( std::string& rGuildName );
|
|
void GetSelectPlayerName( std::string& SelectUserName );
|
|
|
|
public:
|
|
void GuildUpdate();
|
|
void ReqWhisper();
|
|
void ReqParty();
|
|
|
|
private:
|
|
SUIDisplayInfo* m_pDisplayInfo;
|
|
int m_nScrollPos;
|
|
std::string m_strClickedMamber;
|
|
int m_nSelectIndex; ///< 선택된 길드원의 인덱스(보여지는 컨트롤 상의 인덱스 이다)
|
|
};
|