TinyLifeWeb/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml

320 lines
14 KiB
YAML
Raw Normal View History

2021-08-04 06:51:12 +02:00
### YamlMime:ManagedReference
items:
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
commentId: T:TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
id: TalkAction.TalkSettings.EvaluationResult
parent: TinyLife.Actions
children: []
langs:
- csharp
- vb
name: TalkAction.TalkSettings.EvaluationResult
nameWithType: TalkAction.TalkSettings.EvaluationResult
fullName: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
type: Delegate
assemblies:
- Tiny Life
namespace: TinyLife.Actions
2024-06-09 17:05:30 +02:00
summary: A delegate that is used for <xref href="TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action%2cTinyLife.Objects.PersonLike%2cSystem.Single%2cSystem.Single)" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)" data-throw-if-not-resolved="false"></xref>.
2021-08-04 06:51:12 +02:00
example: []
syntax:
2024-06-09 17:05:30 +02:00
content: 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)
2021-08-04 06:51:12 +02:00
parameters:
2023-03-30 18:07:55 +02:00
- id: info
type: TinyLife.Actions.ActionInfo
description: The action info that is being evaluated
2022-03-09 16:13:05 +01:00
- id: partner
2024-06-09 17:05:30 +02:00
type: TinyLife.Objects.PersonLike
2022-03-09 16:13:05 +01:00
description: The partner of the action.
2024-06-09 17:05:30 +02:00
- id: originalGain
type: System.Single
description: The amount of friendship and romance points that should be gained as a result of this action succeeding, without any default changes applied
- id: originalRomancePercentage
type: System.Single
description: The amount of romance, out of <code class="paramref">originalGain</code> that should be gained as a result of this action succeeding, without any default changes applied
- id: originalGoBadlyChance
type: System.Single
description: The chance, between 0 and 1, that the conversation should end badly. This value doesn't yet have any default changes applied.
2021-08-04 06:51:12 +02:00
- id: romanceGain
type: System.Single
description: The amount of romance points that should be gained as a result of this action succeeding, which already has all default changes applied
- id: friendshipGain
type: System.Single
description: The amount of friendship points that should be gained as a result of this action succeeding, which already has all default changes applied
- id: romanceLoss
type: System.Single
description: The amount of romance points that should be lost as a result of this action going badly, which already has all default changes applied
- id: friendshipLoss
type: System.Single
description: The amount of friendship points that should be lost as a result of this action going badly, which already has all default changes applied
- id: goBadlyChance
type: System.Single
description: The chance, between 0 and 1, that the conversation should end badly. This value already has all of the default changes applied.
2024-06-09 17:05:30 +02:00
content.vb: Public Delegate Sub TalkAction.TalkSettings.EvaluationResult(info As ActionInfo, partner As PersonLike, originalGain As Single, originalRomancePercentage As Single, originalGoBadlyChance As Single, romanceGain As Single, friendshipGain As Single, romanceLoss As Single, friendshipLoss As Single, goBadlyChance As Single)
2021-08-04 06:51:12 +02:00
extensionMethods:
- TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.TinyLife.Utilities.Extensions.JsonCopy``1
references:
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action,TinyLife.Objects.PersonLike,System.Single,System.Single)
commentId: M:TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action,TinyLife.Objects.PersonLike,System.Single,System.Single)
2022-03-09 16:13:05 +01:00
isExternal: true
2024-06-09 17:05:30 +02:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateSimple_TinyLife_Actions_Action_TinyLife_Objects_PersonLike_System_Single_System_Single_
name: EvaluateSimple(Action, PersonLike, float, float)
nameWithType: TalkAction.TalkSettings.EvaluateSimple(Action, PersonLike, float, float)
fullName: TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action, TinyLife.Objects.PersonLike, float, float)
nameWithType.vb: TalkAction.TalkSettings.EvaluateSimple(Action, PersonLike, Single, Single)
fullName.vb: TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action, TinyLife.Objects.PersonLike, Single, Single)
name.vb: EvaluateSimple(Action, PersonLike, Single, Single)
2023-03-30 18:07:55 +02:00
spec.csharp:
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action,TinyLife.Objects.PersonLike,System.Single,System.Single)
2023-03-30 18:07:55 +02:00
name: EvaluateSimple
2024-06-09 17:05:30 +02:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateSimple_TinyLife_Actions_Action_TinyLife_Objects_PersonLike_System_Single_System_Single_
2023-03-30 18:07:55 +02:00
- name: (
- uid: TinyLife.Actions.Action
name: Action
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.Action.html
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Objects.PersonLike
name: PersonLike
href: TinyLife.Objects.PersonLike.html
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: ','
- name: " "
- uid: System.Single
name: float
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
spec.vb:
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateSimple(TinyLife.Actions.Action,TinyLife.Objects.PersonLike,System.Single,System.Single)
2023-03-30 18:07:55 +02:00
name: EvaluateSimple
2024-06-09 17:05:30 +02:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateSimple_TinyLife_Actions_Action_TinyLife_Objects_PersonLike_System_Single_System_Single_
2023-03-30 18:07:55 +02:00
- name: (
- uid: TinyLife.Actions.Action
name: Action
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.Action.html
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Objects.PersonLike
name: PersonLike
href: TinyLife.Objects.PersonLike.html
2023-03-30 18:07:55 +02:00
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: ','
- name: " "
- uid: System.Single
name: Single
isExternal: true
href: https://learn.microsoft.com/dotnet/api/system.single
- name: )
2022-03-09 16:13:05 +01:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)
commentId: M:TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateFully_TinyLife_Actions_SocialAction_
2023-03-30 18:07:55 +02:00
name: EvaluateFully(SocialAction)
nameWithType: TalkAction.TalkSettings.EvaluateFully(SocialAction)
fullName: TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)
spec.csharp:
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)
name: EvaluateFully
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateFully_TinyLife_Actions_SocialAction_
2023-03-30 18:07:55 +02:00
- name: (
- uid: TinyLife.Actions.SocialAction
name: SocialAction
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.SocialAction.html
2023-03-30 18:07:55 +02:00
- name: )
spec.vb:
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluateFully(TinyLife.Actions.SocialAction)
name: EvaluateFully
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.html#TinyLife_Actions_TalkAction_TalkSettings_EvaluateFully_TinyLife_Actions_SocialAction_
2023-03-30 18:07:55 +02:00
- name: (
- uid: TinyLife.Actions.SocialAction
name: SocialAction
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.SocialAction.html
2023-03-30 18:07:55 +02:00
- name: )
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Actions
commentId: N:TinyLife.Actions
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2021-08-04 06:51:12 +02:00
name: TinyLife.Actions
nameWithType: TinyLife.Actions
fullName: TinyLife.Actions
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Actions
name: Actions
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.html
2023-03-30 18:07:55 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Actions
name: Actions
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.html
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.TinyLife.Utilities.Extensions.JsonCopy``1
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent: TinyLife.Utilities.Extensions
definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
name: JsonCopy<EvaluationResult>(EvaluationResult)
nameWithType: Extensions.JsonCopy<TalkAction.TalkSettings.EvaluationResult>(TalkAction.TalkSettings.EvaluationResult)
fullName: TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult>(TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult)
nameWithType.vb: Extensions.JsonCopy(Of TalkAction.TalkSettings.EvaluationResult)(TalkAction.TalkSettings.EvaluationResult)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult)(TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult)
name.vb: JsonCopy(Of EvaluationResult)(EvaluationResult)
2021-08-04 06:51:12 +02:00
spec.csharp:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name: <
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
name: EvaluationResult
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.html
2023-03-30 18:07:55 +02:00
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
name: EvaluationResult
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.html
2021-08-04 06:51:12 +02:00
- name: )
spec.vb:
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult)
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name: (
- name: Of
- name: " "
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
name: EvaluationResult
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.html
2023-03-30 18:07:55 +02:00
- name: )
2021-08-04 06:51:12 +02:00
- name: (
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult
name: EvaluationResult
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.html
2021-08-04 06:51:12 +02:00
- name: )
2023-03-30 18:07:55 +02:00
- uid: TinyLife.Actions.ActionInfo
commentId: T:TinyLife.Actions.ActionInfo
2021-08-04 06:51:12 +02:00
parent: TinyLife.Actions
2024-01-07 16:53:47 +01:00
href: TinyLife.Actions.ActionInfo.html
2023-03-30 18:07:55 +02:00
name: ActionInfo
nameWithType: ActionInfo
fullName: TinyLife.Actions.ActionInfo
2024-06-09 17:05:30 +02:00
- uid: TinyLife.Objects.PersonLike
commentId: T:TinyLife.Objects.PersonLike
2022-03-09 16:13:05 +01:00
parent: TinyLife.Objects
2024-06-09 17:05:30 +02:00
href: TinyLife.Objects.PersonLike.html
name: PersonLike
nameWithType: PersonLike
fullName: TinyLife.Objects.PersonLike
2021-08-04 06:51:12 +02:00
- uid: System.Single
commentId: T:System.Single
parent: System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system.single
name: float
nameWithType: float
fullName: float
nameWithType.vb: Single
fullName.vb: Single
name.vb: Single
2021-08-04 06:51:12 +02:00
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2021-08-04 06:51:12 +02:00
name: JsonCopy<T>(T)
nameWithType: Extensions.JsonCopy<T>(T)
fullName: TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb: Extensions.JsonCopy(Of T)(T)
fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb: JsonCopy(Of T)(T)
spec.csharp:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name: <
- name: T
- name: '>'
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
spec.vb:
- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name: JsonCopy
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name: (
- name: Of
- name: " "
- name: T
- name: )
2021-08-04 06:51:12 +02:00
- name: (
- name: T
- name: )
- uid: TinyLife.Utilities.Extensions
commentId: T:TinyLife.Utilities.Extensions
parent: TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.Extensions.html
2021-08-04 06:51:12 +02:00
name: Extensions
nameWithType: Extensions
fullName: TinyLife.Utilities.Extensions
2022-03-09 16:13:05 +01:00
- uid: TinyLife.Objects
commentId: N:TinyLife.Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2022-03-09 16:13:05 +01:00
name: TinyLife.Objects
nameWithType: TinyLife.Objects
fullName: TinyLife.Objects
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2023-03-30 18:07:55 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Objects
name: Objects
2024-01-07 16:53:47 +01:00
href: TinyLife.Objects.html
2021-08-04 06:51:12 +02:00
- uid: System
commentId: N:System
isExternal: true
2023-03-30 18:07:55 +02:00
href: https://learn.microsoft.com/dotnet/api/system
2021-08-04 06:51:12 +02:00
name: System
nameWithType: System
fullName: System
- uid: TinyLife.Utilities
commentId: N:TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2021-08-04 06:51:12 +02:00
name: TinyLife.Utilities
nameWithType: TinyLife.Utilities
fullName: TinyLife.Utilities
2023-03-30 18:07:55 +02:00
spec.csharp:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html
2023-03-30 18:07:55 +02:00
spec.vb:
- uid: TinyLife
name: TinyLife
2024-01-07 16:53:47 +01:00
href: TinyLife.html
2023-03-30 18:07:55 +02:00
- name: .
- uid: TinyLife.Utilities
name: Utilities
2024-01-07 16:53:47 +01:00
href: TinyLife.Utilities.html