Script/LevelReference

From SF3
Revision as of 13:33, 26 August 2016 by Administrator (talk | contribs) (Created page with "==class LevelReference== === Class Methods === {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;background-color: #ffffcc;' cellspacing='0' cellpad...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

class LevelReference

Class Methods

void RegisterHeroPartyEvent (const string&in _sEventTypeName, TOnHeroPartyEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
void RegisterInventoryEvent (const string&in _sEventTypeName, TOnInventoryEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
void RegisterCreatureEventByDescription (const string&in _sEventTypeName, TOnCreatureEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterCreatureEventByIndividual (const string&in _sEventTypeName, TOnCreatureEvent@ _pFunction, const string&in _sCreatureName)
void RegisterBuildingEventByDescription (const string&in _sEventTypeName, TOnBuildingEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterBuildingEventByIndividual (const string&in _sEventTypeName, TOnBuildingEvent@ _pFunction, const string&in _sBuildingName)
void RegisterUIEvent (const string&in _sEventTypeName, TOnUIEvent@ _pFunction, const uint8 _Faction)
void RegisterUIEventByDescription (const string&in _sEventTypeName, TOnUIEntityEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterUIEventByIndividual (const string&in _sEventTypeName, TOnUIEntityEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
World@ GetWorld ()
Random@ GetRandom ()
HeroParty@ GetHeroParty (const uint8 _uFaction)
Sector@ GetSectorByName (const string&in _sName)
Sector@ GetSectorByIndex (const uint _uIndex)
Building GetBuildingByName (const string&in _sName)
Building GetBuildingById (const uint _uId)
Creature GetCreatureByName (const string&in _sName)
Creature GetCreatureById (const uint _uId)
LogicObject GetLogicObjectByName (const string&in _sName)
LogicObject GetLogicObjectById (const uint _uId)
ResourceDeposit GetResourceDepositByName (const string&in _sName)
ResourceDeposit GetResourceDepositById (const uint _uId)
Entity GetEntityById (const uint _uId)
Building FindBuildingByDescription (const uint8 _uFaction, const string&in _sDescriptionName)
Creature FindCreatureByDescription (const uint8 _uFaction, const string&in _sDescriptionName)
void TransferFactionAssets (const uint8 _SourceFaction, const uint8 _DestinationFaction)
void DestroyFactionAssets (const uint8 _Faction)
void DamageFactionAssets (const uint8 _Faction)
void SetFactionRelation (const uint8 _FactionA, const uint8 _FactionB, const string&in _sRelation)
void WinGame (const uint8 _Faction)
void LoseGame (const uint8 _Faction)
void BlockNavMesh (const string&in _sName, const bool _bBlocked)
void ActivateSpawn (const string&in _sName, const bool _bActive)
void ActivateAI (const uint8 _Faction)
void ShowTutorial (const uint8 _Faction, const string&in _sTutorialName)
void ShowTutorial (const uint8 _Faction, const string&in _sTutorialName, const Entity&in _Target)
void ShowNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)
void BeginNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)
void EndNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)

class LevelReference

Class Methods

void RegisterHeroPartyEvent (const string&in _sEventTypeName, TOnHeroPartyEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
void RegisterInventoryEvent (const string&in _sEventTypeName, TOnInventoryEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
void RegisterCreatureEventByDescription (const string&in _sEventTypeName, TOnCreatureEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterCreatureEventByIndividual (const string&in _sEventTypeName, TOnCreatureEvent@ _pFunction, const string&in _sCreatureName)
void RegisterBuildingEventByDescription (const string&in _sEventTypeName, TOnBuildingEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterBuildingEventByIndividual (const string&in _sEventTypeName, TOnBuildingEvent@ _pFunction, const string&in _sBuildingName)
void RegisterUIEvent (const string&in _sEventTypeName, TOnUIEvent@ _pFunction, const uint8 _Faction)
void RegisterUIEventByDescription (const string&in _sEventTypeName, TOnUIEntityEvent@ _pFunction, const string&in _sDescriptionName, const uint8 _Faction)
void RegisterUIEventByIndividual (const string&in _sEventTypeName, TOnUIEntityEvent@ _pFunction, const string&in _sTargetName, const uint8 _Faction)
World@ GetWorld ()
Random@ GetRandom ()
HeroParty@ GetHeroParty (const uint8 _uFaction)
Sector@ GetSectorByName (const string&in _sName)
Sector@ GetSectorByIndex (const uint _uIndex)
Building GetBuildingByName (const string&in _sName)
Building GetBuildingById (const uint _uId)
Creature GetCreatureByName (const string&in _sName)
Creature GetCreatureById (const uint _uId)
LogicObject GetLogicObjectByName (const string&in _sName)
LogicObject GetLogicObjectById (const uint _uId)
ResourceDeposit GetResourceDepositByName (const string&in _sName)
ResourceDeposit GetResourceDepositById (const uint _uId)
Entity GetEntityById (const uint _uId)
Building FindBuildingByDescription (const uint8 _uFaction, const string&in _sDescriptionName)
Creature FindCreatureByDescription (const uint8 _uFaction, const string&in _sDescriptionName)
void TransferFactionAssets (const uint8 _SourceFaction, const uint8 _DestinationFaction)
void DestroyFactionAssets (const uint8 _Faction)
void DamageFactionAssets (const uint8 _Faction)
void SetFactionRelation (const uint8 _FactionA, const uint8 _FactionB, const string&in _sRelation)
void WinGame (const uint8 _Faction)
void LoseGame (const uint8 _Faction)
void BlockNavMesh (const string&in _sName, const bool _bBlocked)
void ActivateSpawn (const string&in _sName, const bool _bActive)
void ActivateAI (const uint8 _Faction)
void ShowTutorial (const uint8 _Faction, const string&in _sTutorialName)
void ShowTutorial (const uint8 _Faction, const string&in _sTutorialName, const Entity&in _Target)
void ShowNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)
void BeginNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)
void EndNotification (const uint8 _Faction, const string&in _sNotificationName, const Entity&in _Location)