mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 12:08:12 +03:00
Added gamespy SDK
This commit is contained in:
parent
294ca5ffd2
commit
dd44f78fc5
642 changed files with 186078 additions and 0 deletions
69
code/gamespy/GP/gpiConnect.h
Normal file
69
code/gamespy/GP/gpiConnect.h
Normal file
|
@ -0,0 +1,69 @@
|
|||
/*
|
||||
gpiConnect.h
|
||||
GameSpy Presence SDK
|
||||
Dan "Mr. Pants" Schoenblum
|
||||
|
||||
Copyright 1999-2007 GameSpy Industries, Inc
|
||||
|
||||
devsupport@gamespy.com
|
||||
|
||||
***********************************************************************
|
||||
Please see the GameSpy Presence SDK documentation for more information
|
||||
**********************************************************************/
|
||||
|
||||
#ifndef _GPICONNECT_H_
|
||||
#define _GPICONNECT_H_
|
||||
|
||||
//INCLUDES
|
||||
//////////
|
||||
#include "gpi.h"
|
||||
|
||||
//DEFINES
|
||||
/////////
|
||||
// Connect States.
|
||||
//////////////////
|
||||
#define GPI_NOT_CONNECTED 0
|
||||
#define GPI_CONNECTING 1
|
||||
#define GPI_NEGOTIATING 2
|
||||
#define GPI_CONNECTED 3
|
||||
#define GPI_DISCONNECTED 4
|
||||
#define GPI_PROFILE_DELETING 5
|
||||
|
||||
//FUNCTIONS
|
||||
///////////
|
||||
GPResult
|
||||
gpiConnect(
|
||||
GPConnection * connection,
|
||||
const char nick[GP_NICK_LEN],
|
||||
const char uniquenick[GP_UNIQUENICK_LEN],
|
||||
const char email[GP_EMAIL_LEN],
|
||||
const char password[GP_PASSWORD_LEN],
|
||||
const char authtoken[GP_AUTHTOKEN_LEN],
|
||||
const char partnerchallenge[GP_PARTNERCHALLENGE_LEN],
|
||||
const char cdkey[GP_CDKEY_LEN],
|
||||
GPEnum firewall,
|
||||
GPIBool newuser,
|
||||
GPEnum blocking,
|
||||
GPCallback callback,
|
||||
void * param
|
||||
);
|
||||
|
||||
void
|
||||
gpiDisconnect(
|
||||
GPConnection * connection,
|
||||
GPIBool tellServer
|
||||
);
|
||||
|
||||
GPResult
|
||||
gpiProcessConnect(
|
||||
GPConnection * connection,
|
||||
GPIOperation * operation,
|
||||
const char * input
|
||||
);
|
||||
|
||||
GPResult
|
||||
gpiCheckConnect(
|
||||
GPConnection * connection
|
||||
);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue