⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sharestruct.h

📁 墨香最新私服
💻 H
字号:
#ifndef _SHARESTRUCT_H
#define _SHARESTRUCT_H


//struct CHANNEL_LIST_INFO

/*
struct CHANNEL_INFO
{
	int		nChannelIndex;
	char	strChannelName[MAX_MNCHANNEL_NAME];
	int		nTotalPlayer;
	BYTE	cbOffset;		//sizeof(CHANNEL_INFO)
};
*/

struct CHANNEL_CREATE_INFO
{
	DWORD	dwChannelIndex;
	char	strChannelTitle[MAX_CHANNELTITLE_LENGTH];
	char	cbChannelKind;	//Channel Kind --- is public, is private, is for munpa...
	WORD	wMaxPlayer;
};

struct PLAYROOM_CREATE_INFO
{
	DWORD		dwPlayRoomIndex;
	char		strPlayRoomTitle[MAX_PLAYROOMTITLE_LENGTH];
	char		cbPlayRoomKind;
	WORD		wMaxObserver;
	WORD		wMaxPlayerPerTeam;
	MONEYTYPE	MoneyForPlay;
	MAPTYPE		wMapNum;
};


enum eCHANNEL_KIND
{
	eCHNK_UNKNOWN,
	eCHNK_PUBLIC,
	eCHNK_PRIVATE,
	eCHNK_MUNPA,
	eCHNK_COUNT,
};	



//struct MNPLAYER_GENERAL_INFO

//struct MNPLAYER_DETAIL_INFO


struct PLAYROOM_INFO
{
	DWORD	dwPlayRoomIndex;
	char	strPlayRoomTitle[MAX_PLAYROOMTITLE_LENGTH];
	int		nPlayRoomKind;

	DWORD	dwCurPlayerNum;
	DWORD	dwMaxPlayerNum;
	DWORD	dwMaxPlayerPerTeam;
	
	char	bStart;
};


//struct MNPLAYER_INFO_INPLAYROOM		//---include team num

//character



//////////
enum
{
	eLOCATION_NULL,
	eLOCATION_CHANNEL,
	eLOCATION_PLAYROOM,
	eLOCATION_GAME,
	eLOCATION_RESULT,
};

struct PLAYER_LOCATION
{
	int		nKind;
	DWORD	dwIndex;
};
//////////



#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -