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

Inheritance: INotifyIdle, INotifyDamage, INotifyKilled, INotifyProduction, INotifyOtherProduction, INotifyObjectivesUpdated, INotifyCapture, INotifyInfiltrated, INotifyAddedToWorld, INotifyRemovedFromWorld, INotifyDiscovered, INotifyActorDisposing, INotifyPassengerEntered, INotifyPassengerExited, INotifySold
Afficher le fichier Open project: OpenRA/OpenRA Class Usage Examples

Méthodes publiques

Méthode Description
AddedToWorld ( Actor self ) : void
Clear ( Trigger trigger ) : void
ClearAll ( ) : void
Damaged ( Actor self, OpenRA.Traits.AttackInfo e ) : void
Disposing ( Actor self ) : void
HasAnyCallbacksFor ( Trigger trigger ) : bool
Infiltrated ( Actor self, Actor infiltrator ) : void
Killed ( Actor self, OpenRA.Traits.AttackInfo e ) : void
OnCapture ( Actor self, Actor captor, Player oldOwner, Player newOwner ) : void
OnDiscovered ( Actor self, Player discoverer, bool playNotification ) : void
OnObjectiveAdded ( Player player, int id ) : void
OnObjectiveCompleted ( Player player, int id ) : void
OnObjectiveFailed ( Player player, int id ) : void
OnPlayerLost ( Player player ) : void
OnPlayerWon ( Player player ) : void
RegisterCallback ( Trigger trigger, Eluant.LuaFunction func, OpenRA.Scripting.ScriptContext context ) : void
RemovedFromWorld ( Actor self ) : void
ScriptTriggers ( World world, Actor self ) : System
TickIdle ( Actor self ) : void
UnitProduced ( Actor self, Actor other, CPos exit ) : void
UnitProducedByOther ( Actor self, Actor producee, Actor produced ) : void

Private Methods

Méthode Description
INotifyPassengerEntered ( Actor self, Actor passenger ) : void
INotifyPassengerExited ( Actor self, Actor passenger ) : void
INotifySold ( Actor self ) : void
Triggerables ( Trigger trigger ) : List

Method Details

AddedToWorld() public méthode

public AddedToWorld ( Actor self ) : void
self Actor
Résultat void

Clear() public méthode

public Clear ( Trigger trigger ) : void
trigger Trigger
Résultat void

ClearAll() public méthode

public ClearAll ( ) : void
Résultat void

Damaged() public méthode

public Damaged ( Actor self, OpenRA.Traits.AttackInfo e ) : void
self Actor
e OpenRA.Traits.AttackInfo
Résultat void

Disposing() public méthode

public Disposing ( Actor self ) : void
self Actor
Résultat void

HasAnyCallbacksFor() public méthode

public HasAnyCallbacksFor ( Trigger trigger ) : bool
trigger Trigger
Résultat bool

Infiltrated() public méthode

public Infiltrated ( Actor self, Actor infiltrator ) : void
self Actor
infiltrator Actor
Résultat void

Killed() public méthode

public Killed ( Actor self, OpenRA.Traits.AttackInfo e ) : void
self Actor
e OpenRA.Traits.AttackInfo
Résultat void

OnCapture() public méthode

public OnCapture ( Actor self, Actor captor, Player oldOwner, Player newOwner ) : void
self Actor
captor Actor
oldOwner Player
newOwner Player
Résultat void

OnDiscovered() public méthode

public OnDiscovered ( Actor self, Player discoverer, bool playNotification ) : void
self Actor
discoverer Player
playNotification bool
Résultat void

OnObjectiveAdded() public méthode

public OnObjectiveAdded ( Player player, int id ) : void
player Player
id int
Résultat void

OnObjectiveCompleted() public méthode

public OnObjectiveCompleted ( Player player, int id ) : void
player Player
id int
Résultat void

OnObjectiveFailed() public méthode

public OnObjectiveFailed ( Player player, int id ) : void
player Player
id int
Résultat void

OnPlayerLost() public méthode

public OnPlayerLost ( Player player ) : void
player Player
Résultat void

OnPlayerWon() public méthode

public OnPlayerWon ( Player player ) : void
player Player
Résultat void

RegisterCallback() public méthode

public RegisterCallback ( Trigger trigger, Eluant.LuaFunction func, OpenRA.Scripting.ScriptContext context ) : void
trigger Trigger
func Eluant.LuaFunction
context OpenRA.Scripting.ScriptContext
Résultat void

RemovedFromWorld() public méthode

public RemovedFromWorld ( Actor self ) : void
self Actor
Résultat void

ScriptTriggers() public méthode

public ScriptTriggers ( World world, Actor self ) : System
world World
self Actor
Résultat System

TickIdle() public méthode

public TickIdle ( Actor self ) : void
self Actor
Résultat void

UnitProduced() public méthode

public UnitProduced ( Actor self, Actor other, CPos exit ) : void
self Actor
other Actor
exit CPos
Résultat void

UnitProducedByOther() public méthode

public UnitProducedByOther ( Actor self, Actor producee, Actor produced ) : void
self Actor
producee Actor
produced Actor
Résultat void