Interface Request

All Superinterfaces:
FutureMessage, RemoteMessage, UserIdentity
All Known Subinterfaces:
CommunicationMessage
All Known Implementing Classes:
AbstractCommunicationMessage, ExternalMessage, RequestMessage, SendMessage, UserRequestMessage

public interface Request extends RemoteMessage, UserIdentity
Since:
25.1
Author:
渔民小镇
date:
2025-09-15
  • Method Details

    • getHopCount

      int getHopCount()
    • setHopCount

      void setHopCount(int hopCount)
    • setBindingLogicServerIds

      void setBindingLogicServerIds(int[] bindingLogicServerIds)
    • getBindingLogicServerIds

      int[] getBindingLogicServerIds()
      The IDs of multiple game logic servers bound to the player
          All requests related to this game logic server will be routed to the bound game logic server for processing.
          Even if multiple game logic servers of the same type are running, requests will still be directed to the originally bound server.
      
      Returns:
      bindingLogicServerIds
    • setAttachment

      void setAttachment(byte[] attachment)
    • getAttachment

      byte[] getAttachment()
      Extended field. Developers can use this field to extend meta-information for special business needs. The data in this field will be included with every request.
      Returns:
      AttachmentData
    • setStick

      default void setStick(int stick)
    • getStick

      default int getStick()