Exemple #1
0
 public override void SendPacket(ServerPlayer player, IBasePacket packet)
 {
     SendPacket(player.SteamId, packet);
 }
Exemple #2
0
 public abstract void SendPacket(ServerPlayer player, IBasePacket packet);
Exemple #3
0
 public override void DisconnectPlayer(ServerPlayer player, string reason)
 {
     Enum.TryParse(reason, out DenyReason dr);
     _socket.Disconnect(player.SteamId, (int)dr);
 }
Exemple #4
0
 public abstract void DisconnectPlayer(ServerPlayer player, string reason);