Table of Contents

Class ResearchUpgradePlayerAction

Namespace
Root
Assembly
SPZGameAssembly.dll
public class ResearchUpgradePlayerAction : IPlayerAction
Inheritance
object
ResearchUpgradePlayerAction
Implements
Extension Methods

Constructors

ResearchUpgradePlayerAction(IResearchUpgrade, ResearchUnlockManager, Player)

public ResearchUpgradePlayerAction(IResearchUpgrade upgrade, ResearchUnlockManager research, Player executor)

Parameters

upgrade IResearchUpgrade
research ResearchUnlockManager
executor Player

Properties

Executor

public Player Executor { get; }

Property Value

Player

Mode

public PlayerActionMode Mode { get; }

Property Value

PlayerActionMode

Methods

IsPossible(IInteractionMode)

public bool IsPossible(IInteractionMode interactionMode)

Parameters

interactionMode IInteractionMode

Returns

bool

TryExecute_INTERNAL(out IPlayerAction, IInteractionMode, bool)

public bool TryExecute_INTERNAL(out IPlayerAction reverseAction, IInteractionMode interactionMode, bool skipChecks_INTERNAL = false)

Parameters

reverseAction IPlayerAction
interactionMode IInteractionMode
skipChecks_INTERNAL bool

Returns

bool