#pragma once

#include "NetCli_Guild.h"

class NetCli_GuildChild : public NetCli_Guild
{
public:	
	static	bool _Init();
	static	bool _Release();

public:
	//////////////////////////////////////////////////////////////////////////
	// 連署
	//////////////////////////////////////////////////////////////////////////
	virtual void RL_CreateGuildResult		( char* GuildName , CreateGuildResultENUM Result );
	virtual void RL_NewGuildInvite			( int GuildID , char* LeaderName ,int LeaderDBID );
	virtual void RL_NewGuildInviteResult	( char* PlayerName , NewGuildInviteResultENUM	Result );
	virtual void RL_JoindNewGuild			( int GuildID , char* LeaderName );
	virtual void RL_LeaveNewGuildResult		( char* KickPlayerName , bool Result );
	virtual void RL_DelNewGuildResult		( bool Result );
	//////////////////////////////////////////////////////////////////////////
	// 正式公會
	//////////////////////////////////////////////////////////////////////////
	virtual void RL_GuildInvite				( int GuildID , char* LeaderName , int LeaderDBID );
	virtual void RL_GuildInviteResult		( char* PlayerName , GuildInviteResultENUM	Result );
	virtual void RL_JoindGuild				( int GuildID , char* LeaderName );
	virtual void RL_LeaveGuildResult		( char* KickPlayerName , bool Result );
	virtual void RL_DelGuildResult			( bool Result );
	//////////////////////////////////////////////////////////////////////////
	virtual void RL_GuildInfo			( GuildBaseStruct& Guild );
	virtual void RL_GuildMemberBaseInfo	( vector< GuildMemberBaseInfoStruct >& MemberList );
	virtual void RL_GuildMemberInfo		( GuildMemberStruct& Member );
	virtual void RD_GuildCreate			();
	//////////////////////////////////////////////////////////////////////////
	// 留言板 
	//////////////////////////////////////////////////////////////////////////
	virtual void RD_BoardPostResult			( bool Result );
	virtual void RD_BoardListCount			( int MaxCount , int Count , int PageID );
	virtual void RD_BoardListData			( int MessageGUID , int Index , char* PlayerName , int Time , char* Title , GuildBoardModeStruct Type );
	virtual void RD_BoardMessageResult		( GuildBoardStruct&	Message );
	virtual void RD_BoardModifyMessageResult( bool Result );
	virtual void RD_BoardModifyModeResult	( bool Result );
};

