Search Results for

    Show / Hide Table of Contents

    Client.Send Method

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    Send(Message, bool)

    Sends a message to the server.

    public ushort Send(Message message, bool shouldRelease = true)

    Parameters

    Message message

    The message to send.

    bool shouldRelease

    Whether or not to return the message to the pool after it is sent.

    Returns

    ushort

    For reliable and notify messages, the sequence ID that the message was sent with. 0 for unreliable messages.

    Remarks

    If you intend to continue using the message instance after calling this method, you must set shouldRelease to false. Release() can be used to manually return the message to the pool at a later time.

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