Esempio n. 1
0
									uint16,							extport,
									std::string,					extaddrEx)

	// 某app主动请求look。
	DBMGR_MESSAGE_DECLARE_ARGS0(lookApp,							MERCURY_FIXED_MESSAGE)

	// 某个app请求查看该app负载状态。
	DBMGR_MESSAGE_DECLARE_ARGS0(queryLoad,							MERCURY_FIXED_MESSAGE)

	// 某app请求获取一个entityID段 
	DBMGR_MESSAGE_DECLARE_ARGS2(onReqAllocEntityID,					MERCURY_FIXED_MESSAGE,
								int8,								componentType,
								COMPONENT_ID,						componentID)

	// global数据改变
	DBMGR_MESSAGE_DECLARE_STREAM(onBroadcastGlobalDataChanged,		MERCURY_VARIABLE_MESSAGE)

	// 某个app向本app告知处于活动状态。
	DBMGR_MESSAGE_DECLARE_ARGS2(onAppActiveTick,					MERCURY_FIXED_MESSAGE,
									COMPONENT_TYPE,					componentType, 
									COMPONENT_ID,					componentID)

	// loginapp请求创建账号。
	DBMGR_MESSAGE_DECLARE_STREAM(reqCreateAccount,					MERCURY_VARIABLE_MESSAGE)
	DBMGR_MESSAGE_DECLARE_STREAM(onCreateAccountCBFromBilling,		MERCURY_VARIABLE_MESSAGE)

	// 登陆账号。
	DBMGR_MESSAGE_DECLARE_STREAM(onAccountLogin,					MERCURY_VARIABLE_MESSAGE)
	DBMGR_MESSAGE_DECLARE_STREAM(onLoginAccountCBBFromBilling,		MERCURY_VARIABLE_MESSAGE)

	// baseapp查询账号信息。
Esempio n. 2
0
									int32,							uid, 
									std::string,					username,
									int8,							componentType, 
									uint64,							componentID, 
									uint32,							intaddr, 
									uint16,							intport,
									uint32,							extaddr, 
									uint16,							extport)

	// 某app请求获取一个entityID段 
	DBMGR_MESSAGE_DECLARE_ARGS2(onReqAllocEntityID,					MERCURY_FIXED_MESSAGE,
								int8,								componentType,
								COMPONENT_ID,						componentID)

	// global数据改变
	DBMGR_MESSAGE_DECLARE_STREAM(onBroadcastGlobalDataChange,		MERCURY_VARIABLE_MESSAGE)

	// 某个app向本app告知处于活动状态。
	DBMGR_MESSAGE_DECLARE_ARGS2(onAppActiveTick,					MERCURY_FIXED_MESSAGE,
									COMPONENT_TYPE,					componentType, 
									COMPONENT_ID,					componentID)

	// loginapp请求创建账号。
	DBMGR_MESSAGE_DECLARE_ARGS2(reqCreateAccount,					MERCURY_VARIABLE_MESSAGE,
									std::string,					accountName,
									std::string,					password)

	// 某个app向本app告知处于活动状态。
	DBMGR_MESSAGE_DECLARE_ARGS2(onAccountLogin,						MERCURY_VARIABLE_MESSAGE,
									std::string,					accountName,
									std::string,					password)