/// <inheritdoc /> protected override void DecodeImpl(BinaryReader reader, long endOfStream) { this.Icon = (BitmapFontIcon)GetInteger(reader); }
/// <summary> /// Initializes a new instance of the <see cref="IconPayload"/> class. /// Create a Icon payload for the specified icon. /// </summary> /// <param name="icon">The Icon.</param> public IconPayload(BitmapFontIcon icon) { this.Icon = icon; }