C# Class OpenRA.Mods.Common.Traits.UpgradeMultiplierTrait

Inheritance: IUpgradable, IDisabledTrait, ISync
Afficher le fichier Open project: OpenRA/OpenRA

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AcceptsUpgradeLevel ( Actor self, string type, int level ) : bool
GetModifier ( ) : int
UpgradeLevelChanged ( Actor self, string type, int oldLevel, int newLevel ) : void

Méthodes protégées

Méthode Description
Update ( Actor self ) : void
UpgradeMultiplierTrait ( UpgradeMultiplierTraitInfo info, string modifierType, string actorType ) : System

Method Details

AcceptsUpgradeLevel() public méthode

public AcceptsUpgradeLevel ( Actor self, string type, int level ) : bool
self Actor
type string
level int
Résultat bool

GetModifier() public méthode

public GetModifier ( ) : int
Résultat int

Update() protected méthode

protected Update ( Actor self ) : void
self Actor
Résultat void

UpgradeLevelChanged() public méthode

public UpgradeLevelChanged ( Actor self, string type, int oldLevel, int newLevel ) : void
self Actor
type string
oldLevel int
newLevel int
Résultat void

UpgradeMultiplierTrait() protected méthode

protected UpgradeMultiplierTrait ( UpgradeMultiplierTraitInfo info, string modifierType, string actorType ) : System
info UpgradeMultiplierTraitInfo
modifierType string
actorType string
Résultat System