Shared.Models.Items.ResourceAmountExtension
Type JSONpublic class in Shared.Models.Items
Type metadata
- Assembly
Shared - Namespace
Shared.Models.Items - Base type
System.Object - Hash
EE86FD544FF0E779C291B465624B99EE31BBD3DF2BCAD5DF7274CA893FCD35E6
Relationships
Base type
System.Object
Methods
EnsureNoDuplicates
#
public System.Boolean EnsureNoDuplicates(Shared.Models.Items.ResourceAmount[] resourceAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
2AA965CFE8149E72CC70F5113817412D24989AF36641266ABF35243D895C44B1 - Body hash
E096E8726D0612D7C9BCF12BD4E2B7DC823165F62C31A869862ADD1CEF35A7C9 - IL size48
Referenced calls
System.Collections.Generic.HashSet<System.String>::.ctor()System.Collections.Generic.HashSet<System.String>::Add(!0)
ToDictionary
#
public System.Collections.Generic.Dictionary<System.String, System.Int32> ToDictionary(Shared.Models.Items.ResourceAmount[] resourceAmounts)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.Dictionary<System.String, System.Int32> - StaticTrue
- VirtualFalse
- Hash
815AD424311A6F57E460A47369CA85244CEDE5D1B7C3083545B38FBC9AB76DF7 - Body hash
F41AF7F1CCE2FF540BBD822D2F63C2813C709A15630D6238A6898DAF6792870F - IL size50
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Int32>::.ctor()System.Collections.Generic.Dictionary<System.String, System.Int32>::set_Item(!0, !1)