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
infoActionInfoThe action info that is being evaluated
partnerPersonLikeThe partner of the action.
originalGainfloatThe amount of friendship and romance points that should be gained as a result of this action succeeding, without any default changes applied
originalRomancePercentagefloatThe amount of romance, out of
originalGainthat should be gained as a result of this action succeeding, without any default changes appliedoriginalGoBadlyChancefloatThe chance, between 0 and 1, that the conversation should end badly. This value doesn't yet have any default changes applied.
romanceGainfloatThe amount of romance points that should be gained as a result of this action succeeding, which already has all default changes applied
friendshipGainfloatThe amount of friendship points that should be gained as a result of this action succeeding, which already has all default changes applied
romanceLossfloatThe amount of romance points that should be lost as a result of this action going badly, which already has all default changes applied
friendshipLossfloatThe amount of friendship points that should be lost as a result of this action going badly, which already has all default changes applied
goBadlyChancefloatThe chance, between 0 and 1, that the conversation should end badly. This value already has all of the default changes applied.
- Extension Methods