Search Results for

    Show / Hide Table of Contents

    Message.AddBits Method

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    Overloads

    AddBits(byte, int)

    Adds up to 8 of the given bits to the message.

    AddBits(ushort, int)

    Adds up to 16 of the given bits to the message.

    AddBits(uint, int)

    Adds up to 32 of the given bits to the message.

    AddBits(ulong, int)

    Adds up to 64 of the given bits to the message.

    AddBits(byte, int)

    Adds up to 8 of the given bits to the message.

    public Message AddBits(byte bitfield, int amount)

    Parameters

    byte bitfield

    The bits to add.

    int amount

    The number of bits to add.

    Returns

    Message

    The message that the bits were added to.

    AddBits(ushort, int)

    Adds up to 16 of the given bits to the message.

    public Message AddBits(ushort bitfield, int amount)

    Parameters

    ushort bitfield

    The bits to add.

    int amount

    The number of bits to add.

    Returns

    Message

    The message that the bits were added to.

    AddBits(uint, int)

    Adds up to 32 of the given bits to the message.

    public Message AddBits(uint bitfield, int amount)

    Parameters

    uint bitfield

    The bits to add.

    int amount

    The number of bits to add.

    Returns

    Message

    The message that the bits were added to.

    AddBits(ulong, int)

    Adds up to 64 of the given bits to the message.

    public Message AddBits(ulong bitfield, int amount)

    Parameters

    ulong bitfield

    The bits to add.

    int amount

    The number of bits to add.

    Returns

    Message

    The message that the bits were added to.

    • Improve this Doc
    • View Source
    • Support Riptide
    In This Article
    Back to top Copyright © Tom Weiland 2022
    Made with DocFX