Show / Hide Table of Contents

Class SharedResearchSystem

Inheritance
System.Object
SharedResearchSystem
ResearchSystem
ResearchSystem
Namespace: Content.Shared.Research.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedResearchSystem : EntitySystem

Fields

| Improve this Doc View Source

PrototypeManager

Declaration
protected readonly IPrototypeManager PrototypeManager
Field Value
Type Description
Robust.Shared.Prototypes.IPrototypeManager

Methods

| Improve this Doc View Source

ClearTechs(EntityUid, TechnologyDatabaseComponent)

Clear all unlocked technologies from the database.

Declaration
public void ClearTechs(EntityUid uid, TechnologyDatabaseComponent comp = null)
Parameters
Type Name Description
EntityUid uid
TechnologyDatabaseComponent comp
| Improve this Doc View Source

GetAvailableTechnologies(EntityUid, TechnologyDatabaseComponent)

Declaration
public List<TechnologyPrototype> GetAvailableTechnologies(EntityUid uid, TechnologyDatabaseComponent component = null)
Parameters
Type Name Description
EntityUid uid
TechnologyDatabaseComponent component
Returns
Type Description
List<TechnologyPrototype>
| Improve this Doc View Source

GetDisciplineTiers(TechnologyDatabaseComponent)

Declaration
public Dictionary<string, int> GetDisciplineTiers(TechnologyDatabaseComponent component)
Parameters
Type Name Description
TechnologyDatabaseComponent component
Returns
Type Description
Dictionary<System.String, System.Int32>
| Improve this Doc View Source

GetHighestDisciplineTier(TechnologyDatabaseComponent, TechDisciplinePrototype)

Declaration
public int GetHighestDisciplineTier(TechnologyDatabaseComponent component, TechDisciplinePrototype techDiscipline)
Parameters
Type Name Description
TechnologyDatabaseComponent component
TechDisciplinePrototype techDiscipline
Returns
Type Description
System.Int32
| Improve this Doc View Source

GetHighestDisciplineTier(TechnologyDatabaseComponent, String)

Declaration
public int GetHighestDisciplineTier(TechnologyDatabaseComponent component, string disciplineId)
Parameters
Type Name Description
TechnologyDatabaseComponent component
System.String disciplineId
Returns
Type Description
System.Int32
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

IsTechnologyAvailable(TechnologyDatabaseComponent, TechnologyPrototype, Nullable<Dictionary<String, Int32>>)

Declaration
public bool IsTechnologyAvailable(TechnologyDatabaseComponent component, TechnologyPrototype tech, Dictionary<string, int>? disciplineTiers = null)
Parameters
Type Name Description
TechnologyDatabaseComponent component
TechnologyPrototype tech
System.Nullable<Dictionary<System.String, System.Int32>> disciplineTiers
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsTechnologyUnlocked(EntityUid, TechnologyPrototype, TechnologyDatabaseComponent)

Returns whether a technology is unlocked on this database or not.

Declaration
public bool IsTechnologyUnlocked(EntityUid uid, TechnologyPrototype technology, TechnologyDatabaseComponent component = null)
Parameters
Type Name Description
EntityUid uid
TechnologyPrototype technology
TechnologyDatabaseComponent component
Returns
Type Description
System.Boolean

Whether it is unlocked or not

| Improve this Doc View Source

IsTechnologyUnlocked(EntityUid, String, TechnologyDatabaseComponent)

Returns whether a technology is unlocked on this database or not.

Declaration
public bool IsTechnologyUnlocked(EntityUid uid, string technologyId, TechnologyDatabaseComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.String technologyId
TechnologyDatabaseComponent component
Returns
Type Description
System.Boolean

Whether it is unlocked or not

| Improve this Doc View Source

TrySetMainDiscipline(TechnologyPrototype, EntityUid, TechnologyDatabaseComponent)

Declaration
public void TrySetMainDiscipline(TechnologyPrototype prototype, EntityUid uid, TechnologyDatabaseComponent component = null)
Parameters
Type Name Description
TechnologyPrototype prototype
EntityUid uid
TechnologyDatabaseComponent component
| Improve this Doc View Source

UpdateTechnologyCards(EntityUid, TechnologyDatabaseComponent)

Declaration
public void UpdateTechnologyCards(EntityUid uid, TechnologyDatabaseComponent component = null)
Parameters
Type Name Description
EntityUid uid
TechnologyDatabaseComponent component
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾