Class NetworkDealDataBase
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[CreateAssetMenu(fileName = "NetworkDealDataBase", menuName = "NetworkDealDataBase")]
public class NetworkDealDataBase : SingletonAsset<NetworkDealDataBase>, ISerializationCallbackReceiver
- Inheritance
-
SerializedScriptableObject
NetworkDealDataBase
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
-
SerializedScriptableObject.OnAfterDeserialize()
SerializedScriptableObject.OnBeforeSerialize()
- Extension Methods
-
Constructors
NetworkDealDataBase()
public NetworkDealDataBase()
Fields
deals
public List<NetworkDealBase> deals
Field Value
- List<NetworkDealBase>
Methods
GetAutoCompleteOptions(string)
public List<ParameterAutocomplete> GetAutoCompleteOptions(string parameterText)
Parameters
parameterText
string
Returns
- List<ParameterAutocomplete>
GetDealFromIndex(int)
public NetworkDealBase GetDealFromIndex(int index)
Parameters
index
int
Returns
- NetworkDealBase
GetDealFromString(string)
public NetworkDealBase GetDealFromString(string inString)
Parameters
inString
string
Returns
- NetworkDealBase
GetDeals(DIFFICULTY)
public List<NetworkDealBase> GetDeals(DIFFICULTY difficulty)
Parameters
difficulty
DIFFICULTY
Returns
- List<NetworkDealBase>
GetDeals(List<DIFFICULTY>)
public List<NetworkDealBase> GetDeals(List<DIFFICULTY> difficulties)
Parameters
difficulties
List<DIFFICULTY>
Returns
- List<NetworkDealBase>
GetWeightedRandomDeal(List<DIFFICULTY>, int, bool)
public List<NetworkDealBase> GetWeightedRandomDeal(List<DIFFICULTY> difficulties, int numbers, bool allowDuplicates)
Parameters
difficulties
List<DIFFICULTY>
numbers
int
allowDuplicates
bool
Returns
- List<NetworkDealBase>
Go()
LoadDeals()
PrintChances()
public void PrintChances()
PrintChancesOnce()
public void PrintChancesOnce()