Changed from ref to value struct. Forgot a System::.

This commit is contained in:
Pontus Fransson 2014-02-14 14:18:16 +01:00
parent 75201d4c6d
commit 1dd36eaace
1 changed files with 3 additions and 8 deletions

View File

@ -14,17 +14,12 @@ enum DanBiasServerReturn
DanBiasServerReturn_GameNotCreated, DanBiasServerReturn_GameNotCreated,
}; };
public ref struct ServerInitDesc public value struct ServerInitDesc
{ {
System::String^ serverName; System::String^ serverName;
int listenPort; int listenPort;
bool broadcast; //Not fully implemented! bool broadcast; //Not fully implemented!
ServerInitDesc()
{
serverName = "Game Server";
listenPort = 15152;
broadcast = true;
};
}; };
public value struct GameServerInfo public value struct GameServerInfo
@ -54,7 +49,7 @@ public:
int GameGetMaxClients(); int GameGetMaxClients();
int GameGetGameMode(); int GameGetGameMode();
int GameGetGameTime(); int GameGetGameTime();
String^ GameGetGameName(); System::String^ GameGetGameName();
bool GameStart(); bool GameStart();
}; };