Class LocationCharacter
- Namespace
- TaleWorlds.CampaignSystem.Settlements.Locations
- Assembly
- TaleWorlds.CampaignSystem.dll
public class LocationCharacter
- Inheritance
-
LocationCharacter
- Inherited Members
Constructors
LocationCharacter(AgentData, AddBehaviorsDelegate, string, bool, CharacterRelations, string, bool, bool, ItemObject, bool, bool, bool)
public LocationCharacter(AgentData agentData, LocationCharacter.AddBehaviorsDelegate addBehaviorsDelegate, string spawnTag, bool fixedLocation, LocationCharacter.CharacterRelations characterRelation, string actionSetCode, bool useCivilianEquipment, bool isFixedCharacter = false, ItemObject specialItem = null, bool isHidden = false, bool isVisualTracked = false, bool overrideBodyProperties = true)
Parameters
agentData
AgentDataaddBehaviorsDelegate
LocationCharacter.AddBehaviorsDelegatespawnTag
stringfixedLocation
boolcharacterRelation
LocationCharacter.CharacterRelationsactionSetCode
stringuseCivilianEquipment
boolisFixedCharacter
boolspecialItem
ItemObjectisHidden
boolisVisualTracked
booloverrideBodyProperties
bool
Fields
CharacterRelation
public LocationCharacter.CharacterRelations CharacterRelation
Field Value
IsVisualTracked
public bool IsVisualTracked
Field Value
PrefabNamesForBones
public Dictionary<sbyte, string> PrefabNamesForBones
Field Value
Properties
ActionSetCode
public string ActionSetCode { get; }
Property Value
AddBehaviors
public LocationCharacter.AddBehaviorsDelegate AddBehaviors { get; }
Property Value
AgentData
public AgentData AgentData { get; }
Property Value
AgentOrigin
public IAgentOriginBase AgentOrigin { get; }
Property Value
AlarmedActionSetCode
public string AlarmedActionSetCode { get; }
Property Value
Character
public CharacterObject Character { get; }
Property Value
FixedLocation
public bool FixedLocation { get; }
Property Value
IsHidden
public bool IsHidden { get; set; }
Property Value
MemberOfAlley
public Alley MemberOfAlley { get; }
Property Value
SpecialItem
public ItemObject SpecialItem { get; }
Property Value
SpecialTargetTag
public string SpecialTargetTag { get; set; }
Property Value
UseCivilianEquipment
public bool UseCivilianEquipment { get; }
Property Value
Methods
CreateBodyguardHero(Hero, MobileParty, AddBehaviorsDelegate)
public static LocationCharacter CreateBodyguardHero(Hero hero, MobileParty party, LocationCharacter.AddBehaviorsDelegate addBehaviorsDelegate)
Parameters
hero
Heroparty
MobilePartyaddBehaviorsDelegate
LocationCharacter.AddBehaviorsDelegate
Returns
SetAlleyOfCharacter(Alley)
public void SetAlleyOfCharacter(Alley alley)
Parameters
alley
Alley
ToString()
public override string ToString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).