Search Results for

    Show / Hide Table of Contents

    MessageHandlerAttribute Constructor

    Namespace: Riptide
    Assembly: RiptideNetworking.dll

    MessageHandlerAttribute(ushort, byte)

    Initializes a new instance of the MessageHandlerAttribute class with the messageId and groupId values.

    public MessageHandlerAttribute(ushort messageId, byte groupId = 0)

    Parameters

    ushort messageId

    The ID of the message type which this method is meant to handle.

    byte groupId

    The ID of the group of message handlers which this method belongs to.

    Remarks

    Servers will only use this method if its signature matches the Server.MessageHandler signature. Clients will only use this method if its signature matches the Client.MessageHandler signature. This method will be ignored if its signature matches neither of the valid message handler signatures.

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