Inherits ITown.
| void SetLaw | ( | uint | law, | |
| bool | enabled | |||
| ) |
Implements ITown.
| bool IsLaw | ( | uint | law | ) |
Implements ITown.
| void RemoveTownMilitia | ( | Map& | map | ) |
| void InitTownLeader | ( | Critter& | leader | ) |
| bool LoadData | ( | ) |
Implements ITown.
| bool SaveData | ( | ) |
Implements ITown.
| float GetControllingInfluence | ( | ) |
Implements ITown.
| float GetLargestInfluence | ( | uint& | factionid | ) |
Retrieves the faction with highest influence in town.
| faction | Variable where found faction is saved, if 0 then none found. |
| void SortInfluence | ( | ) |
| uint GetTopInfluence | ( | array< uint >& | factions, | |
| uint | num | |||
| ) |
Retrieves factions with highest influence in town.
| factions | Array where found factions while be storedin faction_id,value,faction_id,value format. Array is not cleared. | |
| num | How many of the top x to retrieve. 3 will retrieve only the three most influential factions. |
| float GetInfluence | ( | uint | factionId | ) |
Implements ITown.
| void SetInfluence | ( | uint | factionId, | |
| float | value | |||
| ) |
Implements ITown.
| void ModifyInfluence | ( | uint | factionId, | |
| float | value | |||
| ) |
Implements ITown.
| array<uint> GetFriendlyFactions | ( | ) |
Implements ITown.
| bool IsMilitiaEnabled | ( | ) |
Implements ITown.
| bool IsFriendlyFaction | ( | uint | factionid | ) |
Implements ITown.
| float GetCaptorInfluence | ( | Critter& | cr | ) |
| bool AddFriendlyFaction | ( | uint | factionid | ) |
Implements ITown.
| uint GetAreaCount | ( | ) |
Implements ITown.
| bool RemoveFriendlyFaction | ( | uint | factionid | ) |
Implements ITown.
| uint GetStatus | ( | ) |
Implements ITown.
| void SetStatus | ( | uint | status | ) |
Implements ITown.
| void SetPreviousFaction | ( | uint | previous | ) |
Implements ITown.
| void RevertControl | ( | ) |
Implements ITown.
| void SetScore | ( | ) |
Implements ITown.
| void AssignMilitiaTeam | ( | Critter@ | cr | ) |
| uint NumberOfValidFactionMembersPresent | ( | Map& | map, | |
| uint | someFaction | |||
| ) |
| void TownCheck | ( | ) |
Implements ITown.
| void AreaCheck | ( | ) |
Implements ITown.
| void Update | ( | uint | hour, | |
| uint | minute | |||
| ) |
Implements ITown.
| void GiveReward | ( | uint | militiaCount | ) |
| void UpdateTick | ( | ) |
Implements ITown.
| void UpdateCountdown | ( | ) |
Implements ITown.
| void IncreaseNPCDeath | ( | uint | num | ) |
Implements ITown.
| void IncreasecontrolCycles | ( | uint | num | ) |
| uint GetlastSecond | ( | ) |
Implements ITown.
| void SetlastSecond | ( | uint | sec | ) |
Implements ITown.
| uint GetCountdown | ( | ) |
Implements ITown.
| uint GetVersion | ( | ) |
Implements ITown.
| uint GetControlCycles | ( | ) |
Implements ITown.
| uint GetNumberOfKilledNPCs | ( | ) |
Implements ITown.
| uint GetControllingFaction | ( | ) |
Implements ITown.
| uint GetMemberNearbyRequirement | ( | ) |
Implements ITown.
| uint GetMemberTotalRequirement | ( | ) |
Implements ITown.
| int GetSpeechModifier | ( | ) |
Implements ITown.
| uint GetMilitiaMax | ( | ) |
Implements ITown.
| uint GetMapID | ( | ) |
Implements ITown.
| bool SetControl | ( | uint | newFaction | ) |
| void SetCountdownStatus | ( | bool | enabled | ) |
Implements ITown.
| bool GetCountdownStatus | ( | ) |
Implements ITown.
| void ResetControl | ( | ) |
Implements ITown.
| void ResetStats | ( | ) |
Implements ITown.
| void ClearRewardContainer | ( | ) |
Implements ITown.
| void ClearLimboContainer | ( | ) |
Implements ITown.
| void ClearContainers | ( | ) |
Implements ITown.
| uint GetTownID | ( | ) |
Implements ITown.
| uint GetTownLeaderId | ( | ) |
Implements ITown.
| ITown@ SetTownLeader | ( | uint | id | ) |
| void AddMoney | ( | int | money | ) |
Implements ITown.
| int GetMoney | ( | ) |
Implements ITown.
| uint tcVersion |
| array<float> factionInfluence |
| bool militiaEnabled |
| uint militiamax |
| uint status |
| uint faction |
| uint previousfaction |
| uint memberNearbyReq |
| uint memberInfluenceReq |
| uint memberTotalReq |
| uint npcDeaths |
| uint controlCycles |
| uint rewardCapsStart |
| uint rewardCaps |
| uint mapid |
| uint lastHour |
| uint lastMinute |
| uint lastSecond |
| uint townLeaderId |
| uint id |
| uint hour |
| uint countdown |
| int ch |
| int speech |
| int baseValue |
| int speechModifier |
| array<uint> friendsList |
| bool lawIllegalWeapons |
| bool lawPunishThieves |
| bool lawKillAggressor |
| array<IPolygon@> captureareas |
| uint outsideAreaCount |
| int Money |
1.7.1