Class CitizenTriggerReturnData
java.lang.Object
com.minecolonies.core.quests.triggers.CitizenTriggerReturnData
- All Implemented Interfaces:
ITriggerReturnData<ICitizenData>
Wrapper around a citizen id.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actual content of the return data.booleanCheck if it is a match.
-
Constructor Details
-
CitizenTriggerReturnData
Create a new return data obj.- Parameters:
match- citizen id.
-
-
Method Details
-
isPositive
public boolean isPositive()Description copied from interface:ITriggerReturnDataCheck if it is a match.- Specified by:
isPositivein interfaceITriggerReturnData<ICitizenData>- Returns:
- true if so.
-
getContent
Description copied from interface:ITriggerReturnDataGet the actual content of the return data.- Specified by:
getContentin interfaceITriggerReturnData<ICitizenData>- Returns:
- the content.
-