Table of Contents

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

LauncherNewsEntryType

Properties

Description

The description of the news entry.

public readonly string? Description { get; }

Property Value

string

PostDate

The short format (DD/MM) of the date for the news entry.

public readonly string? PostDate { get; }

Property Value

string

Title

The title of the news entry.

public readonly string? Title { get; }

Property Value

string

Url

The HREF/click URL of the news entry.

public readonly string? Url { get; }

Property Value

string

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

title string

The title of the news entry.

description string

The description of the news entry.

url string

The HREF/click URL of the news entry.

postDate string

The short format (DD/MM) of the date for the news entry.

type LauncherNewsEntryType

Type of the news entry