mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-29 22:06:12 +02:00
Removed more dapper code and unsupported syntax.
This commit is contained in:
parent
5bb3cc3b4e
commit
bec0cae0eb
3 changed files with 244 additions and 86 deletions
|
@ -2,12 +2,30 @@
|
|||
{
|
||||
class World
|
||||
{
|
||||
public ushort id;
|
||||
public string address;
|
||||
public ushort port;
|
||||
public ushort listPosition;
|
||||
public ushort population;
|
||||
public string name;
|
||||
public bool isActive;
|
||||
public readonly ushort id;
|
||||
public readonly string address;
|
||||
public readonly ushort port;
|
||||
public readonly ushort listPosition;
|
||||
public readonly ushort population;
|
||||
public readonly string name;
|
||||
public readonly bool isActive;
|
||||
|
||||
public World(
|
||||
ushort id,
|
||||
string address,
|
||||
ushort port,
|
||||
ushort listPosition,
|
||||
ushort population,
|
||||
string name,
|
||||
bool isActive)
|
||||
{
|
||||
this.id = id;
|
||||
this.address = address;
|
||||
this.port = port;
|
||||
this.listPosition = listPosition;
|
||||
this.population = population;
|
||||
this.name = name;
|
||||
this.isActive = isActive;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue