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

Public Member Functions

 LocationComplex ()
 
 LocationComplex (LocationComplexTemplate complexTemplate)
 
 LocationComplex (LocationComplex complex)
 
void Initialize (LocationComplexTemplate complexTemplate)
 
void AddPassage (Location firstLocation, Location secondLocation)
 
void ChangeLocation (LocationCharacter locationCharacter, Location fromLocation, Location toLocation)
 
IEnumerable< LocationCharacterGetListOfCharactersInLocation (string locationName)
 
IList< LocationCharacterGetListOfCharacters ()
 
IEnumerable< LocationGetListOfLocations ()
 
void AgentPassageUsageTick ()
 
Location GetLocationOfCharacter (LocationCharacter character)
 
Location GetLocationOfCharacter (Hero hero)
 
LocationCharacter GetLocationCharacterOfHero (Hero hero)
 
LocationCharacter GetFirstLocationCharacterOfCharacter (CharacterObject character)
 
void RemoveCharacterIfExists (Hero hero)
 
void RemoveCharacterIfExists (LocationCharacter locationCharacter)
 
void ClearTempCharacters ()
 
Location GetLocationWithId (string id)
 
string GetScene (string stringId, int upgradeLevel)
 
LocationCharacter FindCharacter (IAgent agent)
 
IEnumerable< LocationFindAll (Func< string, bool > predicate)
 

Static Public Member Functions

static bool CanAlways (LocationCharacter locationCharacter, Location location)
 
static bool CanNever (LocationCharacter locationCharacter, Location location)
 
static bool CanIfHero (LocationCharacter locationCharacter, Location location)
 
static bool CanIfDay (LocationCharacter locationCharacter, Location location)
 
static bool CanIfPriceIsPaid (LocationCharacter locationCharacter, Location location)
 
static bool CanIfGrownUpMaleOrHero (LocationCharacter locationCharacter, Location location)
 
static bool CanIfMaleOrHero (LocationCharacter locationCharacter, Location location)
 
static bool CanIfSettlementAccessModelLetsPlayer (LocationCharacter locationCharacter, Location location)
 

Properties

static LocationComplex Current [get]
 

Constructor & Destructor Documentation

◆ LocationComplex() [1/3]

TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.LocationComplex ( )

◆ LocationComplex() [2/3]

TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.LocationComplex ( LocationComplexTemplate  complexTemplate)

◆ LocationComplex() [3/3]

TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.LocationComplex ( LocationComplex  complex)

Member Function Documentation

◆ CanAlways()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanAlways ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanNever()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanNever ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfHero()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfHero ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfDay()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfDay ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfPriceIsPaid()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfPriceIsPaid ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfGrownUpMaleOrHero()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfGrownUpMaleOrHero ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfMaleOrHero()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfMaleOrHero ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ CanIfSettlementAccessModelLetsPlayer()

static bool TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.CanIfSettlementAccessModelLetsPlayer ( LocationCharacter  locationCharacter,
Location  location 
)
static

◆ Initialize()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.Initialize ( LocationComplexTemplate  complexTemplate)

◆ AddPassage()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.AddPassage ( Location  firstLocation,
Location  secondLocation 
)

◆ ChangeLocation()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.ChangeLocation ( LocationCharacter  locationCharacter,
Location  fromLocation,
Location  toLocation 
)

◆ GetListOfCharactersInLocation()

IEnumerable< LocationCharacter > TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetListOfCharactersInLocation ( string  locationName)

◆ GetListOfCharacters()

IList< LocationCharacter > TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetListOfCharacters ( )

◆ GetListOfLocations()

IEnumerable< Location > TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetListOfLocations ( )

◆ AgentPassageUsageTick()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.AgentPassageUsageTick ( )

◆ GetLocationOfCharacter() [1/2]

Location TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationOfCharacter ( LocationCharacter  character)

◆ GetLocationOfCharacter() [2/2]

Location TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationOfCharacter ( Hero  hero)

◆ GetLocationCharacterOfHero()

LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationCharacterOfHero ( Hero  hero)

◆ GetFirstLocationCharacterOfCharacter()

LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetFirstLocationCharacterOfCharacter ( CharacterObject  character)

◆ RemoveCharacterIfExists() [1/2]

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.RemoveCharacterIfExists ( Hero  hero)

◆ RemoveCharacterIfExists() [2/2]

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.RemoveCharacterIfExists ( LocationCharacter  locationCharacter)

◆ ClearTempCharacters()

void TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.ClearTempCharacters ( )

◆ GetLocationWithId()

Location TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationWithId ( string  id)

◆ GetScene()

string TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetScene ( string  stringId,
int  upgradeLevel 
)

◆ FindCharacter()

LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.FindCharacter ( IAgent  agent)

◆ FindAll()

IEnumerable< Location > TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.FindAll ( Func< string, bool >  predicate)

Property Documentation

◆ Current

LocationComplex TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.Current
staticget