Added gamespy SDK

This commit is contained in:
L 2023-02-04 21:00:01 +01:00
parent 294ca5ffd2
commit dd44f78fc5
642 changed files with 186078 additions and 0 deletions

View file

@ -0,0 +1,44 @@
/*
GameSpy Peer SDK
Dan "Mr. Pants" Schoenblum
dan@gamespy.com
Copyright 1999-2007 GameSpy Industries, Inc
devsupport@gamespy.com
*/
#ifndef _PEERQR_H_
#define _PEERQR_H_
/*************
** INCLUDES **
*************/
#include "peerMain.h"
#ifdef __cplusplus
extern "C" {
#endif
/************
** DEFINES **
************/
#define PI_QUERYPORT 6500
/**************
** FUNCTIONS **
**************/
PEERBool piStartReporting(PEER peer, SOCKET socket, unsigned short port);
void piStopReporting(PEER peer);
void piSendStateChanged(PEER peer);
void piQRThink(PEER peer);
PEERBool piStartAutoMatchReporting(PEER peer);
void piStopAutoMatchReporting(PEER peer);
#ifdef __cplusplus
}
#endif
#endif