Class PluginIcons
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Turns the two ways of writing an icon id into the one the client uses. The host applies this wherever it accepts an icon id, so plugins rarely call it themselves.
public static class PluginIcons
- Inheritance
-
PluginIcons
- Inherited Members
Methods
Normalize(uint)
Returns a full icon id: a bare index below 0x01000000 gets the
client's image-block prefix added, a full id passes through
unchanged, and 0 (meaning "no icon") stays 0.
public static uint Normalize(uint idOrIndex)
Parameters
idOrIndexuint