datatypes.h.svn-base

来自「ROSE的源代码。了解的自己研究,编译通过」· SVN-BASE 代码 · 共 69 行

SVN-BASE
69
字号
/*
    Open Source Rose Online Team - http://osroseon.to.md/
    note: the Server is develop with erose source server + eich source        
*/
#ifndef __ROSE_DATATYPES__
#define __ROSE_DATATYPES__
#include "../common/sockets.h"
// List of clan members
struct CClanMembers
{
    UINT id;
    char name[50];
    int clan_rank;
};

// An item (for figuring out what a user is wearing)
struct CItem {
	UINT owner;
	UINT itemnum;
	UINT itemtype;
	UINT refine;
	UINT durability;
	UINT lifespan;
};

// A single client character
struct CCharacter {
	char char_name[17];
	UINT level;
	UINT face;
	UINT hairStyle;
	int sex;
	UINT classid;
	UINT id;
	unsigned long int DeleteTime;
};

// List of friends
struct CFriendList
{
    int id;
    char name[17];
};

// List of clan
struct CClans
{
    int id;
    int logo;
    int back;
    int grade;
    int cp;  
    char name[17];
    char slogan[30];
    char news[260];
    vector<CClanMembers*> ClanMembers;
};

// Channel list
struct CChanels
{
    UINT id;    
    char* ip;
    UINT port;    
    SOCKET sock;
};
#endif

⌨️ 快捷键说明

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