ReInputPlayerHelper Class |
Namespace: Rewired
public sealed class PlayerHelper : CodeHelper
The ReInputPlayerHelper type exposes the following members.
Name | Description | |
---|---|---|
![]() | allPlayerCount |
Count of all players including system player
|
![]() | AllPlayers |
List of all Players including System player
|
![]() | playerCount |
Count of Players excluding system player
|
![]() | Players |
List of all Players excluding System player
|
![]() | SystemPlayer |
The System player
|
Name | Description | |
---|---|---|
![]() | GetPlayer(Int32) |
Gets a Player at a specific id
|
![]() | GetPlayer(String) |
Gets a Player by name
|
![]() | GetPlayerDescriptiveNames |
Gets an array of player descriptive names. Optionally includes the System player.
Allocates an array, so use sparingly to reduce garbage collection.
|
![]() | GetPlayerId |
Gets the id of a Player by name
|
![]() | GetPlayerIds |
Gets an array of player ids. Optionally includes System player.
Allocates an array, so use sparingly to reduce garbage collection.
|
![]() | GetPlayerNames |
Gets an array of player names. Optionally includes the System player.
Allocates an array, so use sparingly to reduce garbage collection.
|
![]() | GetPlayers |
Gets a list of Players.
|
![]() | GetSystemPlayer |
Gets the System Player
|