Record TGuildReplyHelper

Hierarchy
Fields
Properties

Unit

Declaration

type TGuildReplyHelper = record helper for TGuildReply

Description

Helper for the TGuildReply enum type.

Overview

Methods

Public class function FromInt(Value: Cardinal): TGuildReply; static; inline;
Public function ToInt: Cardinal; inline;
Public function ToString: string;

Description

Methods

Public class function FromInt(Value: Cardinal): TGuildReply; static; inline;

Converts an ordinal value to a TGuildReply enum value.

Parameters
Value
The ordinal value to convert
Returns

A TGuildReply enum value from the given ordinal value

Public function ToInt: Cardinal; inline;

Converts the TGuildReply enum value to its corresponding ordinal value.

Note
Protocol enums may hold out-of-bounds "unrecognized" values, which would cause range-checking errors with Ord.
ToInt is safe to use with range-checking enabled.

Returns

The ordinal representation of the TGuildReply value

Public function ToString: string;

Converts the TGuildReply enum value to its string representation.

Returns

The string representation of the TGuildReply value


Generated by PasDoc 0.16.0-snapshot.