mirror of
https://github.com/MrOkiDoki/BattleBit-Community-Server-API.git
synced 2025-01-26 19:23:11 -03:00
asfdsadsggsdfgsdfgsfdgfdsgdfsdg
This commit is contained in:
parent
4c0fb56f04
commit
063a996a9d
2 changed files with 2 additions and 6 deletions
|
@ -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();
|
||||||
|
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue