?? party.h
字號:
// Party.h: interface for the Party class.
//
//
//
////////////////////////////////////////////////////////////////////////////////////////
#if !defined( _PARTY_H_ )
#define _PARTY_H_
#include "tgabase.h"
////////////////////////////////////////////////////////////////////////////////////////
// DEFINE
////////////////////////////////////////////////////////////////////////////////////////
#define MAX_PARTY_NUM 5 // 彌措 頗萍盔 箭磊
#define MAX_CHARACTERTYPE_NUM 4 // 彌措 某腐磐 努貳膠 箭磊
#define CHECK_GETPARTYEXP_TILE 20 // 頗萍 版氰摹甫 掘籃 TILE箭磊
////////////////////////////////////////////////////////////////////////////////////////
// Party Class
////////////////////////////////////////////////////////////////////////////////////////
class CParty
{
public:
CParty();
~CParty();
public:
_LPZP_PARTYLIST_REP m_pPartyMember; // Party Member Pointer
_LPSOCKET_FD m_pPartySocket[MAX_PARTY_NUM]; // Party SocketFD
BYTE m_nType ;
bool m_bPartyDelete;
short m_sClassCount; // Save Party Memeber Class Count 7.22 by kuma
double m_fTempMatrix[MAX_PARTY_NUM][MAX_PARTY_NUM];
double m_fExpMatrix[MAX_PARTY_NUM][MAX_PARTY_NUM];
public:
void PartyQuest_QuestNPCSHOUT(int pQuestIndex, DWORD pNPCID, char *pMsg );
_LPSOCKET_FD GetPartyMasterFD();
// --------------------------------------------------------------------------------
// 頗萍狼 涅膠飄 包訪 Function
// --------------------------------------------------------------------------------
void PartyQuest_Teleport( int pQuestIndex, int pMapID, _POINT pPoint );
void PartyQuest_Abandon(int pQuestIndex);
//
// 2004.10.29 by kuma REQUEST牢瘤 REQUESTMISSION牢瘤 備盒竅磊..
//
void PartyQuest_Request( int pQuestIndex,_LPSOCKET_FD pSocketFD, bool bRequest = false );
void PartyQuest_RemoveQuest( int pQuestIndex );
void PartyQuest_SetVarTitle(int pQuestIndex, int pID, CString pTitle,int pTriggerID, int pExeCount );
void PartyQuest_SetTodo( int pQuestIndex, CString pTodo, int pTriggerID, int pExeCount );
void PartyQuest_DeltaVar(int pQuestIndex, int pSlot, int pDelta);
void PartyQuest_SetVar( int pQuestIndex, int pSlot, int pValue);
void PartyQuest_Update(int pQuestIndex );
void PartyQuest_KillTimerID( int pQuestIndex, int pTimerSlot);
void PartyQuest_SetTimerID( int pQuestIndex, int pTimerSlot, int pTimerID);
void PartyQuest_SetEventMapPath( int pQuestIndex, int pMapBase, int pMapPath, int pMapSelect );
void PartyQuest_SetNextEventMap( int pQuestIndex );
void PartyQuest_Effect( DWORD pQuestIndex, DWORD pID, BYTE pOption );
void PartyQuest_MissionComplete(int pQuestIndex, BYTE pComplete);
void PartyQuest_Gate( int pQuestIndex, int pGate, int pLock );
void PartyQuest_CheckAliveQuest( _LPSOCKET_FD pSocket );
void PartyQuest_IsAliveQuest( _LPSOCKET_FD pSocket, DWORD dwMaster, DWORD dwMasterPartyQuest );
DWORD Get_MasterPartyQuest( int* pSameMap );
void PartyQuest_Map_Change( _LPZW_PARTYQUESTMAPCHANGE_REP pPacket );
bool PartyQuest_MemberExist( DWORD dwPlayer );
void PartyQuest_ClearGlobal( int pQuestIndex );
void PartyQuest_SetGlobal(int pQuestIndex, int pVar, int pNum);
bool Check_PartyIsValid();
// --------------------------------------------------------------------------------
// 頗萍狼 惑怕 包訪 Function
// --------------------------------------------------------------------------------
bool bIsAllClass();
bool bIsParyFull();
bool bIsAllInMap();
bool bIsMaster(DWORD dwPlayerHandle);
void Clear_Party();
void Party_Create( _LPZP_PARTYLIST_REP pPacket );
void Party_Create( _LPZW_PARTYCREATE_REP pPacket );
void Party_Join( _LPZW_PARTYJOIN_REP pPacket );
void Party_Leave( _LPZW_PARTYLEAVE_REP pPacket );
void Party_Refresh( _LPZW_PARTYREFRESH_REP pPacket );
void Party_List( _LPSOCKET_FD pSocket );
void Party_List(); // 瀝扁利欄肺 焊郴綽 頗萍 府膠飄
void Party_FightzoneTeleport(short sLayer ,_LPZW_FIGHTZONERESERVE pPacket,_POINT p,short nTeam);
void Party_FightzoneMapMove(short sLayer, int nMapSeq, _POINT p,DWORD dwMatchSeq ,short nTeam );
void Member_Add( _PARTYLIST_ *pMember );
void Member_Leave( DWORD pPlayerHandle );
void Member_MapMove( DWORD pPlayerHandle );
void Party_Msg(char * cMsg);
void SetPartyExpMatrix();
void GetPartyExp( _LPSOCKET_FD pSocketFD, int pGetExp );
void Send_Refresh( _LPZW_PARTYREFRESH_REP pPacket );
void Send_ChatMsg_Map ( _LPZP_PARTYCHAT_ASK pPacket ); // World Server Chat 皋矯瘤
void Send_ChatMsg_World( _LPZW_PARTYCHAT_ASK pPacket ); // 郴何 Chat 皋矯瘤
void Close(bool bForce);
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -