LocalPlayer

From LoTROInterface Wiki

Jump to: navigation, search


A class that represents the local player.

Methods

Name Description
GetAlignment Gets the alignment of the player. (Inherited from Player)
GetAttributes Gets the general attributes of a player.
GetBackpack Gets the player's backpack.
GetBaseMaxMorale Gets the base max morale of the actor. (Inherited from Actor)
GetBaseMaxPower Gets the base max power of the actor. (Inherited from Actor)
GetClass Gets the class of the player. (Inherited from Player)
GetClassAttributes Gets attribute information specific to a class.
GetEffects Gets the effects on the actor. (Inherited from Actor)
GetEquipment
GetInstance Gets the instance of the Local Player.
GetLevel Gets the level of the actor. (Inherited from Actor)
GetMaxMorale Gets the max morale of the actor. (Inherited from Actor)
GetMaxPower Gets the max power of the actor. (Inherited from Actor)
GetMorale Gets the current morale of the actor. (Inherited from Actor)
GetMount
GetName Gets the name of the entity. (Inherited from Entity)
GetPower Gets the current power of the actor. (Inherited from Actor)
GetRace Gets the race of the player. (Inherited from Player)
GetRaceAttributes Gets attribute information specific to a race.
GetSharedStorage
GetTrainedSkills
GetUntrainedSkills
GetVault
GetWallet
IsInCombat Gets a flag indicating if the player is in combat.

Events

Name Description
BaseMaxMoraleChanged Event fired when the actor's base max morale changes. (Inherited from Actor)
BaseMaxPowerChanged Event fired when the actor's base max power changes. (Inherited from Actor)
InCombatChanged Event fired when the player's in combat state changes.
LevelChanged Event fired when the actor's level changes. (Inherited from Actor)
MaxMoraleChanged Event fired when the actor's max morale changes. (Inherited from Actor)
MaxPowerChanged Event fired when the actor's max power changes. (Inherited from Actor)
MoraleChanged Event fired when the actor's morale changes. (Inherited from Actor)
NameChanged Event fired when the actor's name changes. (Inherited from Actor)
PowerChanged Event fired when the actor's power changes. (Inherited from Actor)
TargetChanged

Remarks

This class represents the Local Player in the world. The local player is the player logged into the world on the client which a script using this class is running.A Local Player has access to information beyond just a player, providing the ability to access the player's backpack.

Inheritence Hierarchy

Turbine.Object

Turbine.Gameplay.EntityReference
Turbine.Gameplay.Entity
Turbine.Gameplay.Actor
Turbine.Gameplay.Player
Turbine.Gameplay.LocalPlayer
Personal tools