Class MultiplayerUnlocks
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class MultiplayerUnlocks
- Inheritance
-
MultiplayerUnlocks
- Inherited Members
-
Constructors
MultiplayerUnlocks(PlayerProgression, List<string>)
public MultiplayerUnlocks(PlayerProgression progression, List<string> allLevels)
Parameters
progression PlayerProgression
allLevels List<string>
Fields
CreatureUnlockList
public static List<MultiplayerUnlocks.SandboxUnlockID> CreatureUnlockList
Field Value
- List<MultiplayerUnlocks.SandboxUnlockID>
ItemUnlockList
public static List<MultiplayerUnlocks.SandboxUnlockID> ItemUnlockList
Field Value
- List<MultiplayerUnlocks.SandboxUnlockID>
TOTAL_CHALLENGES
public static int TOTAL_CHALLENGES
Field Value
- int
creaturesUnlockedForLevelSpawn
public bool[] creaturesUnlockedForLevelSpawn
Field Value
- bool[]
itemsUnlockedForLevelSpawn
public bool[] itemsUnlockedForLevelSpawn
Field Value
- bool[]
progression
public PlayerProgression progression
Field Value
- PlayerProgression
unlockAll
Field Value
- bool
unlockNoSpoilers
public bool unlockNoSpoilers
Field Value
- bool
unlockedBatches
public List<MultiplayerUnlocks.Unlock> unlockedBatches
Field Value
- List<MultiplayerUnlocks.Unlock>
Properties
ExoticItems
public float ExoticItems { get; }
Property Value
- float
Methods
CheckUnlockAll()
public static bool CheckUnlockAll()
Returns
- bool
CheckUnlockChallenge()
public static bool CheckUnlockChallenge()
Returns
- bool
CheckUnlockDevMode()
public static bool CheckUnlockDevMode()
Returns
- bool
CheckUnlockNoSpoilers()
public static bool CheckUnlockNoSpoilers()
Returns
- bool
CheckUnlockSafari()
public static bool CheckUnlockSafari()
Returns
- bool
ClassUnlocked(Name)
public bool ClassUnlocked(SlugcatStats.Name classID)
Parameters
classID SlugcatStats.Name
Returns
- bool
FallBackCrit(Type)
public static CreatureTemplate.Type FallBackCrit(CreatureTemplate.Type crit)
Parameters
crit CreatureTemplate.Type
Returns
- CreatureTemplate.Type
IsCreatureUnlockedForLevelSpawn(Type)
public bool IsCreatureUnlockedForLevelSpawn(CreatureTemplate.Type tp)
Parameters
tp CreatureTemplate.Type
Returns
- bool
IsItemUnlockedForLevelSpawn(AbstractObjectType)
public bool IsItemUnlockedForLevelSpawn(AbstractPhysicalObject.AbstractObjectType tp)
Parameters
tp AbstractPhysicalObject.AbstractObjectType
Returns
- bool
IsLevelUnlocked(string)
public bool IsLevelUnlocked(string levelName)
Parameters
levelName string
Returns
- bool
LevelDisplayName(string)
public static string LevelDisplayName(string s)
Parameters
s string
Returns
- string
public bool LevelExtraConditions(string levelName)
Parameters
levelName string
Returns
- bool
LevelListSortNumber(string)
public int LevelListSortNumber(string levelName)
Parameters
levelName string
Returns
- int
LevelListSortString(string)
public string LevelListSortString(string levelName)
Parameters
levelName string
Returns
- string
LevelLockID(string)
public static MultiplayerUnlocks.LevelUnlockID LevelLockID(string levelName)
Parameters
levelName string
Returns
- MultiplayerUnlocks.LevelUnlockID
ParentSandboxID(SandboxUnlockID)
public static MultiplayerUnlocks.SandboxUnlockID ParentSandboxID(MultiplayerUnlocks.SandboxUnlockID childUnlock)
Parameters
childUnlock MultiplayerUnlocks.SandboxUnlockID
Returns
- MultiplayerUnlocks.SandboxUnlockID
RecursiveFallBackCritter(Type)
public CreatureTemplate.Type RecursiveFallBackCritter(CreatureTemplate.Type crit)
Parameters
crit CreatureTemplate.Type
Returns
- CreatureTemplate.Type
SandboxItemUnlocked(SandboxUnlockID)
public bool SandboxItemUnlocked(MultiplayerUnlocks.SandboxUnlockID unlockID)
Parameters
unlockID MultiplayerUnlocks.SandboxUnlockID
Returns
- bool
SandboxUnlockForSymbolData(IconSymbolData)
public static MultiplayerUnlocks.SandboxUnlockID SandboxUnlockForSymbolData(IconSymbol.IconSymbolData data)
Parameters
data IconSymbol.IconSymbolData
Returns
- MultiplayerUnlocks.SandboxUnlockID
SetLevelSpawnAvailFromUnlockList()
public void SetLevelSpawnAvailFromUnlockList()
SymbolDataForSandboxUnlock(SandboxUnlockID)
public static IconSymbol.IconSymbolData SymbolDataForSandboxUnlock(MultiplayerUnlocks.SandboxUnlockID unlockID)
Parameters
unlockID MultiplayerUnlocks.SandboxUnlockID
Returns
- IconSymbol.IconSymbolData
TiedSandboxIDs(SandboxUnlockID, bool)
public static List<MultiplayerUnlocks.SandboxUnlockID> TiedSandboxIDs(MultiplayerUnlocks.SandboxUnlockID ID, bool includeParent)
Parameters
ID MultiplayerUnlocks.SandboxUnlockID
includeParent bool
Returns
- List<MultiplayerUnlocks.SandboxUnlockID>
UnlockedCritters(LevelUnlockID)
public static List<CreatureTemplate.Type> UnlockedCritters(MultiplayerUnlocks.LevelUnlockID ID)
Parameters
ID MultiplayerUnlocks.LevelUnlockID
Returns
- List<CreatureTemplate.Type>