Class LocationEncounter
- Namespace
- TaleWorlds.CampaignSystem.Encounters
- Assembly
- TaleWorlds.CampaignSystem.dll
public class LocationEncounter
- Inheritance
-
LocationEncounter
- Derived
- Inherited Members
Constructors
LocationEncounter(Settlement)
protected LocationEncounter(Settlement settlement)
Parameters
settlementSettlement
Fields
IsInsideOfASettlement
public bool IsInsideOfASettlement
Field Value
Properties
CharactersAccompanyingPlayer
public List<AccompanyingCharacter> CharactersAccompanyingPlayer { get; }
Property Value
Settlement
public Settlement Settlement { get; }
Property Value
Methods
AddAccompanyingCharacter(LocationCharacter, bool)
public void AddAccompanyingCharacter(LocationCharacter locationCharacter, bool isFollowing = false)
Parameters
locationCharacterLocationCharacterisFollowingbool
CreateAndOpenMissionController(Location, Location, CharacterObject, string)
public virtual IMission CreateAndOpenMissionController(Location nextLocation, Location previousLocation = null, CharacterObject talkToChar = null, string playerSpecialSpawnTag = null)
Parameters
nextLocationLocationpreviousLocationLocationtalkToCharCharacterObjectplayerSpecialSpawnTagstring
Returns
GetAccompanyingCharacter(CharacterObject)
public AccompanyingCharacter GetAccompanyingCharacter(CharacterObject character)
Parameters
characterCharacterObject
Returns
GetAccompanyingCharacter(LocationCharacter)
public AccompanyingCharacter GetAccompanyingCharacter(LocationCharacter locationCharacter)
Parameters
locationCharacterLocationCharacter
Returns
IsTavern(Location)
public virtual bool IsTavern(Location location)
Parameters
locationLocation
Returns
IsWorkshopLocation(Location)
public virtual bool IsWorkshopLocation(Location location)
Parameters
locationLocation
Returns
OnCharacterLocationChanged(LocationCharacter, Location, Location)
public void OnCharacterLocationChanged(LocationCharacter locationCharacter, Location fromLocation, Location toLocation)
Parameters
locationCharacterLocationCharacterfromLocationLocationtoLocationLocation
RemoveAccompanyingCharacter(Hero)
public void RemoveAccompanyingCharacter(Hero hero)
Parameters
heroHero
RemoveAccompanyingCharacter(LocationCharacter)
public void RemoveAccompanyingCharacter(LocationCharacter locationCharacter)
Parameters
locationCharacterLocationCharacter
RemoveAllAccompanyingCharacters()
public void RemoveAllAccompanyingCharacters()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).