Interface PlayerActionHandler.ActionAudit

Enclosing class:
PlayerActionHandler

static interface PlayerActionHandler.ActionAudit
The audit port integration binds to the remote action log; one entry per executed or refused action, none for a payload that never ran.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    allowed(String action, String player)
    Records an action that ran.
    void
    denied(String action, String player, String reason)
    Records an action that was refused before it changed anything.
  • Method Details

    • allowed

      void allowed(String action, String player)
      Records an action that ran.
      Parameters:
      action - the contract action name
      player - the requested player name, exactly as the panel sent it
    • denied

      void denied(String action, String player, String reason)
      Records an action that was refused before it changed anything.
      Parameters:
      action - the contract action name
      player - the requested player name, exactly as the panel sent it
      reason - the same safe text the panel was given