Class Messages.AppendRemoteInteractionMessage

java.lang.Object
tech.underoaks.coldcase.remote.Message
tech.underoaks.coldcase.remote.Messages.AppendRemoteInteractionMessage
Enclosing class:
Messages

public static class Messages.AppendRemoteInteractionMessage extends Message
Message used to append an interaction to a remote interaction chain. Contains an Interaction and a flag to suppress transcendent follow-up interactions.
  • Constructor Details

    • AppendRemoteInteractionMessage

      public AppendRemoteInteractionMessage()
      Constructs an empty AppendRemoteInteractionMessage.
    • AppendRemoteInteractionMessage

      public AppendRemoteInteractionMessage(String remoteGameControllerInstanceId, Interaction interaction, boolean suppressTranscendentFollowUp)
      Constructs an AppendRemoteInteractionMessage with the specified remote game controller instance identifier, interaction, and flag indicating whether to suppress transcendent follow-up.
      Parameters:
      remoteGameControllerInstanceId - the identifier of the remote game controller instance
      interaction - the Interaction to be appended
      suppressTranscendentFollowUp - flag indicating whether to suppress transcendent follow-up interactions
  • Method Details

    • getSuppressTranscendentFollowUp

      public boolean getSuppressTranscendentFollowUp()
      Returns whether transcendent follow-up interactions should be suppressed.
      Returns:
      true if transcendent follow-up should be suppressed, false otherwise
    • setSuppressTranscendentFollowUp

      public void setSuppressTranscendentFollowUp(boolean suppressTranscendentFollowUp)
      Sets the flag indicating whether transcendent follow-up interactions should be suppressed.
      Parameters:
      suppressTranscendentFollowUp - true to suppress follow-up interactions, false otherwise
    • getInteraction

      public Interaction getInteraction()
      Returns the Interaction associated with this message.
      Returns:
      the Interaction to be appended remotely
    • setInteraction

      public void setInteraction(Interaction interaction)
      Sets the Interaction for this message.
      Parameters:
      interaction - the Interaction to be appended