Delegate TalkAction.TalkSettings.EvaluationResult
A delegate that is used for EvaluateSimple(Action, PersonLike, float, float) and EvaluateFully(SocialAction).
public delegate void TalkAction.TalkSettings.EvaluationResult(ActionInfo info, PersonLike partner, float originalGain, float originalRomancePercentage, float originalGoBadlyChance, ref float romanceGain, ref float friendshipGain, ref float romanceLoss, ref float friendshipLoss, ref float goBadlyChance)
Parameters
info
ActionInfoThe action info that is being evaluated
partner
PersonLikeThe partner of the action.
originalGain
floatThe amount of friendship and romance points that should be gained as a result of this action succeeding, without any default changes applied
originalRomancePercentage
floatThe amount of romance, out of
originalGain
that should be gained as a result of this action succeeding, without any default changes appliedoriginalGoBadlyChance
floatThe chance, between 0 and 1, that the conversation should end badly. This value doesn't yet have any default changes applied.
romanceGain
floatThe amount of romance points that should be gained as a result of this action succeeding, which already has all default changes applied
friendshipGain
floatThe amount of friendship points that should be gained as a result of this action succeeding, which already has all default changes applied
romanceLoss
floatThe amount of romance points that should be lost as a result of this action going badly, which already has all default changes applied
friendshipLoss
floatThe amount of friendship points that should be lost as a result of this action going badly, which already has all default changes applied
goBadlyChance
floatThe chance, between 0 and 1, that the conversation should end badly. This value already has all of the default changes applied.
- Extension Methods