DPB1Class · Utilities and settings

ConvertHelper

Provides convert helper data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Framework.Helpers

public static class ConvertHelper

Members and overloads

4 results

ConfigColorValueExtractor

MethodLink ↗
public static Color? ConvertHelper.ConfigColorValueExtractor(string[] line, int index)

Executes the config color value extractor operation with the supplied arguments.

linestring[]
Specifies line.
indexint
Specifies index.

Returns: The Color? result.

ConfigValueExtractor

MethodLink ↗
public static string ConvertHelper.ConfigValueExtractor(string[] line, int index)

Executes the config value extractor operation with the supplied arguments.

linestring[]
Specifies line.
indexint
Specifies index.

Returns: The string result.

ToBGRAColor

MethodLink ↗
public static Color ConvertHelper.ToBGRAColor(string value)

Executes the to bgra color operation with the supplied arguments.

valuestring
Specifies value.

Returns: The Color result.

ToShorten

MethodLink ↗
public static string ConvertHelper.ToShorten(double value, string format = "0")

Executes the to shorten operation with the supplied arguments.

valuedouble
Specifies value.
formatstring
Specifies format. Optional; the default is shown in the signature.

Returns: The string result.

DPB1 0.3.29.47 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.