Changed from ref to value struct. Forgot a System::.
This commit is contained in:
parent
75201d4c6d
commit
1dd36eaace
|
@ -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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue