C# 클래스 Sharplike.Storylib.Relationships.RelationshipChange

파일 보기 프로젝트 열기: eropple/sharplike

공개 메소드들

메소드 설명
AddPersonalityEffect ( Person target, Trait t, double amount ) : void

Adds a personality effect to the batch. Personality effects will change the first impression that new relationships get seeded with.

AddRelationshipChange ( Trait t, double amount ) : void

Adds a relationship trait change to the batch.

Apply ( Relationship target ) : void

Applies a batch.

RelationshipChange ( ) : System
RelationshipChange ( DialogueOption option, Relationship relationship, bool applyMultiple = false ) : System

Constructor which lets you provide a dialogue option and relationship to automatically bind to.

비공개 메소드들

메소드 설명
opt_OptionChosen ( object sender, EventArgs e ) : void

메소드 상세

AddPersonalityEffect() 공개 메소드

Adds a personality effect to the batch. Personality effects will change the first impression that new relationships get seeded with.
public AddPersonalityEffect ( Person target, Trait t, double amount ) : void
target Person The person whose personality should change.
t Trait The trait of the personality that should change.
amount double How much the specified trait should change.
리턴 void

AddRelationshipChange() 공개 메소드

Adds a relationship trait change to the batch.
public AddRelationshipChange ( Trait t, double amount ) : void
t Trait The trait to change.
amount double How much the trait should change.
리턴 void

Apply() 공개 메소드

Applies a batch.
public Apply ( Relationship target ) : void
target Relationship The relationship that the batch should be applied to.
리턴 void

RelationshipChange() 공개 메소드

public RelationshipChange ( ) : System
리턴 System

RelationshipChange() 공개 메소드

Constructor which lets you provide a dialogue option and relationship to automatically bind to.
public RelationshipChange ( DialogueOption option, Relationship relationship, bool applyMultiple = false ) : System
option Sharplike.Storylib.DialogueTree.DialogueOption /// The dialogue option which, when triggered by a visitor, will apply the batch. ///
relationship Relationship The relationship that will be modified.
applyMultiple bool /// Whether the batch may be applied more than once for the same dialogue option. ///
리턴 System