Loading...
Searching...
No Matches
PixelCrushers.LoveHate Namespace Reference

Namespaces

namespace  AdventureCreatorSupport
 
namespace  BoltSupport
 
namespace  EmeraldAISupport
 
namespace  Example
 
namespace  GameCreatorSupport
 
namespace  MakinomSupport
 
namespace  ORKFrameworkSupport
 
namespace  PlayMaker
 
namespace  plyGame
 
namespace  TradeSysSupport
 
namespace  Wrappers
 

Classes

class  AbstractAuraTrigger
 This abstract aura trigger is the workhorse for AuraTrigger (3D) and AuraTrigger2D. More...
 
class  AbstractGossipTrigger
 This abstract class is the workhorse for GossipTrigger and GossipTrigger2D. More...
 
class  AbstractGreetingAnimationTrigger
 This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D. More...
 
class  AbstractGreetingAnimationTriggerEditor
 This is a custom editor for AbstractGreetingAnimationTrigger that uses reorderable lists. More...
 
class  AbstractGreetingTrigger
 This abstract greeting trigger is the workhorse for GreetingTrigger (3D) and GreetingTrigger2D, through an intermediate AbstractGreetingAnimationTrigger. More...
 
class  AbstractTriggerInteractor
 This is the base class for trigger components such as AbstractGreetingTrigger and AbstractGossipTrigger. More...
 
class  AuraTrigger
 Applies an aura effect when a faction member enters the trigger. More...
 
class  AuraTrigger2D
 Applies an aura effect when a faction member enters the trigger. More...
 
class  CanSeeAdvanced
 Add to a GameObject that has a FactionMember. More...
 
class  CanSeeAdvancedEditor
 Custom editor for CanSeeAdvanced that shows debug info in the Scene view. More...
 
class  Deed
 A deed is an objective record of an act committed by an actor to a target. More...
 
class  DeedCategory
 Optional category to assign to a deed. More...
 
class  DeedEvaluationOverrides
 
class  DeedOverrideInfo
 
class  DeedOverridesEditor
 This is a custom editor for DeedOverrides. More...
 
class  DeedReactionEvents
 This component provides UnityEvent blocks for reactions that cause different pleasure values. More...
 
class  DeedReactionEventsEditor
 This is a custom editor for DeedReactionEvents that uses reorderable lists. More...
 
class  DeedReporter
 Provides a higher-level way to report deeds to the FactionManager using a deed template library. More...
 
class  DeedTemplate
 A deed template defines the attributes of a deed that the DeedReporter can report to the FactionManager. More...
 
class  DeedTemplateLibrary
 A deed template library contains a list of deed templates. More...
 
class  DeedTemplateLibraryEditor
 This is a custom editor for DeedTemplateLibrary. More...
 
class  EmotionalState
 This optional component adds a more customizable emotion model based on PAD values than the PAD's built-in Temperament value. More...
 
class  EmotionalStateEditor
 Custom editor for EmotionalState, which is the component that runs on a faction member to determine its current emotional state. More...
 
class  EmotionDefinition
 Emotion definition for EmotionModel and EmotionalState. More...
 
class  EmotionDefinitionDrawer
 This custom property drawer for EmotionDefinion uses min-max sliders. More...
 
class  EmotionModel
 This scriptable object asset defines an emotion model, which is an EmotionDefinition list. More...
 
class  Faction
 Defines a faction record for the faction database. More...
 
class  FactionDatabase
 A faction database is a collection of traits, presets, and factions. More...
 
class  FactionDatabaseEditor
 This is a custom editor for FactionDatabase. More...
 
class  FactionDatabaseImportExportCSVWindow
 Exports & imports FactionDatabase contents to CSV. More...
 
class  FactionManager
 Coordinates data exchange between factions. More...
 
class  FactionManagerEditor
 This script reserves the possibility of a custom editor for FactionManager. More...
 
class  FactionManagerSaver
 Saves the FactionManager's FactionDatabase to the SaveSystem. More...
 
class  FactionMember
 A faction member is a GameObject that's a member of a faction. More...
 
class  FactionMemberDebugger
 Manages a debug canvas that reports a faction member's state. More...
 
class  FactionMemberDebuggerCanvas
 Canvas used by FactionMemberDebugger. More...
 
class  FactionMemberEditor
 Custom editor for FactionMember. More...
 
class  FactionMemberEvents
 This component provides UnityEvent blocks for faction member events. More...
 
class  FactionMemberSaver
 Saves a FactionMember's data to the SaveSystem. More...
 
class  FactionPopupAttribute
 Add [FactionPopup] to an int to use a popup of corresponding factions using the faction database assigned to the current scene's FactionManager. More...
 
class  FactionPopupDrawer
 
class  FieldOfView
 Defines a field of view, which is an area with a horizontal arc and vertical arc. More...
 
class  GossipAnimation
 Triggers an animation when the character gossips. More...
 
class  GossipTrigger
 Gossips with another character when entering its trigger area. More...
 
class  GossipTrigger2D
 Gossips with another character when entering its trigger area. More...
 
class  GreetingTrigger
 Plays a greeting animation when near another character based on affinity to that character. More...
 
class  GreetingTrigger2D
 Plays a greeting animation when near another character based on affinity to that character. More...
 
class  GreetingTrigger2DEditor
 
class  GreetingTriggerEditor
 
interface  IAuraEventHandler
 Unity Event system event handler interface for aura Affect(FactionMember). More...
 
interface  IEnterAuraEventHandler
 Unity Event system event handler interface for faction members who enter aura. More...
 
interface  IForgetDeedEventHandler
 Unity Event system event handler interface for OnForgetDeed(). More...
 
interface  IGossipEventHandler
 Unity Event system event handler interface for OnGossip(FactionMember). More...
 
interface  IGreetEventHandler
 Unity Event system event handler interface for OnGreet(FactionMember). More...
 
interface  IModifyPadDeedEventHandler
 Unity Event system event handler interface for OnModifyPad(). More...
 
class  InheritedRelationship
 This class is used to display inherited relationships in the inspector. More...
 
interface  IRememberDeedEventHandler
 Unity Event system event handler interface for OnRememberDeed(). More...
 
interface  IShareRumorsEventHandler
 Unity Event system event handler interface for OnShareRumors(FactionMember). More...
 
interface  IWitnessDeedEventHandler
 Unity Event system event handler interface for OnWitnessDeed(). More...
 
class  LoveHate
 This static wrapper class provides easy access to FactionManager methods. More...
 
class  Pad
 An emotional state, based on the PAD model: https://en.wikipedia.org/wiki/PAD_emotional_state_model. More...
 
class  Preset
 A preset is a predefined set of traits, useful as a shortcut to apply traits to factions and deeds. More...
 
class  RangeAnimation
 Defines an animation trigger that applies to a [min,max) range and a set of temperaments. More...
 
class  Relationship
 Defines a relationship to another faction, which is a set of traits that always includes affinity as the first trait. More...
 
class  Rumor
 A rumor is a faction member's subjective memory of a deed. More...
 
class  StabilizePAD
 Stabilizes PAD values toward target values. More...
 
class  StabilizePADEditor
 This is a custom editor for StabilizePAD. More...
 
class  TraitDefinition
 A trait definition defines a single personality value (such as Charity) or relationship value (such as Rivalry). More...
 
class  Traits
 Adds personality traits to a GameObject. More...
 
class  TraitsEditor
 Custom editor for Traits MonoBehaviour. More...
 
class  WitnessQueueItem
 Witness queue items are deeds waiting to be evaluated by witnesses. More...
 

Enumerations

enum  FactionInheritanceType { Average , Sum }
 Defines how inheritance should be handled. More...
 
enum  PermittedEvaluators { Everyone , OnlyTarget , EveryoneExceptTarget }
 
enum  Temperament {
  Exuberant = 1 , Bored = 2 , Dependent = 4 , Disdainful = 8 ,
  Relaxed = 16 , Anxious = 32 , Docile = 64 , Hostile = 128 ,
  Neutral = 256
}
 Temperament specifies an emotional state. More...
 

Functions

delegate void PersonalityTraitChangedDelegate (int factionID, int traitID, float value)
 
delegate bool CanSeeDelegate (FactionMember actor, Dimension dimension)
 
delegate void ShareRumorDelegate (Rumor rumor, FactionMember other)
 
delegate Rumor EvaluateRumorDelegate (Rumor rumor, FactionMember source)
 
delegate float GetTrustInSourceDelegate (FactionMember source)
 
delegate float GetTraitAlignmentDelegate (float[] traits)
 
delegate float GetPowerLevelDelegate ()
 
delegate float ComputeDominanceDelegate (Rumor rumor, float affinityToTarget, float changeInAffinityToActor, float powerModifier)
 

Enumeration Type Documentation

◆ FactionInheritanceType

Defines how inheritance should be handled.

Enumerator
Average 

Average the parents' values.

Sum 

Sum the parents' values.

◆ PermittedEvaluators

Enumerator
Everyone 

Any faction member is allowed to evaluate the deed.

OnlyTarget 

Only the target of the deed is allowed to evaluate it.

EveryoneExceptTarget 

Any faction member except the target is allowed to evaluate it.

◆ Temperament

Temperament specifies an emotional state.

It's a function of Pleasure (P), Arousal (A), and Dominance (D).

Enumerator
Exuberant 
Bored 
Dependent 
Disdainful 
Relaxed 
Anxious 
Docile 
Hostile 
Neutral 

Function Documentation

◆ CanSeeDelegate()

delegate bool PixelCrushers.LoveHate.CanSeeDelegate ( FactionMember  actor,
Dimension  dimension 
)

◆ ComputeDominanceDelegate()

delegate float PixelCrushers.LoveHate.ComputeDominanceDelegate ( Rumor  rumor,
float  affinityToTarget,
float  changeInAffinityToActor,
float  powerModifier 
)

◆ EvaluateRumorDelegate()

delegate Rumor PixelCrushers.LoveHate.EvaluateRumorDelegate ( Rumor  rumor,
FactionMember  source 
)

◆ GetPowerLevelDelegate()

delegate float PixelCrushers.LoveHate.GetPowerLevelDelegate ( )

◆ GetTraitAlignmentDelegate()

delegate float PixelCrushers.LoveHate.GetTraitAlignmentDelegate ( float[]  traits)

◆ GetTrustInSourceDelegate()

delegate float PixelCrushers.LoveHate.GetTrustInSourceDelegate ( FactionMember  source)

◆ PersonalityTraitChangedDelegate()

delegate void PixelCrushers.LoveHate.PersonalityTraitChangedDelegate ( int  factionID,
int  traitID,
float  value 
)

◆ ShareRumorDelegate()

delegate void PixelCrushers.LoveHate.ShareRumorDelegate ( Rumor  rumor,
FactionMember  other 
)