# Available Packages:

Back to index
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/Wurst
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Ability
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Boolexpr
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Camera
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Destructable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Dialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Effect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Fogmodifier
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Force
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/ForceTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Framehandle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCache
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GameCacheTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Group
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/GroupTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Hashtable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/HashtableTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Image
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Item
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Lightning
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Multiboard
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Player
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Playercolor
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Quest
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItem
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestItemTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/QuestTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Rect
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Region
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Sound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Texttag
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Timer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/TimerDialog
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Trigger
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Unit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Weather
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/Widget
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/_Handles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Boolean
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Integer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/PrimitivesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Real
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/Reference
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/String
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/StringTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_handles/primitives/_Primitives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Annotations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Basics
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/ErrorHandling
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/MagicFunctions
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Reflection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/TypeCasting
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/Wurstunit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Abilities
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AbilityIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Assets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/AttachmentPoints
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/BuffIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Buildings
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Doodads
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Environment
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/FramehandleNames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Icons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/ItemIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Objects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/OrderIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Orders
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/PathingMaps
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Sounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Soundsets
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Textures
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Tiles
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UI
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitAnimations
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/UnitIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/Units
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/_wurst/assets/WeatherEffects
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureEventsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureForGroups
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureFrames
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureKeyPresses
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/ClosureTimers
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/closures/Execute
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/BitSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMap
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashMapTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSet
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/HashSetTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedList
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModule
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListModuleTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/LinkedListTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/data/Table
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyDamage
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/DummyRecycler
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/Fx2
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/dummy/InstantDummyCaster
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageDetection
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/DamageEvent
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/EventHelper
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/LastOrder
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/OnUnitEnterLeave
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/event/RegisterEvents
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Base64Tests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ByteBuffer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/ChunkedString
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/FileIO
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/GameStatus
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SaveLoadData
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/Serializable
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/file/SyncSimple
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Angle
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BigNum
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Bitwise
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseInit
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/BitwiseTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Interpolation
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Maths
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Matrices
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/MatricesTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Quaternion
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/QuaternionTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Raycast
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/math/Vectors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/AbilityObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/BuffObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/DestructableObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ItemObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingCommons
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjEditingNatives
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/ObjectIds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/TargetsAllowed
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UnitObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/UpgradeObjEditing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ChannelAbilityPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/HeroPreset
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/ObjectIdGenerator
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/objediting/presets/OrderStringFactory
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Board
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Cinematic
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Colors
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/DialogBox
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/EffectUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GameTimer
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/GroupUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Knockback3
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/MapBounds
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Preloader
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Printing
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SafetyChecks
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Simulate3dSound
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/SoundUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StandardTextTags
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/StringUtilsTests
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TerrainUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/Time
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/TimerUtils
- jenkins/workspace/Wurst/de.peeeqscript/./build/deps/WurstStdlib2-master/wurst/util/UnitIndexer

# Player

Source

### player localPlayer

Source

### player array(dimensions = 1) players

Source

Use this array instead of Player() to avoid leaks

### function static player.addGold(int val)

Source

### function static player.addLumber(int val)

Source

### function static player.addState(playerstate state, int val)

Source

### function static player.clearSelection()

Source

Clears the selection for the player, deselecting all widgets.

### function static player.decTechResearched(int techId, int levels)

Source

### function static player.disableUserControl()

Source

Disable UI control for the player

### function static player.enableUserControl()

Source

Enable UI control for the player

### function static player.forceStartLocation(int index)

Source

### function static player.getController() returns mapcontrol

Source

### function static player.getCurrentSupply() returns int

Source

### function static player.getCursorFocus() returns unit

Source

Get unit focused by mouse cursor.

### function static player.getGold() returns int

Source

### function static player.getId() returns int

Source

### function static player.getLocale() returns string

Source

Return language locale for local player. Returns null for non-local player.

### function static player.getLumber() returns int

Source

### function static player.getMaxSupply() returns int

Source

### function static player.getName() returns string

Source

### function static player.getName(boolean removeHash) returns string

Source

Reforged names have a number attached after a hash tag, like Bob#1234

### function static player.getPlayerAlliance(player otherPlayer, alliancetype whichAllianceSetting) returns boolean

Source

### function static player.getScreenSize() returns vec2

Source

Get width and height of current Warcraft 3 client window. Returns vec2(0,0) for non-local player.

### function static player.getSlotState() returns playerslotstate

Source

### function static player.getStartLocation() returns vec2

Source

### function static player.getState(playerstate state) returns int

Source

### function static player.getTaxRate(player otherPlayer, playerstate whichResource) returns int

Source

### function static player.getTeam() returns int

Source

### function static player.hasVisibility(unit target) returns boolean

Source

### function static player.hasVisibility(vec2 pos) returns boolean

Source

### function static player.isAllyOf(player p) returns boolean

Source

### function static player.isEnemyOf(player p) returns boolean

Source

### function static player.isIngame() returns boolean

Source

### function static player.isRacePrefSet(racepreference preference) returns boolean

Source

### function static player.isScreenActive() returns boolean

Source

Check if client window is active. Will return false always for non-local player.

### function static player.isSelectable() returns boolean

Source

### function static player.isSelectionCircleEnabled() returns boolean

Source

Get if Selection Circle is enabled for local player. Returns always false for non-local player.

### function static player.isSelectionEnabled() returns boolean

Source

Get if Selection is enabled for local player. Returns always false for non-local player.

### function static player.isTargetIndicatorEnabled() returns boolean

Source

Return if Target Indicator is enabled for local player. Returns false for non-local player.

### function static player.panCamToTimed(unit u, real time)

Source

### function static player.select(unit u)

Source

### function static player.selectSingle(unit u)

Source

### function static player.sendSyncData(string prefix, string data) returns boolean

Source

### function static player.setAbilityAvailable(int abilityId, boolean avail)

Source

### function static player.setCursorEnabled(boolean enableCursor)

Source

Enable or disable mouse cursor..

### function static player.setGold(int val)

Source

### function static player.setHeroMaxAllowed(int amount)

Source

Sets the maximum allowed hero amount for a player

### function static player.setLumber(int val)

Source

### function static player.setMinimapTerrainTex(string texFile) returns boolean

Source

### function static player.setName(string name)

Source

### function static player.setPlayerAlliance(player otherPlayer, alliancetype whichAllianceSetting, boolean value)

Source

### function static player.setPosCursor(vec2 pos)

Source

Set cursor position on screen. Uses int values internally.

### function static player.setRacePreference(racepreference whichRacePreference)

Source

### function static player.setRaceSelectable(boolean value)

Source

### function static player.setSelectionsEnabled(boolean enableSelection, boolean enableSelectionCircle)

Source

Enable or disable player selections.

### function static player.setState(playerstate state, int val)

Source

### function static player.setTargetIndicator(boolean enableTargetIndicator)

Source

Set if Target Indicator is enabled for local player.

### function static player.setTaxRate(player otherPlayer, playerstate whichResource, int rate)

Source

### function static player.setUserControl(boolean enable)

Source

Enables / disables user UI control for the player

### function static player.showChatMessage(int recipient, string message)

Source

### function static player.subGold(int val)

Source

### function static player.subState(playerstate state, int val)

Source

### function static player.unselect(unit u)

Source