h1z1-server
    Preparing search index...

    Class wrappedUint16

    A wrapped Uint16 class that ensures the value stays within the range of 0 to 65535.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Adds a value to the wrappedUint16 value.

      Parameters

      • value: number

        The value to add.

      Returns void

    • Retrieves the wrappedUint16 value.

      Returns number

      The wrappedUint16 value.

    • Sets the wrappedUint16 value.

      Parameters

      • value: number

        The value to set.

      Returns void

    • Wraps the given value to ensure it stays within the range of 0 to 65535.

      Parameters

      • value: number

        The value to wrap.

      Returns number

      The wrapped value.