Romestead Assembly Reference

Shared.Data.SpellDataBase

Type JSON

public class in Shared.Data

Methods3
Properties0
Fields3
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Data
  • Base typeSystem.Object
  • HashCE9B54B8F3D45E888511E1097FCB6EDC7936924D7A05EAF507F062AE883911E4

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
DataMappublicpublic System.Collections.Generic.Dictionary<System.String, Shared.Models.Spells.SpellDataModel> DataMap
MissingDatapublicpublic Shared.Models.Spells.SpellDataModel MissingData
SuffixNamepublicpublic System.String SuffixName

Methods

AddData

public System.Void AddData(System.Collections.Generic.List<Shared.Models.Spells.SpellDataModel> spells)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash293A7B4528FDAAC13E379E408FE203BA65574E1172E5B7F665F9705D44B61062
  • Body hash325CCBE34B3F445E906680D3F6ADAFC169CFBEA31BCDB0C377C5D4283B5F20FC
  • IL size133
Referenced calls
  • System.Collections.Generic.List<Shared.Models.Spells.SpellDataModel>::GetEnumerator()
  • List.Enumerator<Shared.Models.Spells.SpellDataModel>::get_Current()
  • System.Nullable<Shared.Text.StringId>::get_HasValue()
  • System.String::Concat(System.String, System.String)
  • Shared.Text.StringId::op_Implicit(System.String)
  • System.Nullable<Shared.Text.StringId>::.ctor(!0)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Spells.SpellDataModel>::TryAdd(!0, !1)
  • System.String::Concat(System.String, System.String, System.String)
  • CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
  • List.Enumerator<Shared.Models.Spells.SpellDataModel>::MoveNext()
  • System.IDisposable::Dispose()
Called by
String literals
  • *spell:name
  • Duplicate data for spell '
  • ' found when loading database.

GetSpellOrMissing

public Shared.Models.Spells.SpellDataModel GetSpellOrMissing(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Spells.SpellDataModel
  • StaticTrue
  • VirtualFalse
  • Hash79A1D4000631DC81034E1D0A1D2DAC7488D22813731A57DDE1FCFCAF470D119F
  • Body hashE4ED8D4731DCB62FC779D9632FDAFFDCD406E03861691C19A676A7DCAD246BCE
  • IL size83
Referenced calls
Called by
String literals
  • SpellDataBase: Got missing spell for id
  • missing_spell

GetSpellOrNull

public Shared.Models.Spells.SpellDataModel GetSpellOrNull(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Spells.SpellDataModel
  • StaticTrue
  • VirtualFalse
  • Hash81E5556438DD049E970C817CB393FAB38F4C64ED3EA3B89CCA8FFD9B15B81879
  • Body hashD1E7D765D7FA8457585C18FF5CFCE76CC95CBB5E060D629EDB9F9ED8F6A86CCA
  • IL size22
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Spells.SpellDataModel>::TryGetValue(!0, !1&)
Called by