1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 15:02:53 +02:00
- Added method documentation
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-17 09:24:24 +02:00
parent 3c6ee2bbbb
commit ac6d9dbc14

View File

@ -36,16 +36,32 @@ public struct ConnectionInfo
return this.bulkReadSize; return this.bulkReadSize;
} }
/**
* Get the address of the endpoint server
*
* Returns: the server's address
*/
public Address getAddr() public Address getAddr()
{ {
return addrInfo; return addrInfo;
} }
/**
* Get the chosen fake lag
*
* Returns: the fake lag in seconds
*/
public ulong getFakeLag() public ulong getFakeLag()
{ {
return fakeLag; return fakeLag;
} }
/**
* Sets the fake lag in seconds
*
* Params:
* fakeLag = the fake lag to use
*/
public void setFakeLag(ulong fakeLag) public void setFakeLag(ulong fakeLag)
{ {
this.fakeLag = fakeLag; this.fakeLag = fakeLag;