C# Class OpenRA.Mods.Common.Scripting.MapGlobal

Inheritance: OpenRA.Scripting.ScriptGlobal
Datei anzeigen Open project: pchote/OpenRA

Private Properties

Property Type Description
ActorsInBox Actor[]
ActorsInCircle Actor[]
ActorsWithTag Actor[]
CenterOfCell WPos
ClosestEdgeCell CPos
ClosestMatchingEdgeCell CPos
IsNamedActor bool
LobbyOption LuaValue
NamedActor Actor
RandomCell CPos
RandomEdgeCell CPos

Public Methods

Method Description
MapGlobal ( OpenRA.Scripting.ScriptContext context ) : System.Collections.Generic

Private Methods

Method Description
ActorsInBox ( WPos topLeft, WPos bottomRight, Eluant.LuaFunction filter = null ) : Actor[]
ActorsInCircle ( WPos location, WDist radius, Eluant.LuaFunction filter = null ) : Actor[]
ActorsWithTag ( string tag ) : Actor[]
CenterOfCell ( CPos cell ) : WPos
ClosestEdgeCell ( CPos givenCell ) : CPos
ClosestMatchingEdgeCell ( CPos givenCell, Eluant.LuaFunction filter ) : CPos
IsNamedActor ( Actor actor ) : bool
LobbyOption ( string id ) : LuaValue
NamedActor ( string actorName ) : Actor
RandomCell ( ) : CPos
RandomEdgeCell ( ) : CPos

Method Details

MapGlobal() public method

public MapGlobal ( OpenRA.Scripting.ScriptContext context ) : System.Collections.Generic
context OpenRA.Scripting.ScriptContext
return System.Collections.Generic