px_ls_chat_radio.h

来自「MMORPG游戏服务器端架构及函数」· C头文件 代码 · 共 36 行

H
36
字号
#pragma	  once

/* must been first include begin */
#include "..\ProjectX_Common\ProjectX_Copyright.h"
#include "..\ProjectX_Common\ProjectX_Common.h"
/* must been first include end */

/* std and common include */
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>


/*
*	音频聊天
*	暂时仅提供转接服务支持
*	具体由客户端实现
*/

typedef struct tagChat_Radio {
	byte	state;
	int		active_sessionid;
	int		passive_sessionid;
	int		active_ip;
	int		passive_ip;
	int		active_port;
	int		passive_port;
	int		last_handled_frame;
}CHAT_RADIO, * LPCHAT_RADIO;

typedef struct tagChat_Radio_Key {
	byte	state;
	CHAT_RADIO * pchat_radio;
}CHAT_RADIO_KEY, * LPCHAT_RADIO_KEY;

⌨️ 快捷键说明

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