TNet 3  3.0.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
TNet.FileServer Class Reference

Base class for Game and Lobby servers capable of saving and loading files. More...

Inheritance diagram for TNet.FileServer:
TNet.GameServer TNet.LobbyServer TNet.TcpLobbyServer TNet.UdpLobbyServer

Public Member Functions

bool SaveFile (string fileName, byte[] data)
 Save the specified file. More...
 
byte[] LoadFile (string fileName)
 Load the specified file. More...
 
bool DeleteFile (string fileName)
 Delete the specified file. More...
 

Detailed Description

Base class for Game and Lobby servers capable of saving and loading files.

Member Function Documentation

bool TNet.FileServer.DeleteFile ( string  fileName)

Delete the specified file.

byte [] TNet.FileServer.LoadFile ( string  fileName)

Load the specified file.

bool TNet.FileServer.SaveFile ( string  fileName,
byte[]  data 
)

Save the specified file.


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