Interface TransactionContext.Actor

All Known Implementing Classes:
TransactionContext.PlayerActor, TransactionContext.PluginActor
Enclosing interface:
TransactionContext

public static interface TransactionContext.Actor
Represents the initiator of a transaction.
  • Method Details

    • simple

      static TransactionContext.Actor simple(String name)
      Creates a simple custom actor with the specified name.
      Parameters:
      name - the actor's display name
      Returns:
      custom actor instance
    • getType

      default TransactionContext.Actor.Type getType()
      Returns the classification of this actor.
      Returns:
      actor type
    • getName

      default String getName()
      Returns the display name of this actor.
      Returns:
      actor name