Show / Hide Table of Contents

Interface IHasRequiredIcons

Use this interface if your class has any icons which are not exist as separate objects. E.g. achievements are stored in manager but we still need to make icons for them, so we tell that we want icons for all achievement through AchievementManager by adding this interface. After that we can create a list of icons we want to have from this class and also you can provide a nice category name with IconsCategoryName (that will make life easier for the Art Team as Icon scene will have this category name).

Namespace: Eco.Shared.Icons
Assembly: Eco.Shared.dll
Syntax
public interface IHasRequiredIcons

Fields

IconsCategoryName

Declaration
public static string IconsCategoryName
Field Value
Type Description
System.String

Methods

GetRequiredIcons()

Declaration
static IEnumerable<(string, string)> GetRequiredIcons()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.String>>

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾