Represents a RankInfo.

Hierarchy

  • RankInfo

Implements

Constructors

  • Constructs a new RankInfo.

    Parameters

    • Optional properties: IRankInfo

      Properties to set

    Returns RankInfo

Properties

pid: string

RankInfo pid.

time: number | Long

RankInfo time.

Methods

  • Converts this RankInfo to JSON.

    Returns {
        [k: string]: any;
    }

    JSON object

    • [k: string]: any
  • Creates a new RankInfo instance using the specified properties.

    Parameters

    • Optional properties: IRankInfo

      Properties to set

    Returns RankInfo

    RankInfo instance

  • Decodes a RankInfo message from the specified reader or buffer.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    • Optional length: number

      Message length if known beforehand

    Returns RankInfo

    RankInfo

  • Decodes a RankInfo message from the specified reader or buffer, length delimited.

    Throws

    If the payload is not a reader or valid buffer

    Throws

    If required fields are missing

    Parameters

    • reader: any

      Reader or buffer to decode from

    Returns RankInfo

    RankInfo

  • Encodes the specified RankInfo message. Does not implicitly verify messages.

    Parameters

    • message: IRankInfo

      RankInfo message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Encodes the specified RankInfo message, length delimited. Does not implicitly verify messages.

    Parameters

    • message: IRankInfo

      RankInfo message or plain object to encode

    • Optional writer: any

      Writer to encode to

    Returns Writer

    Writer

  • Creates a RankInfo message from a plain object. Also converts values to their respective internal types.

    Parameters

    • object: {
          [k: string]: any;
      }

      Plain object

      • [k: string]: any

    Returns RankInfo

    RankInfo

  • Creates a plain object from a RankInfo message. Also converts values to other types if specified.

    Parameters

    • message: RankInfo

      RankInfo

    • Optional options: any

      Conversion options

    Returns {
        [k: string]: any;
    }

    Plain object

    • [k: string]: any
  • Verifies a RankInfo message.

    Parameters

    • message: {
          [k: string]: any;
      }

      Plain object to verify

      • [k: string]: any

    Returns null | string

    null if valid, otherwise the reason why it is not

Generated using TypeDoc