Romestead Assembly Reference

Shared.Data.ItemDataBase

Type JSON

public class in Shared.Data

Methods5
Properties0
Fields4
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Data
  • Base typeSystem.Object
  • Hash40BA6109613511DC195ECBCBEF3E9CF75C4A05BFAF032231FB0CBB76BA8AC2E5

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
DataMappublicpublic System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData> DataMap
MissingDatapublicpublic Shared.Models.Items.ItemData MissingData
SuffixDescriptionpublicpublic System.String SuffixDescription
SuffixNamepublicpublic System.String SuffixName

Methods

AddItems

public System.Void AddItems(System.Collections.Generic.List<Shared.Models.Items.ItemData> itemDataList)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash1077641F77F87D65BDCE3038FCEC156FA91262F5D96CF0B281E6A4A92F8A6302
  • Body hash2606F916B20223DE78307E3851E85699E77B308528A19E1900E2C4E1A18746A1
  • IL size203
Referenced calls
  • System.Collections.Generic.List<Shared.Models.Items.ItemData>::GetEnumerator()
  • List.Enumerator<Shared.Models.Items.ItemData>::get_Current()
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData>::ContainsKey(!0)
  • System.String::Concat(System.String, System.String, System.String)
  • CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)
  • System.String::Concat(System.String, System.String)
  • Shared.Text.StringId::op_Implicit(System.String)
  • System.Nullable<Shared.Text.StringId>::get_HasValue()
  • System.Nullable<Shared.Text.StringId>::.ctor(!0)
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData>::set_Item(!0, !1)
  • List.Enumerator<Shared.Models.Items.ItemData>::MoveNext()
  • System.IDisposable::Dispose()
Called by
String literals
  • Detected duplicate item id '
  • '.
  • Item '
  • ' has a stack size of 0!
  • *item:name
  • *item:description

GetAllItems

public System.Collections.Generic.IEnumerable<Shared.Models.Items.ItemData> GetAllItems()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Collections.Generic.IEnumerable<Shared.Models.Items.ItemData>
  • StaticTrue
  • VirtualFalse
  • HashF6C63129A0036B3AD3BDABF036209E6AE81105C8D210D0A92728E5EF2236CC3E
  • Body hash91F8DB605F96634A91E7761DE14DBCBC92F605B00B504D3BADD1CE2D464EEC0B
  • IL size42
Referenced calls
  • ItemDataBase.<>c::<GetAllItems>b__7_0(System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Items.ItemData>)
  • System.Func<System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Items.ItemData>, Shared.Models.Items.ItemData>::.ctor(System.Object, System.IntPtr)
  • System.Linq.Enumerable::Select(System.Collections.Generic.IEnumerable<!!0>, System.Func<!!0, !!1>)

GetIconForItem

public System.String GetIconForItem(System.String itemId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • Hash64F0302ADE9F4BFDD9D88CBEBF2EB782FC81CE5CE15815138A2F88F49EF205FB
  • Body hash99E5369C65E10A8B5AA7681996FAF4C06F2AB5DAA6898E62F200F1ACB99A9782
  • IL size24
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData>::TryGetValue(!0, !1&)
Called by

GetItemDataOrMissing

public Shared.Models.Items.ItemData GetItemDataOrMissing(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Items.ItemData
  • StaticTrue
  • VirtualFalse
  • Hash5D10F7D4CC5A4D284EB98C2FF8FD301DD8C1011CABD62E7FE9DB3E44DC89AEB8
  • Body hash781CD21824D51B193842D66D2E73F9D964D6513308912018DAB3C41AB9E3FDC9
  • IL size104
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData>::TryGetValue(!0, !1&)
  • Shared.Models.Items.ItemData::.ctor()
  • Shared.Text.StringId::op_Implicit(System.String)
  • System.String::Concat(System.String, System.String)
  • System.Nullable<Shared.Text.StringId>::.ctor(!0)
Called by
String literals
  • null
  • Invalid id
  • Could not find an item with id
  • sam

GetItemDataOrNull

public Shared.Models.Items.ItemData GetItemDataOrNull(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Models.Items.ItemData
  • StaticTrue
  • VirtualFalse
  • HashD18EAA0DC7DE878C455C73A24913DB5F8C50847B22C56416BB9B2578B6763042
  • Body hashD07D1EC4E27A4A1E6A30D736092A49B1A08D28EDFA6F7BC64F9B72153E706C2F
  • IL size24
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Models.Items.ItemData>::TryGetValue(!0, !1&)
Called by