Class SharedResearchSystem
Inheritance
System.Object
SharedResearchSystem
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
|
Improve this Doc
View Source
GetAvailableTechnologies(EntityUid, TechnologyDatabaseComponent)
Declaration
public List<TechnologyPrototype> GetAvailableTechnologies(EntityUid uid, TechnologyDatabaseComponent component = null)
Parameters
Returns
|
Improve this Doc
View Source
GetDisciplineTiers(TechnologyDatabaseComponent)
Declaration
public Dictionary<string, int> GetDisciplineTiers(TechnologyDatabaseComponent component)
Parameters
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
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetHighestDisciplineTier(TechnologyDatabaseComponent, String)
Declaration
public int GetHighestDisciplineTier(TechnologyDatabaseComponent component, string disciplineId)
Parameters
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
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
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
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
|
Improve this Doc
View Source
UpdateTechnologyCards(EntityUid, TechnologyDatabaseComponent)
Declaration
public void UpdateTechnologyCards(EntityUid uid, TechnologyDatabaseComponent component = null)
Parameters