Class EntityComponentUpgradeManager
Inheritance
EntityComponentUpgradeManager
Implements
IPreRunGameService
Assembly: cs.temp.dll.dll
Syntax
public class EntityComponentUpgradeManager : MonoBehaviour, IEntityComponentUpgradeManager, IPreRunGameService
Properties
effectObjPool
Declaration
protected IEffectObjectPool effectObjPool { get; }
Property Value
Type |
Description |
IEffectObjectPool |
|
Elements
Declaration
public IEnumerable<IReadOnlyDictionary<string, IEnumerable<UpgradeElement<IEntityComponent>>>> Elements { get; }
Property Value
gameMgr
Declaration
protected IGameManager gameMgr { get; }
Property Value
Type |
Description |
IGameManager |
|
globalEvent
Declaration
protected IGlobalEventPublisher globalEvent { get; }
Property Value
Type |
Description |
IGlobalEventPublisher |
|
Declaration
protected IInputManager inputMgr { get; }
Property Value
Type |
Description |
IInputManager |
|
logger
Declaration
protected IGameLoggingService logger { get; }
Property Value
Type |
Description |
IGameLoggingService |
|
SourceOnlyElements
Declaration
public IReadOnlyDictionary<IEntity, IEnumerable<UpgradeElement<IEntityComponent>>> SourceOnlyElements { get; }
Property Value
Methods
Init(IGameManager)
Declaration
public void Init(IGameManager gameMgr)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IsLaunched(EntityComponentUpgrade, EntityComponentUpgradeElementSource, Int32)
Declaration
public bool IsLaunched(EntityComponentUpgrade upgrade, EntityComponentUpgradeElementSource upgradeSource, int factionID)
Parameters
Returns
LaunchLocal(EntityComponentUpgrade, EntityComponentUpgradeElementSource, Int32)
Declaration
public ErrorMessage LaunchLocal(EntityComponentUpgrade upgrade, EntityComponentUpgradeElementSource upgradeSource, int factionID)
Parameters
Returns
ResetUpgrades(IEnumerable<IReadOnlyDictionary<String, IEnumerable<UpgradeElement<IEntityComponent>>>>, IReadOnlyDictionary<IEntity, IEnumerable<UpgradeElement<IEntityComponent>>>)
Declaration
public void ResetUpgrades(IEnumerable<IReadOnlyDictionary<string, IEnumerable<UpgradeElement<IEntityComponent>>>> newElements, IReadOnlyDictionary<IEntity, IEnumerable<UpgradeElement<IEntityComponent>>> newSourceOnlyElements)
Parameters
TryGet(IEntity, Int32, out List<UpgradeElement<IEntityComponent>>)
Declaration
public bool TryGet(IEntity entity, int factionID, out List<UpgradeElement<IEntityComponent>> componentUpgrades)
Parameters
Returns
Implements
IPreRunGameService