
#ifndef __GNET_GFACTION_CALLID
#define __GNET_GFACTION_CALLID

namespace GNET
{

enum CallID
{
	RPC_PREFACTIONRENAME	=	4529,
	RPC_DBFACTIONRENAME	=	4530,
	RPC_ANNOUNCEFACTIONROLEDEL	=	4811,
	RPC_FACTIONINVITEJOIN	=	4813,
	RPC_ADDFACTION	=	4600,
	RPC_DELFACTION	=	4601,
	RPC_ADDMEMBER	=	4602,
	RPC_DELMEMBER	=	4603,
	RPC_DELMEMBERSCHEDULE	=	4620,
	RPC_UPDATEUSERFACTION	=	4604,
	RPC_UPDATEFACTION	=	4605,
	RPC_DBFACTIONUPGRADE	=	4610,
	RPC_DBFACTIONPROMOTE	=	4611,
	RPC_GETFACTIONINFO	=	4606,
	RPC_GETUSERFACTION	=	4607,
	RPC_GETFACTIONDETAIL	=	4608,
	RPC_DBFACTIONALLIANCEAPPLY	=	4612,
	RPC_DBFACTIONALLIANCEREPLY	=	4613,
	RPC_DBFACTIONHOSTILEAPPLY	=	4614,
	RPC_DBFACTIONHOSTILEREPLY	=	4615,
	RPC_DBFACTIONREMOVERELATIONAPPLY	=	4616,
	RPC_DBFACTIONREMOVERELATIONREPLY	=	4617,
	RPC_DBFACTIONRELATIONTIMEOUT	=	4618,
	RPC_DBFACTIONRELATIONAPPLYTIMEOUT	=	4619,
	RPC_PRECREATEROLE	=	3037,
	RPC_POSTCREATEROLE	=	3038,
	RPC_POSTDELETEROLE	=	3039,
	RPC_PRECREATEFACTION	=	3040,
	RPC_POSTCREATEFACTION	=	3041,
	RPC_POSTDELETEFACTION	=	3042,
	RPC_PRECREATEFAMILY	=	3046,
	RPC_POSTCREATEFAMILY	=	3049,
	RPC_POSTDELETEFAMILY	=	3050,
	RPC_PREPLAYERRENAME	=	3061,
};

enum ProtocolType
{
	PROTOCOL_PLAYERFACTIONINFO_RE	=	4802,
	PROTOCOL_FACTIONOPREQUEST_RE	=	4805,
	PROTOCOL_FACTIONCREATE_RE	=	4502,
	PROTOCOL_FACTIONAPPLYJOIN_RE	=	4504,
	PROTOCOL_FACTIONLISTMEMBER_RE	=	4503,
	PROTOCOL_FACTIONACCEPTJOIN_RE	=	4505,
	PROTOCOL_FACTIONEXPEL_RE	=	4506,
	PROTOCOL_FACTIONBROADCASTNOTICE_RE	=	4507,
	PROTOCOL_FACTIONMASTERRESIGN_RE	=	4509,
	PROTOCOL_FACTIONAPPOINT_RE	=	4510,
	PROTOCOL_FACTIONRESIGN_RE	=	4511,
	PROTOCOL_FACTIONCHANGPROCLAIM_RE	=	4508,
	PROTOCOL_FACTIONLEAVE_RE	=	4512,
	PROTOCOL_FACTIONDISMISS_RE	=	4515,
	PROTOCOL_FACTIONRENAME_RE	=	4516,
	PROTOCOL_FACTIONUPGRADE_RE	=	4513,
	PROTOCOL_FACTIONDEGRADE_RE	=	4514,
	PROTOCOL_GETFACTIONBASEINFO	=	4814,
	PROTOCOL_GETFACTIONBASEINFO_RE	=	4815,
	PROTOCOL_GETPLAYERFACTIONINFO	=	4816,
	PROTOCOL_GETPLAYERFACTIONINFO_RE	=	4817,
	PROTOCOL_FACTIONLISTONLINE_RE	=	4820,
	PROTOCOL_FACTIONALLIANCEAPPLY_RE	=	4517,
	PROTOCOL_FACTIONALLIANCEREPLY_RE	=	4518,
	PROTOCOL_FACTIONHOSTILEAPPLY_RE	=	4519,
	PROTOCOL_FACTIONHOSTILEREPLY_RE	=	4520,
	PROTOCOL_FACTIONREMOVERELATIONAPPLY_RE	=	4521,
	PROTOCOL_FACTIONREMOVERELATIONREPLY_RE	=	4522,
	PROTOCOL_FACTIONLISTRELATION_RE	=	4523,
	PROTOCOL_FACTIONRELATIONRECVAPPLY	=	4524,
	PROTOCOL_FACTIONRELATIONRECVREPLY	=	4525,
	PROTOCOL_GETPLAYERFACTIONRELATION_RE	=	4822,
	PROTOCOL_FACTIONDELAYEXPELANNOUNCE	=	4526,
	PROTOCOL_KEEPALIVE	=	90,
	PROTOCOL_FACTIONBEGINSYNC_RE	=	4809,
	PROTOCOL_FACTIONBEGINSYNC	=	4808,
	PROTOCOL_FACTIONENDSYNC	=	4810,
	PROTOCOL_DELFACTIONANNOUNCE	=	4818,
	PROTOCOL_BATTLEENTER_RE	=	861,
	PROTOCOL_WORLDCHAT	=	133,
	PROTOCOL_FACTIONMEMBERUPDATE	=	8163,
	PROTOCOL_FACTIONINFOUPDATE	=	8164,
	PROTOCOL_FACTIONMSG	=	8165,
	PROTOCOL_FACTIONFORBIDUPDATE	=	8167,
	PROTOCOL_PLAYERNAMEUPDATE	=	158,
	PROTOCOL_FACTIONRENAMEGSVERIFY	=	4527,
	PROTOCOL_POSTFACTIONRENAME	=	4531,
	PROTOCOL_FACTIONRENAMEANNOUNCE	=	4532,
	PROTOCOL_ANNOUNCEZONEID	=	505,
	PROTOCOL_ANNOUNCEPROVIDERID	=	73,
	PROTOCOL_FACTIONCREATE	=	4501,
	PROTOCOL_PLAYERSTATUSANNOUNCE	=	109,
	PROTOCOL_PLAYERFACTIONINFO	=	4801,
	PROTOCOL_FACTIONOPREQUEST	=	4804,
	PROTOCOL_FACTIONACCEPTJOIN	=	4812,
	PROTOCOL_FACTIONLISTONLINE	=	4819,
	PROTOCOL_BATTLECHALLENGEMAP_RE	=	855,
	PROTOCOL_CHATBROADCAST	=	120,
	PROTOCOL_FACTIONCHAT	=	4803,
	PROTOCOL_SETCHATEMOTION	=	134,
	PROTOCOL_BATTLEFACTIONNOTICE	=	874,
	PROTOCOL_NOTIFYFACTIONFORTRESSID	=	4423,
	PROTOCOL_ANNOUNCECENTRALDELIVERY	=	1131,
	PROTOCOL_NOTIFYFACTIONPLAYERRENAME	=	4424,
	PROTOCOL_FACTIONRESOURCEBATTLELIMITNOTICE	=	4433,
	PROTOCOL_FACTIONUNIQUEIDANNOUNCE	=	4824,
	PROTOCOL_BATTLEENTER	=	860,
	PROTOCOL_SENDBATTLECHALLENGE	=	869,
	PROTOCOL_CREATEFACTIONFORTRESS	=	4406,
	PROTOCOL_GETPLAYERFACTIONRELATION	=	4821,
	PROTOCOL_FACTIONCONGREGATEREQUEST	=	4823,
	PROTOCOL_PLAYERSENDMASSMAIL	=	4217,
	PROTOCOL_FACTIONRENAMEGSVERIFY_RE	=	4528,
};

};
#endif
