PoiFastLookupTable.PoiRandomList
Type JSONpublic class in <global>
Type metadata
- Assembly
CandideServer - Namespace
<global> - Base type
System.Object - Hash
F86250961FB4505AB618EB86100C97FA4E60789306FAF17F67DADB723E365B01
Relationships
Base type
System.Object
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
_difficultyLists# | private | private System.Collections.Generic.Dictionary<System.Int32, PoiFastLookupTable.PoiRandomList.PoiRandomListSubList> _difficultyLists |
Methods
Add
#
public System.Void Add(CandideServer.Models.PoiData poi)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
128826BE05B53F1F0099F7E972B403FA50D302F330B8D4C800AD683B0D722A14 - Body hash
2A7081DE4B1ADA271141818CB92CD6741513D68DA34C01F0EE01902AACCF6113 - IL size109
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, System.Single>::GetEnumerator()Dictionary.Enumerator<System.Int32, System.Single>::get_Current()System.Collections.Generic.KeyValuePair<System.Int32, System.Single>::Deconstruct(!0&, !1&)PoiFastLookupTable.PoiRandomList::AddToDifficulty(CandideServer.Models.PoiData, System.Int32, System.Single)Dictionary.Enumerator<System.Int32, System.Single>::MoveNext()System.IDisposable::Dispose()
AddToDifficulty
#
private System.Void AddToDifficulty(CandideServer.Models.PoiData poi, System.Int32 difficulty, System.Single weight)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3CC1D485C18A52CCC1D13EE43D6DA9AE7049F95BA09FBC2B22545BDA92691CFE - Body hash
020EEAE348EE7AE9923BD52FE66361159D17AAFCC981EC6E0B6C4FAF342292B0 - IL size44
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, PoiFastLookupTable.PoiRandomList.PoiRandomListSubList>::TryGetValue(!0, !1&)PoiFastLookupTable.PoiRandomList.PoiRandomListSubList::.ctor()System.Collections.Generic.Dictionary<System.Int32, PoiFastLookupTable.PoiRandomList.PoiRandomListSubList>::set_Item(!0, !1)PoiFastLookupTable.PoiRandomList.PoiRandomListSubList::Add(System.Single, CandideServer.Models.PoiData)
Called by
GetRandomPoi
#
public CandideServer.Models.PoiData GetRandomPoi(System.Random random, System.Int32 difficulty, System.Collections.Generic.HashSet<System.String> forbiddenTags)
Method metadata
- Visibilitypublic
- Return type
CandideServer.Models.PoiData - StaticFalse
- VirtualFalse
- Hash
B02A34F7F526D3800F585DB539393EB64F2D1F520FB86A8EA6FA9D484688441D - Body hash
7218D6243E819B4B8E30B4148BCC0728251E0F8F1B901309A6DE78870C2ECB35 - IL size146
Referenced calls
System.Collections.Generic.Dictionary<System.Int32, PoiFastLookupTable.PoiRandomList.PoiRandomListSubList>::TryGetValue(!0, !1&)PoiFastLookupTable.PoiRandomList.PoiRandomListSubList::GetWeightSum(System.Collections.Generic.HashSet<System.String>)PoiFastLookupTable.PoiRandomList.PoiRandomListSubList::GetRandomPoi(System.Random, System.Collections.Generic.HashSet<System.String>, System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)