Class RuleBasedInteractionDialogPluginImpl
java.lang.Object
com.fs.starfarer.api.impl.campaign.RuleBasedInteractionDialogPluginImpl
- All Implemented Interfaces:
InteractionDialogPlugin
,RuleBasedDialog
public class RuleBasedInteractionDialogPluginImpl
extends Object
implements InteractionDialogPlugin, RuleBasedDialog
- Author:
- Alex Mosolov Uses the data in data/campaign/rules.csv to drive the dialog interactions. Copyright 2014 Fractal Softworks, LLC
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) void
boolean
boolean
void
init
(InteractionDialogAPI dialog) void
void
optionMousedOver
(String optionText, Object optionData) void
optionSelected
(String text, Object optionData) void
reinit
(boolean withContinueOnRuleFound) void
setActiveMission
(CampaignEventPlugin mission) void
setCustom1
(Object custom1) void
setCustom2
(Object custom2) void
setCustom3
(Object custom3) void
setEmbeddedMode
(boolean embeddedMode) void
-
Field Details
-
FAILSAFE_LEAVE
- See Also:
-
-
Constructor Details
-
RuleBasedInteractionDialogPluginImpl
public RuleBasedInteractionDialogPluginImpl() -
RuleBasedInteractionDialogPluginImpl
-
-
Method Details
-
setEmbeddedMode
public void setEmbeddedMode(boolean embeddedMode) -
reinit
public void reinit(boolean withContinueOnRuleFound) - Specified by:
reinit
in interfaceRuleBasedDialog
-
init
- Specified by:
init
in interfaceInteractionDialogPlugin
-
updateMemory
public void updateMemory()- Specified by:
updateMemory
in interfaceRuleBasedDialog
-
notifyActivePersonChanged
public void notifyActivePersonChanged()- Specified by:
notifyActivePersonChanged
in interfaceRuleBasedDialog
-
setActiveMission
- Specified by:
setActiveMission
in interfaceRuleBasedDialog
-
fireAll
-
fireBest
-
backFromEngagement
- Specified by:
backFromEngagement
in interfaceInteractionDialogPlugin
-
optionSelected
- Specified by:
optionSelected
in interfaceInteractionDialogPlugin
-
optionMousedOver
- Specified by:
optionMousedOver
in interfaceInteractionDialogPlugin
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceInteractionDialogPlugin
-
getContext
- Specified by:
getContext
in interfaceInteractionDialogPlugin
-
getMemoryMap
- Specified by:
getMemoryMap
in interfaceInteractionDialogPlugin
- Specified by:
getMemoryMap
in interfaceRuleBasedDialog
-
getCustom1
-
setCustom1
-
getCustom2
-
setCustom2
-
getCustom3
-
setCustom3
-