Class Player
A wrapper to the game's obfuscated Player class
Inheritance
System.Object
Player
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: LLBModdingLib.dll
Syntax
Constructors
Player(ALDOKEMAOMB)
Declaration
public Player(ALDOKEMAOMB p)
Parameters
| Type |
Name |
Description |
| ALDOKEMAOMB |
p |
|
Properties
aiLevel
Declaration
public int aiLevel { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
Character
Declaration
public Character Character { get; set; }
Property Value
| Type |
Description |
| Character |
|
CharacterSelected
Declaration
public Character CharacterSelected { get; set; }
Property Value
| Type |
Description |
| Character |
|
CharacterSelectedIsRandom
Declaration
public bool CharacterSelectedIsRandom { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
CharacterVariant
Declaration
public CharacterVariant CharacterVariant { get; set; }
Property Value
| Type |
Description |
| CharacterVariant |
|
controller
Declaration
public Controller controller { get; set; }
Property Value
| Type |
Description |
| LLHandlers.Controller |
|
cpuSelecting
Declaration
public int cpuSelecting { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
cursor
Declaration
public LLCursor cursor { get; set; }
Property Value
| Type |
Description |
| LLGUI.LLCursor |
|
DidJoinedMatch
Declaration
public bool DidJoinedMatch { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
ip
Declaration
public string ip { get; set; }
Property Value
| Type |
Description |
| System.String |
|
IsAI
Declaration
public bool IsAI { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsDisconnected
Declaration
public bool IsDisconnected { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsInMatch
Declaration
public bool IsInMatch { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
isLocal
Declaration
public bool isLocal { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsLocalPeer
Declaration
public bool IsLocalPeer { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsSpectator
Declaration
public bool IsSpectator { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
LocalPlayerNumber
Gets the current player number for the local player.
Declaration
public static int LocalPlayerNumber { get; }
Property Value
| Type |
Description |
| System.Int32 |
The current platform as a PlatformBase object.
|
MAX_PLAYERS
Declaration
public static int MAX_PLAYERS { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
name
Declaration
public string name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
nPlayersInMatch
Declaration
public static int nPlayersInMatch { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
nPlayersJoinedMatch
Declaration
public static int nPlayersJoinedMatch { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
nr
Declaration
public int nr { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
peer
Declaration
public Peer peer { get; set; }
Property Value
| Type |
Description |
| Multiplayer.Peer |
|
playerEntity
Declaration
public PlayerEntity playerEntity { get; set; }
Property Value
| Type |
Description |
| GameplayEntities.PlayerEntity |
|
playerStatus
Declaration
public PlayerStatus playerStatus { get; set; }
Property Value
port
Declaration
public int port { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
ready
Declaration
public bool ready { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
selected
Declaration
public bool selected { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Team
Declaration
public Team Team { get; set; }
Property Value
variant
Declaration
public CharacterVariant variant { get; set; }
Property Value
| Type |
Description |
| CharacterVariant |
|
Methods
BiggerHeadActivated(Character)
Declaration
public bool BiggerHeadActivated(Character character)
Parameters
| Type |
Name |
Description |
| Character |
character |
|
Returns
| Type |
Description |
| System.Boolean |
|
CheckCheats(Character)
Declaration
public void CheckCheats(Character character)
Parameters
| Type |
Name |
Description |
| Character |
character |
|
ClearDetermine()
Declaration
public void ClearDetermine()
DetermineCharacter(Character[])
Declaration
public void DetermineCharacter(Character[] skipCharacters = null)
Parameters
| Type |
Name |
Description |
| Character[] |
skipCharacters |
|
EPlayers()
Declaration
public static IEnumerable<ALDOKEMAOMB> EPlayers()
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<ALDOKEMAOMB> |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
ForAll(Action<ALDOKEMAOMB>)
Declaration
public static void ForAll(Action<ALDOKEMAOMB> callback)
Parameters
| Type |
Name |
Description |
| System.Action<ALDOKEMAOMB> |
callback |
|
ForAll(Action<Player>)
Declaration
public static void ForAll(Action<Player> callback)
Parameters
| Type |
Name |
Description |
| System.Action<Player> |
callback |
|
ForAllActivelyInMatch(Action<PlayerEntity>)
Declaration
public static void ForAllActivelyInMatch(Action<PlayerEntity> callback)
Parameters
| Type |
Name |
Description |
| System.Action<GameplayEntities.PlayerEntity> |
callback |
The function applying to each GameplayEntities.PlayerEntity
|
ForAllActivelyInMatch(Action<Player>)
Declaration
public static void ForAllActivelyInMatch(Action<Player> callback)
Parameters
| Type |
Name |
Description |
| System.Action<Player> |
callback |
The function applying to each Player
|
ForAllInMatch(Action<ALDOKEMAOMB>)
Declaration
public static void ForAllInMatch(Action<ALDOKEMAOMB> callback)
Parameters
| Type |
Name |
Description |
| System.Action<ALDOKEMAOMB> |
callback |
|
ForAllInMatch(Action<PlayerEntity>)
Declaration
public static void ForAllInMatch(Action<PlayerEntity> callback)
Parameters
| Type |
Name |
Description |
| System.Action<GameplayEntities.PlayerEntity> |
callback |
|
ForAllInMatch(Action<Player>)
Declaration
public static void ForAllInMatch(Action<Player> callback)
Parameters
| Type |
Name |
Description |
| System.Action<Player> |
callback |
|
ForAllInTeam(Team, Action<PlayerEntity>)
Declaration
public static void ForAllInTeam(Team team, Action<PlayerEntity> callback)
Parameters
| Type |
Name |
Description |
| Team |
team |
|
| System.Action<GameplayEntities.PlayerEntity> |
callback |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.Object.GetHashCode()
GetLocalPlayer()
Casts EPlayers() to a System.Collections.Generic.List<T>
Declaration
public static Player GetLocalPlayer()
Returns
GetNextTeam(GameMode, Int32)
Declaration
public Team GetNextTeam(GameMode gameMode, int prevNext = 1)
Parameters
| Type |
Name |
Description |
| GameMode |
gameMode |
|
| System.Int32 |
prevNext |
|
Returns
GetPlayer(Int32)
Declaration
public static Player GetPlayer(int playerNr)
Parameters
| Type |
Name |
Description |
| System.Int32 |
playerNr |
|
Returns
GetPlayerList()
Casts EPlayers() to a System.Collections.Generic.List<T>
Declaration
public static List<Player> GetPlayerList()
Returns
| Type |
Description |
| System.Collections.Generic.List<Player> |
A list of Player
|
GetRandomCharacter(Character[])
Declaration
public Character GetRandomCharacter(Character[] skipCharacters = null)
Parameters
| Type |
Name |
Description |
| Character[] |
skipCharacters |
|
Returns
| Type |
Description |
| Character |
|
GetRandomCharacter(Boolean)
Declaration
public Character GetRandomCharacter(bool any)
Parameters
| Type |
Name |
Description |
| System.Boolean |
any |
|
Returns
| Type |
Description |
| Character |
|
GetRandomName()
Declaration
public static string GetRandomName()
Returns
| Type |
Description |
| System.String |
|
GetVariantFirst()
Declaration
public CharacterVariant GetVariantFirst()
Returns
| Type |
Description |
| CharacterVariant |
|
GetVariantFirst(Character)
Declaration
public CharacterVariant GetVariantFirst(Character forCharacter)
Parameters
| Type |
Name |
Description |
| Character |
forCharacter |
|
Returns
| Type |
Description |
| CharacterVariant |
|
GetVariantFixed()
Declaration
public CharacterVariant GetVariantFixed()
Returns
| Type |
Description |
| CharacterVariant |
|
GetVariantNext(Int32)
Declaration
public CharacterVariant GetVariantNext(int prevNext = 1)
Parameters
| Type |
Name |
Description |
| System.Int32 |
prevNext |
|
Returns
| Type |
Description |
| CharacterVariant |
|
GetVariantRandom(Boolean)
Declaration
public CharacterVariant GetVariantRandom(bool any = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
any |
|
Returns
| Type |
Description |
| CharacterVariant |
|
Init()
Declaration
public static void Init()
JoinMatch(Boolean)
Declaration
public void JoinMatch(bool join)
Parameters
| Type |
Name |
Description |
| System.Boolean |
join |
|
LeaveMatch()
Declaration
Reset()
Declaration
ResetAll()
Declaration
public static void ResetAll()
ResetName()
Declaration
ResetTeam(GameMode, Boolean)
Declaration
public void ResetTeam(GameMode gameMode, bool changeAnyway)
Parameters
| Type |
Name |
Description |
| GameMode |
gameMode |
|
| System.Boolean |
changeAnyway |
|
SetCursorActive(Boolean, Single, Single)
Declaration
public void SetCursorActive(bool active, float relX = -1F, float relY = -1F)
Parameters
| Type |
Name |
Description |
| System.Boolean |
active |
|
| System.Single |
relX |
|
| System.Single |
relY |
|
SetSpectator()
Declaration
public void SetSpectator()
SmallerHeadActivated(Character)
Declaration
public bool SmallerHeadActivated(Character character)
Parameters
| Type |
Name |
Description |
| Character |
character |
|
Returns
| Type |
Description |
| System.Boolean |
|
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
UpdateLight()
Declaration
public void UpdateLight()
UpdateLights()
Declaration
public static void UpdateLights()
Operators
Implicit(ALDOKEMAOMB to Player)
Declaration
public static implicit operator Player(ALDOKEMAOMB p)
Parameters
| Type |
Name |
Description |
| ALDOKEMAOMB |
p |
|
Returns
Implicit(Player to ALDOKEMAOMB)
Declaration
public static implicit operator ALDOKEMAOMB(Player p)
Parameters
| Type |
Name |
Description |
| Player |
p |
|
Returns
| Type |
Description |
| ALDOKEMAOMB |
|