/// <summary> /// Fills the information. /// </summary> /// <param name="info">The information.</param> public void FillInfo(Log.InfoList info) { info.Add("AssetType", this.AssetType); info.Add("Counts", this.TotalAssetCount, this.BuiltInAssetCount, this.CustomAssetCount, this.WorkshopAssetCount); this.Main.FillInfo("Main", info); this.Lod.FillInfo("Lod", info); }
public override void FillInfo(Log.InfoList info) { info.Add("AssetType", this.AssetType); base.FillInfo(info); info.Add("Main", this.Main.CombinedWeight, "Triangles", this.Main.TrianglesCount, this.Main.TrianglesDimensions, this.Main.TrianglesSurface, this.Main.TrianglesWeight, "Texture", this.Main.TextureDimensions, this.Main.TextureArea, this.Main.TextureWeight); info.Add("Lod", this.Lod.CombinedWeight, "Triangles", this.Lod.TrianglesCount, this.Lod.TrianglesDimensions, this.Lod.TrianglesSurface, this.Lod.TrianglesWeight, "Texture", this.Lod.TextureDimensions, this.Lod.TextureArea, this.Lod.TextureWeight); info.Add("Fallback", this.FallbackLod.CombinedWeight, "Triangles", this.FallbackLod.TrianglesCount, this.FallbackLod.TrianglesDimensions, this.FallbackLod.TrianglesSurface, this.FallbackLod.TrianglesWeight, "Texture", this.FallbackLod.TextureDimensions, this.FallbackLod.TextureArea, this.FallbackLod.TextureWeight); info.Add("Ref", this.ReferenceCount, this.DependentCount); }
/// <summary> /// Fills the information. /// </summary> /// <param name="info">The information.</param> public virtual void FillInfo(Log.InfoList info) { if (this.SteamId > 0) { info.Add("SteamId", this.SteamId); } info.Add("PrefabName", this.PrefabName); info.Add("Title", this.Title); info.Add("Name", this.Name); info.Add("Category", this.Category); info.Add("SourceType", this.SourceType); info.Add("RawCategory", this.RawCategory); }
/// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <param name="prefix">The prefix.</param> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public string ToString(string prefix) { Log.InfoList info = new Log.InfoList(); info.Add(prefix, this.Category, this.Count, this.RawCategory); return(info.ToString()); }
/// <summary> /// Fills the information. /// </summary> /// <param name="prefix">The prefix.</param> /// <param name="info">The information.</param> public void FillInfo(string prefix, Log.InfoList info) { info.Add(prefix, this.TotalAssetCount, this.CombinedWeight, "Triangles", this.TrianglesAssetCount, this.TrianglesCount, this.TrianglesSurface, this.TrianglesWeight, this.trianglesCountValue, this.trianglesSurfaceValue, "Textures", this.TexturesAssetCount, this.TexturesDimensions, this.TexturesArea, this.TexturesWeight, this.texturesWidthValue, this.texturesHeightValue, this.texturesAreaValue); }