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

Public Types

enum  CharacterRelations
 

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 (CommonArea commonArea)
 

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]
 
CommonArea MemberOfCommonArea [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 ( CommonArea  commonArea)

◆ CreateBodyguardHero()

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

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

◆ MemberOfCommonArea

CommonArea TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter.MemberOfCommonArea
get

◆ SpecialItem

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

◆ IsHidden

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