asfdsadsggsdfgsdfgsfdgfdsgdfsdg

This commit is contained in:
MrOkiDoki 2023-08-14 14:51:25 +03:00
parent 4c0fb56f04
commit 063a996a9d
2 changed files with 2 additions and 6 deletions

View file

@ -186,7 +186,7 @@ namespace BattleBitAPI.Server
gamePort = readStream.ReadUInt16(); gamePort = readStream.ReadUInt16();
} }
//Read is Port protected //Read is server protected
bool isPasswordProtected; bool isPasswordProtected;
{ {
readStream.Reset(); readStream.Reset();

View file

@ -25,11 +25,7 @@ class MyGameServer : GameServer<MyPlayer>
{ {
ForceStartGame(); 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);
}
} }
} }