mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
41 lines
824 B
C
41 lines
824 B
C
/*
|
|
GameSpy Peer SDK
|
|
Dan "Mr. Pants" Schoenblum
|
|
dan@gamespy.com
|
|
|
|
Copyright 1999-2007 GameSpy Industries, Inc
|
|
|
|
devsupport@gamespy.com
|
|
*/
|
|
|
|
#ifndef _PEERPING_H_
|
|
#define _PEERPING_H_
|
|
|
|
/*************
|
|
** INCLUDES **
|
|
*************/
|
|
#include "peerMain.h"
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/**************
|
|
** FUNCTIONS **
|
|
**************/
|
|
PEERBool piPingInit(PEER peer);
|
|
void piPingCleanup(PEER peer);
|
|
void piPingThink(PEER peer);
|
|
PEERBool piPingInitPlayer(PEER peer, piPlayer * player);
|
|
void piPingPlayerJoinedRoom(PEER peer, piPlayer * player, RoomType roomType);
|
|
void piPingPlayerLeftRoom(PEER peer, piPlayer * player);
|
|
void piUpdateXping(PEER peer, const char * nick1, const char * nick2, int ping);
|
|
PEERBool piGetXping(PEER peer, const char * nick1, const char * nick2, int * ping);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|