asfdsadsggsdfgsdfgsfdgfdsgdfsdg
This commit is contained in:
parent
4c0fb56f04
commit
063a996a9d
|
@ -186,7 +186,7 @@ namespace BattleBitAPI.Server
|
|||
gamePort = readStream.ReadUInt16();
|
||||
}
|
||||
|
||||
//Read is Port protected
|
||||
//Read is server protected
|
||||
bool isPasswordProtected;
|
||||
{
|
||||
readStream.Reset();
|
||||
|
|
|
@ -25,11 +25,7 @@ class MyGameServer : GameServer<MyPlayer>
|
|||
{
|
||||
ForceStartGame();
|
||||
}
|
||||
public override async Task OnTick()
|
||||
public override async Task OnPlayerJoiningToServer(ulong steamID, PlayerJoiningArguments args)
|
||||
{
|
||||
foreach (var player in AllPlayers)
|
||||
{
|
||||
await Console.Out.WriteLineAsync(player + " : " + player.HP + " : " + player.Position);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue