예제 #1
0
 /// <summary>
 /// Creates a new client-side player instance
 /// </summary>
 /// <param name="tag">The client tag</param>
 /// <param name="playerId">The player's ID</param>
 public Player(ClientTag tag, byte playerId) : this(playerId, tag.Name, false)
 {
 }
예제 #2
0
 /// <summary>
 /// Creates a new client-side player instance
 /// </summary>
 /// <param name="tag">The client tag</param>
 /// <param name="connection">The connection for this client</param>
 /// <param name="playerId">The player's ID</param>
 public Player(ClientTag tag, NetConnection connection, byte playerId)
     : this(tag, playerId)
 {
     Connection = connection;
 }