49 ConstantSpawn = valuesDictionary.GetValue<
bool>(
"ConstantSpawn");
51 DisplayName = valuesDictionary.GetValue<
string>(
"DisplayName");
54 string[] lp =
DisplayName.Substring(1,
DisplayName.Length - 2).Split([
":"], StringSplitOptions.RemoveEmptyEntries);
59 throw new InvalidOperationException(
"Must have at least one KillVerb");
62 throw new InvalidOperationException(
"A single category must be assigned for creature.");
static bool IsPowerOf2(uint x)
ComponentSpawn ComponentSpawn
override void Save(ValuesDictionary valuesDictionary, EntityToIdMap entityToIdMap)
ComponentHealth ComponentHealth
ComponentBody ComponentBody
ComponentCreatureModel ComponentCreatureModel
CreatureCategory Category
SubsystemPlayerStats m_subsystemPlayerStats
ComponentLocomotion ComponentLocomotion
ReadOnlyList< string > KillVerbs
ComponentCreatureSounds ComponentCreatureSounds
override void Load(ValuesDictionary valuesDictionary, IdToEntityMap idToEntityMap)
static string GetDatabase(string name, string prop)
ValuesDictionary ValuesDictionary