public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Size"] = new TagNodeInt(_size); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Profession"] = new TagNodeInt(_profession); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Type"] = new TagNodeInt((int)_type); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Age"] = new TagNodeInt(_age); tree["InLove"] = new TagNodeInt(_inLove); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Levels"] = new TagNodeInt(_levels); tree["Primary"] = new TagNodeInt(_primary); tree["Secondary"] = new TagNodeInt(_secondary); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; if (_record != null) { tree["Record"] = new TagNodeInt((int)_record); } return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["EntityId"] = new TagNodeString(_entityID); tree["Delay"] = new TagNodeShort(_delay); if (_maxDelay != null) tree["MaxSpawnDelay"] = new TagNodeShort(_maxDelay ?? 0); if (_minDelay != null) tree["MinSpawnDelay"] = new TagNodeShort(_minDelay ?? 0); if (_spawnCount != null) tree["SpawnCount"] = new TagNodeShort(_spawnCount ?? 0); if (_spawnRange != null) tree["SpawnRange"] = new TagNodeShort(_spawnRange ?? 0); if (_maxNearbyEnemies != null) tree["MaxNearbyEnemies"] = new TagNodeShort(_maxNearbyEnemies ?? 0); if (_requiredPlayerRange != null) tree["RequiredPlayerRange"] = new TagNodeShort(_requiredPlayerRange ?? 0); if (_maxExperience != null) tree["MaxExperience"] = new TagNodeInt(_maxExperience ?? 0); if (_remainingExperience != null) tree["RemainingExperience"] = new TagNodeInt(_remainingExperience ?? 0); if (_experienceRegenTick != null) tree["ExperienceRegenTick"] = new TagNodeInt(_experienceRegenTick ?? 0); if (_experienceRegenRate != null) tree["ExperienceRegenRate"] = new TagNodeInt(_experienceRegenRate ?? 0); if (_experienceRegenAmount != null) tree["ExperienceRegenAmount"] = new TagNodeInt(_experienceRegenAmount ?? 0); if (_spawnData != null && _spawnData.Count > 0) tree["SpawnData"] = _spawnData; return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; tree["Dir"] = new TagNodeByte((byte)_dir); tree["Motive"] = new TagNodeString(_motive); tree["TileX"] = new TagNodeInt(_xTile); tree["TileY"] = new TagNodeInt(_yTile); tree["TileZ"] = new TagNodeInt(_zTile); return tree; }
public override TagNode BuildTree() { TagNodeCompound tree = base.BuildTree() as TagNodeCompound; if (_record != null) { tree["blockId"] = new TagNodeInt(_blockId); tree["blockData"] = new TagNodeInt(_blockData); tree["facing"] = new TagNodeInt(_facing); tree["progress"] = new TagNodeFloat(_progress); tree["extending"] = new TagNodeByte(_extending); } return tree; }