You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
398 B
14 lines
398 B
public partial class Players : Node |
|
, IReadOnlyCollection<Player> |
|
{ |
|
public int Count |
|
=> GetChildCount(); |
|
|
|
public Player ByPeerId(int peerId) |
|
=> this.GetNodeOrThrow<Player>(peerId.ToString()); |
|
|
|
public IEnumerator<Player> GetEnumerator() |
|
=> GetChildren().Cast<Player>().GetEnumerator(); |
|
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() |
|
=> GetEnumerator(); |
|
}
|
|
|