Class RemotePlayer
- Namespace
- Backdash
- Assembly
- Backdash.dll
Holds data for a new player of type Remote.
public sealed class RemotePlayer : Player, IEquatable<Player>, IEqualityOperators<Player, Player, bool>
- Inheritance
-
RemotePlayer
- Implements
- Inherited Members
Constructors
RemotePlayer(int, IPAddress, int)
Initialize new RemotePlayer
public RemotePlayer(int playerNumber, IPAddress ipAddress, int port)
Parameters
playerNumber
intPlayer number
ipAddress
IPAddressPlayer IP Address
port
intPlayer remote port number
RemotePlayer(int, IPEndPoint)
Holds data for a new player of type Remote.
public RemotePlayer(int playerNumber, IPEndPoint endpoint)
Parameters
playerNumber
intPlayer number (starting from
1
)endpoint
IPEndPointPlayer IP Endpoint IPEndPoint
Properties
EndPoint
Player network endpoint
public IPEndPoint EndPoint { get; }