M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter Class Reference

Public Types

enum  CharacterRelations {
  Neutral ,
  Friendly ,
  Enemy
}
 

Public Member Functions

delegate void AddBehaviorsDelegate (IAgent agent)
 
 LocationCharacter (AgentData agentData, AddBehaviorsDelegate addBehaviorsDelegate, string spawnTag, bool fixedLocation, CharacterRelations characterRelation, string actionSetCode, bool useCivilianEquipment, bool isFixedCharacter=false, ItemObject specialItem=null, bool isHidden=false, bool isVisualTracked=false, bool overrideBodyProperties=true)
 
void SetAlleyOfCharacter (Alley alley)
 
override string ToString ()
 

Static Public Member Functions

static LocationCharacter CreateBodyguardHero (Hero hero, MobileParty party, AddBehaviorsDelegate addBehaviorsDelegate)
 

Public Attributes

bool IsVisualTracked
 
Dictionary< sbyte, string > PrefabNamesForBones
 
CharacterRelations CharacterRelation
 

Properties

CharacterObject Character [get]
 
IAgentOriginBase AgentOrigin [get]
 
AgentData AgentData [get]
 
bool UseCivilianEquipment [get]
 
string ActionSetCode [get]
 
string AlarmedActionSetCode [get]
 
string SpecialTargetTag [get, set]
 
AddBehaviorsDelegate AddBehaviors [get]
 
bool FixedLocation [get]
 
Alley MemberOfAlley [get]
 
ItemObject SpecialItem [get]
 
bool IsHidden [get, set]
 

Member Enumeration Documentation

◆ CharacterRelations

Constructor & Destructor Documentation

◆ LocationCharacter()

TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.LocationCharacter ( AgentData  agentData,
AddBehaviorsDelegate  addBehaviorsDelegate,
string  spawnTag,
bool  fixedLocation,
CharacterRelations  characterRelation,
string  actionSetCode,
bool  useCivilianEquipment,
bool  isFixedCharacter = false,
ItemObject  specialItem = null,
bool  isHidden = false,
bool  isVisualTracked = false,
bool  overrideBodyProperties = true 
)

Member Function Documentation

◆ AddBehaviorsDelegate()

delegate void TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.AddBehaviorsDelegate ( IAgent  agent)

◆ SetAlleyOfCharacter()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.SetAlleyOfCharacter ( Alley  alley)

◆ CreateBodyguardHero()

static LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.CreateBodyguardHero ( Hero  hero,
MobileParty  party,
AddBehaviorsDelegate  addBehaviorsDelegate 
)
static

◆ ToString()

override string TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.ToString ( )

Member Data Documentation

◆ IsVisualTracked

bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.IsVisualTracked

◆ PrefabNamesForBones

Dictionary<sbyte, string> TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.PrefabNamesForBones

◆ CharacterRelation

CharacterRelations TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.CharacterRelation

Property Documentation

◆ Character

CharacterObject TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.Character
get

◆ AgentOrigin

IAgentOriginBase TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.AgentOrigin
get

◆ AgentData

AgentData TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.AgentData
get

◆ UseCivilianEquipment

bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.UseCivilianEquipment
get

◆ ActionSetCode

string TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.ActionSetCode
get

◆ AlarmedActionSetCode

string TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.AlarmedActionSetCode
get

◆ SpecialTargetTag

string TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.SpecialTargetTag
getset

◆ AddBehaviors

AddBehaviorsDelegate TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.AddBehaviors
get

◆ FixedLocation

bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.FixedLocation
get

◆ MemberOfAlley

Alley TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.MemberOfAlley
get

◆ SpecialItem

ItemObject TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.SpecialItem
get

◆ IsHidden

bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.IsHidden
getset