LibNRG  0.0.1
Networking for Real-time Games library
 All Classes Files Functions Variables Friends
nrg::ReplayServer Class Reference

Class that reads a replay file and acts as a local server, sending the packets in the file.

#include <nrg_replay_server.h>

Public Member Functions

 ReplayServer ()
 Default constructor.
 
bool openReplay (const char *filename)
 Opens the specified replay file by name, returns true if it opened successfully.
 
bool bind (const char *port)
 Binds the server to the specified local port.
 
bool update ()
 Updates the ReplayServer, potentially sending new packets.
 
bool isReplayRunning () const
 Returns true if the ReplayServer is active.
 

The documentation for this class was generated from the following file: