#ifndef CHATENUM_H
#define CHATENUM_H

enum ERROR_CODES
{
	CHATRESULT_SUCCESS = 0,          // 0
	ERR_TIMEOUT,		             // 1
	ERR_DUPLICATELOGIN,              // 2
	ERR_SRCAVATARDOESNTEXIST,        // 3
	ERR_DESTAVATARDOESNTEXIST,       // 4
	ERR_ADDRESSDOESNTEXIST,          // 5
	ERR_ADDRESSNOTROOM,		         // 6
	ERR_ADDRESSNOTAID,		         // 7
	ERR_FRIENDNOTFOUND,		         // 8
	ERR_ROOM_UNKNOWNFAILURE,         // 9
	ERR_ROOM_SRCNOTINROOM,	         // 10
	ERR_ROOM_DESTNOTINROOM,	         // 11
	ERR_ROOM_BANNEDAVATAR,	         // 12
	ERR_ROOM_PRIVATEROOM,	         // 13
	ERR_ROOM_MODERATEDROOM,	         // 14
	ERR_ROOM_NOTINROOM,		         // 15
	ERR_ROOM_NOPRIVILEGES,	         // 16
	ERR_DATABASE,			         // 17
	ERR_CANNOTGETAVATARID,	         // 18
	ERR_CANNOTGETNODEID,	         // 19
	ERR_CANNOTGETPMSGID,	         // 20
	ERR_PMSGNOTFOUND,		         // 21
	ERR_ROOM_MAXAVATARSREACHED,      // 22
	ERR_IGNORING,			         // 23
	ERR_ROOMALREADYEXISTS,	         // 24
	ERR_NOTHINGTOCONFIRM,            // 25
	ERR_DUPLICATEFRIEND,             // 26
	ERR_IGNORENOTFOUND,              // 27
	ERR_DUPLICATEIGNORE,             // 28
	ERR_DBFAIL,                      // 29
	ERR_ROOM_DESTAVATARNOTMODERATOR, // 30
	ERR_ROOM_DESTAVATARNOTINVITED,   // 31
	ERR_ROOM_DESTAVATARNOTBANNED,    // 32
	ERR_ROOM_DUPLICATEBAN,           // 33
	ERR_ROOM_DUPLICATEMODERATOR,     // 34
	ERR_ROOM_DUPLICATEINVITE,        // 35
	ERR_ROOM_ALREADYINROOM,          // 36
	ERR_ROOM_PARENTNONPERSISTENT,    // 37
	ERR_ROOM_PARENTBADNODETYPE,      // 38
	ERR_NOFANCLUBHANDLE,             // 39

	// SWG specific codes for chat
	// make sure that these never collide with those defined above and in
	// src/external/3rd/library/soePlatform/ChatAPI2/ChatAPI/projects/Chat/ChatAPI/ChatEnum.h
	SWG_CHAT_ERR_CHAT_SERVER_UNAVAILABLE = 1000000,
	SWG_CHAT_ERR_WRONG_FACTION,
	SWG_CHAT_ERR_INVALID_OBJECT,
	SWG_CHAT_ERR_NO_GAME_SERVER,
	SWG_CHAT_ERR_NOT_WARDEN,
	SWG_CHAT_ERR_WRONG_GCW_REGION_DEFENDER_FACTION
};

#endif // CHATENUM_H
