type playercolor extends handle
constant native ConvertPlayerColor takes integer i returns playercolor
constant playercolor PLAYER_COLOR_RED = ConvertPlayerColor (0)
constant playercolor PLAYER_COLOR_BLUE = ConvertPlayerColor (1)
constant playercolor PLAYER_COLOR_CYAN = ConvertPlayerColor (2)
constant playercolor PLAYER_COLOR_PURPLE = ConvertPlayerColor (3)
constant playercolor PLAYER_COLOR_YELLOW = ConvertPlayerColor (4)
constant playercolor PLAYER_COLOR_ORANGE = ConvertPlayerColor (5)
constant playercolor PLAYER_COLOR_GREEN = ConvertPlayerColor (6)
constant playercolor PLAYER_COLOR_PINK = ConvertPlayerColor (7)
constant playercolor PLAYER_COLOR_LIGHT_GRAY = ConvertPlayerColor (8)
constant playercolor PLAYER_COLOR_LIGHT_BLUE = ConvertPlayerColor (9)
constant playercolor PLAYER_COLOR_AQUA = ConvertPlayerColor (10)
constant playercolor PLAYER_COLOR_BROWN = ConvertPlayerColor (11)
constant playercolor PLAYER_COLOR_MAROON = ConvertPlayerColor (12)
constant playercolor PLAYER_COLOR_NAVY = ConvertPlayerColor (13)
constant playercolor PLAYER_COLOR_TURQUOISE = ConvertPlayerColor (14)
constant playercolor PLAYER_COLOR_VIOLET = ConvertPlayerColor (15)
constant playercolor PLAYER_COLOR_WHEAT = ConvertPlayerColor (16)
constant playercolor PLAYER_COLOR_PEACH = ConvertPlayerColor (17)
constant playercolor PLAYER_COLOR_MINT = ConvertPlayerColor (18)
constant playercolor PLAYER_COLOR_LAVENDER = ConvertPlayerColor (19)
constant playercolor PLAYER_COLOR_COAL = ConvertPlayerColor (20)
constant playercolor PLAYER_COLOR_SNOW = ConvertPlayerColor (21)
constant playercolor PLAYER_COLOR_EMERALD = ConvertPlayerColor (22)
constant playercolor PLAYER_COLOR_PEANUT = ConvertPlayerColor (23)
native GetPlayerColor takes player whichPlayer returns playercolor
playercolor bj_setPlayerTargetColor = null
native SetPlayerColor takes player whichPlayer, playercolor color returns nothing
native SetUnitColor takes unit whichUnit, playercolor whichColor returns nothing
native GetHandleId takes handle h returns integer
function GetHandleIdBJ takes handle h returns integer
function SetPlayerColorBJ takes player whichPlayer, playercolor color, boolean changeExisting returns nothing
native SetCinematicScene takes integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration returns nothing
function SetCinematicSceneBJ takes sound soundHandle, integer portraitUnitId, playercolor color, string speakerTitle, string text, real sceneDuration, real voiceoverDuration returns nothing
function DoTransmissionBasicsXYBJ takes integer unitId, playercolor color, real x, real y, sound soundHandle, string unitName, string message, real duration returns nothing
function SetPlayerColorBJEnum takes nothing returns nothing
constant native GetBJMaxPlayers takes nothing returns integer
constant native GetBJPlayerNeutralVictim takes nothing returns integer
constant native GetBJPlayerNeutralExtra takes nothing returns integer
constant native GetBJMaxPlayerSlots takes nothing returns integer
constant native GetPlayerNeutralPassive takes nothing returns integer
constant native GetPlayerNeutralAggressive takes nothing returns integer
native GetTeams takes nothing returns integer
native GetPlayers takes nothing returns integer
native GetGameTypeSelected takes nothing returns gametype
constant native GetGamePlacement takes nothing returns placement
constant native GetGameSpeed takes nothing returns gamespeed
constant native GetGameDifficulty takes nothing returns gamedifficulty
constant native GetResourceDensity takes nothing returns mapdensity
constant native GetCreatureDensity takes nothing returns mapdensity
native CreateTimer takes nothing returns timer
native GetExpiredTimer takes nothing returns timer
native CreateGroup takes nothing returns group
native CreateForce takes nothing returns force
native CreateRegion takes nothing returns region
native GetWorldBounds takes nothing returns rect
native CreateTrigger takes nothing returns trigger
constant native GetFilterUnit takes nothing returns unit
constant native GetEnumUnit takes nothing returns unit
constant native GetFilterDestructable takes nothing returns destructable
constant native GetEnumDestructable takes nothing returns destructable
constant native GetFilterItem takes nothing returns item
constant native GetEnumItem takes nothing returns item
constant native GetFilterPlayer takes nothing returns player
constant native GetEnumPlayer takes nothing returns player
constant native GetTriggeringTrigger takes nothing returns trigger
constant native GetTriggerEventId takes nothing returns eventid
constant native GetEventGameState takes nothing returns gamestate
constant native GetWinningPlayer takes nothing returns player
constant native GetTriggeringRegion takes nothing returns region
constant native GetEnteringUnit takes nothing returns unit
constant native GetLeavingUnit takes nothing returns unit
constant native GetTriggeringTrackable takes nothing returns trackable
constant native GetClickedButton takes nothing returns button
constant native GetClickedDialog takes nothing returns dialog
constant native GetTournamentFinishSoonTimeRemaining takes nothing returns real
constant native GetTournamentFinishNowRule takes nothing returns integer
constant native GetTournamentFinishNowPlayer takes nothing returns player
constant native GetSaveBasicFilename takes nothing returns string
constant native GetTriggerPlayer takes nothing returns player
constant native GetLevelingUnit takes nothing returns unit
constant native GetLearningUnit takes nothing returns unit
constant native GetLearnedSkill takes nothing returns integer
constant native GetLearnedSkillLevel takes nothing returns integer
constant native GetRevivableUnit takes nothing returns unit
constant native GetRevivingUnit takes nothing returns unit
constant native GetAttacker takes nothing returns unit
constant native GetRescuer takes nothing returns unit
constant native GetDyingUnit takes nothing returns unit
constant native GetKillingUnit takes nothing returns unit
constant native GetDecayingUnit takes nothing returns unit
constant native GetConstructingStructure takes nothing returns unit
constant native GetCancelledStructure takes nothing returns unit
constant native GetConstructedStructure takes nothing returns unit
constant native GetResearchingUnit takes nothing returns unit
constant native GetResearched takes nothing returns integer
constant native GetTrainedUnitType takes nothing returns integer
constant native GetTrainedUnit takes nothing returns unit
constant native GetDetectedUnit takes nothing returns unit