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

📄 structs.h

📁 国外网络游戏 《The Kingdom of the Winds》 的服务端源码C+编写 有兴趣的可以
💻 H
字号:
#ifndef __struct__H__
#define __struct__H__
struct acct 
{
	char name[13]; //弥措 14磊狼 捞抚
	char pass[13]; //弥措 14磊狼 鞠龋
	unsigned long ip; //酒捞乔(inet_addr肺 函券,inet_htnl)
	unsigned int level; // 0 蜡历 100 墨款伎 200 档固 400 挤付 1000 橇肺弊贰赣
	bool login; //肺变沁唱
	bool ban; //龟寸沁唱
	char tempIP[14];
};

struct packet_st 
{
	char head[2];
	char mes[2560];
};

struct map_st
{
	unsigned short map_x;
	unsigned short map_y;
	char map_name[32];
};

struct char_st
{
	char ClanName[16]; //弥措 16磊狼 巩颇疙
	char Title[16]; //弥措 16磊狼 磊脚莫龋
	char ClanTitle[16]; //弥措 16磊狼 巩颇莫龋

	int sprit;
	int body;
	int sex;
	int country;
	
	int Lv; // 1 - 99

	unsigned long int HitPoint; // 0 - 4294967296
	unsigned long int ManaPoint; // 0 - 4294967296
	unsigned long int MaxHitPoint; // 0 - 4294967296
	unsigned long int MaxManaPoint; // 0 - 4294967296

	unsigned long int Exp; // 0 - 4294967296

	unsigned int Str; // 0 - 4294967296 ? 1024786----
	unsigned int Dex; // 0 - 4294967296 ? 1024786----
	unsigned int Int; // 0 - 4294967296 ? 1024786----
	
	unsigned short mapy; // 0 - 65536
	unsigned short mapx; // 0 - 65536
	unsigned short lastmap; // 0 - 65536

	char count[2]; //酒捞袍,付过肮荐(2)
	unsigned int ItemBag[25][2]; //26俺狼 酒捞袍(矫府倔) 0锅 = 矫府倔 1锅 肮荐
	unsigned int ScrollBook[51]; //52俺狼 付过

	unsigned long Money; //捣
	unsigned short e_armo ; //渴
	unsigned short e_block; //规菩
	unsigned short e_helm; //葛磊
	unsigned short e_weap; //公扁
	unsigned short e_etc1; //厘脚1
	unsigned short e_etc2; //厘脚2
	unsigned short side; //焊备乐绰搁
	unsigned short BackTrash;
public:
	unsigned short backy;
	unsigned short backx;
};

struct item_vector
{
	unsigned short x;
	unsigned short y;
	unsigned short map;
	unsigned long itemnum;//mapitem[<捞巴>]狼 锅龋
};

struct item_st
{	
	char name[32]; //捞抚
	unsigned short int owner; //家蜡磊
	unsigned short int type; //鸥蕾(use,equip,etc)

	unsigned short int color; //祸
	unsigned short int pict; //弊覆
	
	signed short int def; //规绢仿

	signed short int Str; //塞
	signed short int Dex; //刮酶己
	signed short int Int; //瘤仿
	signed long int  hp; //眉仿
	signed long int  mhp; //弥眉
	signed long int  mp; //付仿
	signed long int  mmp; //弥付
	
	unsigned long int cdur; //郴备仿
	unsigned long int mdur; //郴备仿

	unsigned short int magic;

	unsigned long int itemserial;
};

struct Server_Data
{
	long serverip;
	unsigned int emotion_delay;
	unsigned int say_delay;
	bool can_repeat_say;
};

#endif

⌨️ 快捷键说明

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