Interface ITriggerReturnData<T>

All Known Implementing Classes:
BooleanTriggerReturnData, CitizenTriggerReturnData

public interface ITriggerReturnData<T>
Custom return data for triggers. This allows a trigger to return things like the building or citizen it was supposed to check on.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the actual content of the return data.
    boolean
    Check if it is a match.
  • Method Details

    • isPositive

      boolean isPositive()
      Check if it is a match.
      Returns:
      true if so.
    • getContent

      T getContent()
      Get the actual content of the return data.
      Returns:
      the content.