Files
BlitzNext/bbruntime/multiplay.h
T
blitz-research 08a613ed0e Initial commit.
2014-01-31 08:23:00 +13:00

31 lines
646 B
C

#ifndef MULTIPLAY_H
#define MULTIPLAY_H
#include "bbsys.h"
#include <dplay.h>
void multiplay_link();
bool multiplay_create();
bool multiplay_destroy();
int bbStartNetGame();
int bbHostNetGame( BBStr *name );
int bbJoinNetGame( BBStr *name,BBStr *address );
void bbStopNetGame();
DPID bbCreateNetPlayer( BBStr *name );
void bbDeleteNetPlayer( DPID player );
BBStr * bbNetPlayerName( DPID player );
int bbNetPlayerLocal( DPID player );
int bbSendNetMsg( int type,BBStr *msg,DPID from,DPID to,int reliable );
int bbRecvNetMsg();
int bbNetMsgType();
BBStr * bbNetMsgData();
DPID bbNetMsgFrom();
DPID bbNetMsgTo();
#endif