Struct LauncherNewsEntry
- Namespace
- Hi3Helper.Plugin.Core.Management.Api
- Assembly
- Hi3Helper.Plugin.Core.dll
Entry of the launcher's news data.
public struct LauncherNewsEntry : IDisposable
- Implements
- Inherited Members
- Extension Methods
Constructors
LauncherNewsEntry()
Entry of the launcher's news data.
public LauncherNewsEntry()
Fields
Type
The type of the news entry. See LauncherNewsEntryType for the types.
public LauncherNewsEntryType Type
Field Value
Properties
Description
The description of the news entry.
public readonly string? Description { get; }
Property Value
PostDate
The short format (DD/MM) of the date for the news entry.
public readonly string? PostDate { get; }
Property Value
Title
The title of the news entry.
public readonly string? Title { get; }
Property Value
Url
The HREF/click URL of the news entry.
public readonly string? Url { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Write(string?, string?, string?, string?, LauncherNewsEntryType)
Write the strings into the current struct.
public void Write(string? title, string? description, string? url, string? postDate, LauncherNewsEntryType type = LauncherNewsEntryType.Event)
Parameters
titlestringThe title of the news entry.
descriptionstringThe description of the news entry.
urlstringThe HREF/click URL of the news entry.
postDatestringThe short format (DD/MM) of the date for the news entry.
typeLauncherNewsEntryTypeType of the news entry