NetworkSystem class
NetworkSystem
Inheritance
Base: game.ScriptableSystem
Derived
None.
Properties
| Property | Type | |
|---|---|---|
networkLinks | SNetworkLinkData[] | scripted |
networkRevealTargets | ent.EntityID[] | scripted |
networkRevealTargetsLastSession | ent.EntityID[] | scripted |
sessionStarted | bool | scripted |
visionModeChangedCallback | red.CallbackObject? | scripted |
focusModeToggleCallback | red.CallbackObject? | scripted |
playerSpawnCallback | uint | scripted |
currentPlayerTargetCallbackID | red.CallbackObject? | scripted |
lastTargetSlaveID | ent.EntityID | scripted |
lastTargetMasterID | ent.EntityID | scripted |
unregisterLinksRequestDelay | game.DelayID | scripted |
focusModeActive | bool | scripted |
lastBeamResource | game.FxResource | scripted |
pingNetworkEffect | game.EffectInstance? | scripted |
pingCachedData | PingCachedData? | scripted |
lastPingSourceID | ent.EntityID | scripted |
activePings | PingCachedData?[] | scripted |
pingedSquads | CName[] | scripted |
pingLinksCounter | int | scripted |
networkPresetTBDID | TDBID | scripted |
networkPresetRecord | WeakHandle<game.data.NetworkPingingParameteres_Record> | scripted |
backdoors | game.PersistentID[] | scripted |
revealedBackdoorsCount | int | scripted |
debugCashedPingFxResource | game.FxResource | scripted |
debugQueryNumber | int | scripted |
activateLinksDelayID | game.DelayID | scripted |
deactivateLinksDelayID | game.DelayID | scripted |
Functions
void ActivateNetworkLinkByTask(int linkIndex)RTTIvoid ActivateNetworkLinkTask(game.ScriptTaskData data)RTTIvoid DeactivateNetworkLinkByTask(int linkIndex, bool instant)RTTIvoid DeactivateNetworkLinkTask(game.ScriptTaskData data)RTTIvoid OnAttach()overrideRTTIvoid OnDetach()overrideRTTIgame.IBlackboard? GetPlayerStateMachineBlackboard(WeakHandle<game.Object> playerPuppet)RTTIvoid OnPlayerSpawnedCallback(game.Object playerPuppet)RTTIvoid RegisterPlayerSpawnedCallback()RTTIvoid RegisterVisionModeCallback(game.Object player)RTTIvoid RegisterFocusModeCallback()RTTIvoid RegisterPlayerTargetCallback()RTTIvoid UnregisterVisionModeCallback()RTTIvoid UnregisterFocusModeCallback()RTTIvoid UnregisterPlayerTargetCallback()RTTIvoid UnregisterPlayerSpawnedCallback()RTTIvoid AddNetworkLink(SNetworkLinkData linkData)RTTIEPriority DeterminNetworkLinkPriority(SNetworkLinkData linkData)RTTIvoid RemoveNetworkLinksByID(ent.EntityID ID)RTTIvoid RemoveNetworkLinksBetweenTwoEntitities(ent.EntityID firstID, ent.EntityID secondID, bool onlyRemoveWeakLink)RTTIvoid RemoveNetworkLinkByData(SNetworkLinkData linkData)RTTIvoid RemoveNetworkLinkByType(ELinkType linkType)RTTIvoid RemoveNetworkLinkByIdAndType(ELinkType linkType, ent.EntityID ID)RTTIvoid RemoveNetworkLink(int index, bool instant)RTTIgame.DelayID UnregisterNetworkLinkWithDelay(SNetworkLinkData linkData)RTTIvoid RegisterNetworkLinkWithDelay(SNetworkLinkData linkData, float delay)RTTIbool HasNetworkLink(SNetworkLinkData linkData)RTTIvoid UpdateNetworkLinkData(SNetworkLinkData linkData, int indexToUpdate)RTTIvoid CancelNetworkLinkDelay(SNetworkLinkData linkData)RTTIbool CompareLinks(SNetworkLinkData linkData1, SNetworkLinkData linkData2)RTTIbool CompareLinksData(SNetworkLinkData linkData1, SNetworkLinkData linkData2)RTTIbool HasNetworkLinkWithHigherPriority(SNetworkLinkData linkData)RTTIbool HasNetworkLink(ent.EntityID ID)RTTIbool HasNetworkLink(ent.EntityID ID, bool ignorePingLinks)RTTIbool HasNetworkLink(ent.EntityID masterID, ent.EntityID slaveID, ELinkType linkType)RTTIbool HasAnyActiveNetworkLink(ent.EntityID ID)RTTIgame.FxInstance? GetNetworkBeam(SNetworkLinkData linkData)RTTIvoid OnNewBackdoorDeviceRequest(NewBackdoorDeviceRequest request)RTTIvoid OnMarkBackdoorAsRevealedRequest(MarkBackdoorAsRevealedRequest request)RTTIvoid OnUnregisterAllNetworkLinksRequest(UnregisterAllNetworkLinksRequest request)RTTIvoid OnDeactivateAllNetworkLinksRequest(DeactivateAllNetworkLinksRequest request)RTTIvoid KillAllNetworkBeams()RTTIvoid ResolveNetworkSystemCleanupDelay()RTTIvoid CleanNetwork()RTTIvoid RemoveAllNetworkLinks()RTTIvoid OnUnregisterNetworkLinksByIDRequest(UnregisterNetworkLinksByIDRequest request)RTTIvoid OnUnregisterNetworkLinksByIdAndTypeRequest(UnregisterNetworkLinksByIdAndTypeRequest request)RTTIvoid OnUnregisterNetworkLinkRequest(UnregisterNetworkLinkRequest request)RTTIvoid OnUnregisterNetworkLinkBetweenTwoEntitiesRequest(UnregisterNetworkLinkBetweenTwoEntitiesRequest request)RTTIvoid KillNetworkBeamsByID(ent.EntityID ID)RTTIvoid KillNetworkBeamByIndex(int index)RTTIvoid KillNetworkBeamsByID(ent.EntityID slaveID, ent.EntityID masterID)RTTIvoid KillNetworkBeamByData(SNetworkLinkData linkData)RTTIvoid KillNetworkBeam(int index, bool instant)RTTIvoid OnRegisterNetworkLinkRequest(RegisterNetworkLinkRequest request)RTTIvoid RegisterNetworkLink(SNetworkLinkData linkData)RTTIvoid OnUpdateNetworkVisualisationRequest(UpdateNetworkVisualisationRequest request)RTTIvoid UpdateNetworkVisualisation()RTTIvoid OnActivateNetworkLinksRequest(ActivateLinksRequest request)RTTIvoid ActivateNetworkLinks(int[] toActivate)RTTIvoid OnDeactivateLinksRequest(DeactivateLinksRequest request)RTTIvoid DeactivateNetworkLinks(int[] toDeactivate, bool hasContext)RTTIbool DeterminNetworkLinkVisibility(int linkIndex)RTTIvoid ActivateNetworkLinkByIndex(int linkIndex)RTTIbool DrawNetworkBeamByIndex(int linkIndex)RTTIvoid ResolveConnectionHighlight(bool enable, SNetworkLinkData linkData)RTTIvoid SendConnectionHighlightEvent(bool enable, ent.EntityID target, ent.EntityID source, SNetworkLinkData linkData)RTTIvoid OnEvaluateVisionModeRequest(EvaluateVisionModeRequest request)RTTIbool OnVisionModeChanged(int value)RTTIvoid EvaluateVisionMode(game.VisionModeType visionType)RTTIbool OnFocusModeToggle(bool value)RTTIbool OnPlayerTargetChanged(ent.EntityID value)RTTIbool EvaluatelastTargets(ent.EntityID newTarget)RTTIENetworkRelation GetNetworkRelation(ent.EntityID sourceID, ent.EntityID targetID)RTTIvoid EvaluateLastSlaveTarget(ent.EntityID masterID)RTTIvoid EvaluateLastMasterTarget(ent.EntityID slaveID)RTTIbool IsMaster(ent.EntityID targetEntityID)RTTIbool IsLastSlaveTarget(ent.EntityID entityID)RTTIbool IsLastMasterTarget(ent.EntityID entityID)RTTIbool IsCurrentTarget(ent.EntityID entityID)RTTIbool IsCurrentTargetValid()RTTIbool IsCurrentTargetValidInNetwork()RTTIbool IsInNetwork(ent.EntityID id)RTTIbool IsSlaveInNetwork(ent.EntityID id)RTTIent.EntityID[] GetAllSlavesOfMaster(ent.EntityID masterID)RTTIbool IsMasterInNetwork(ent.EntityID id)RTTIent.EntityID[] GetAllMastersOfSlave(ent.EntityID slaveID)RTTIent.EntityID GetCurrentTargetID()RTTIWeakHandle<game.Object> GetCurrentTarget()RTTIWeakHandle<game.Object> GetObjectFromID(ent.EntityID entityID)RTTIbool IsTagged(ent.EntityID id)RTTIvoid OnRegisterPingLinkRequest(RegisterPingNetworkLinkRequest request)RTTIvoid KillSingleOldestFreeLink()RTTIvoid KillSingleOldestFreeLinkWitoutRevealPing()RTTIbool IsFreeLinkLimitReached(SNetworkLinkData linkData)RTTIvoid OnStartPingingNetworkRequest(StartPingingNetworkRequest request)RTTIvoid OnStopingingNetworkRequest(StopPingingNetworkRequest request)RTTIvoid AddActivePing(game.Object source, EPingType pingType, float duration, ELinkType linkType, bool revealNetworkAtEnd, game.FxResource fxResource, TDBID virtualNetworkShapeID)RTTIvoid CreateVirtualNetwork(PingCachedData sourcePing)RTTIbool IsVirtualNetworkWithinDistanceLimit(PingCachedData sourcePing)RTTIvoid CreateVirtualLinksForPing1(PingCachedData ping)RTTIvoid CreateVirtualLinksForPing(PingCachedData ping)RTTIvoid CreateForksForVirtualLink1(SNetworkLinkData linkData, PingCachedData ping, Vector4 sphereCentre, float radius, Vector4 direction, Vector4[] vertices)RTTIvoid CreateForksForVirtualLink1(SNetworkLinkData linkData, PingCachedData ping, Vector4 sphereCentre, float radius, Vector4 direction, Vector4 connectionPoint)RTTIvoid CreateForksForVirtualLink(SNetworkLinkData linkData, PingCachedData ping, Vector4 sphereCentre, float radius, int slice)RTTIvoid RemoveActivePing(int index)RTTIvoid RemoveActivePingBySource(ent.EntityID sourceID)RTTIvoid RemoveAllActivePings()RTTIvoid RemoveAllActiveFakePings()RTTIvoid RemoveAllPingLinks()RTTIvoid RemoveAllPingLinksByType(ELinkType linkType)RTTIvoid RemovePingLinksBySourceAndType(ELinkType linkType, ent.EntityID sourceID)RTTIvoid RemovePingLinksBySource(ent.EntityID sourceID, bool intant)RTTIvoid RemovePingLinksBySourceAndFxResource(ent.EntityID sourceID, game.FxResource fxResource, bool intant)RTTIvoid RemovePingLinksByFxResource(game.FxResource fxResource, bool intant)RTTIvoid RemoveActivePingBySourceAndType(ent.EntityID sourceID, EPingType pingType)RTTIbool HasActivePing(ent.EntityID sourceID)RTTIPingCachedData? GetActivePing(ent.EntityID sourceID)RTTIent.EntityID GetInitialPingSourceID()RTTIWeakHandle<game.Object> GetInitialPingSource()RTTIEPingType GetPingType(ent.EntityID sourceID)RTTIbool HasAnyActivePing()RTTIbool HasAnyActivePingWithRevealNetwork()RTTIbool HasActivePingWithRevealNetwork(ent.EntityID sourceID)RTTIPingCachedData? GetLastActivePingWithRevealNetwork()RTTIvoid IncreasePingLinbksCounter()RTTIvoid DecreasePingLinbksCounter()RTTIbool IsPingLinksLimitReached()RTTIbool IsActivePingsLimitReached()RTTIvoid OnAddPingedSquadRequest(AddPingedSquadRequest request)RTTIvoid AddPingedSquad(CName squadName)RTTIvoid OnRemovePingedSquadRequest(RemovePingedSquadRequest request)RTTIvoid RemovePingedSquad(CName squadName)RTTIvoid OnClearPingedSquadRequest(ClearPingedSquadRequest request)RTTIvoid ClearPingedSquads()RTTIbool IsSquadMarkedWithPing(CName squadName)RTTIbool HasDiffrentParentsThanTargets(ent.EntityID sourceID, ent.EntityID[] targets)RTTIbool HasDiffrentChildrenThanTargets(ent.EntityID sourceID, ent.EntityID[] targets)RTTIvoid ResolveNetworkRevealTarget(SNetworkLinkData linkData)RTTIvoid AddNetworkRevealTarget(ent.EntityID target)RTTIvoid RemoveNetworkRevealTarget(int index)RTTIvoid RevealNetworkOnCachedTarget(ent.EntityID[] targets)RTTIvoid RevealEntireNetworkOnTarget(ent.EntityID target)RTTIvoid OnRevealNetworkRequestRequest(RevealNetworkRequestRequest request)RTTIvoid SendRevealNetworkEvent(ent.EntityID target, float? delay)RTTIvoid SendRevealNetworkGridRequest(ent.EntityID target)RTTIbool IsIdValid(ent.EntityID id)RTTIWeakHandle<game.data.VirtualNetwork_Record> GetVirtualNetworkRecord()RTTIVector4 GetVirtualNetworkSegmentMarker(WeakHandle<game.data.VirtualNetwork_Record> virtualNetworkRecord)RTTIint GetMaxNumberOfSegmentsForVirtualNetwork(WeakHandle<game.data.VirtualNetwork_Record> virtualNetworkRecord)RTTIfloat GetPingRange()RTTIfloat GetSpacePingDuration()RTTIfloat GetSpacePingAppearModifier()RTTIfloat GetNetworkReavealDuration()RTTIbool ShouldNetworkElementsPersistAfterFocus()RTTIbool ShouldForceInstantBeamKill()RTTIfloat GetRevealMasterAfterLeavingFocusDuration()RTTIfloat GetRevealLinksAfterLeavingFocusDuration()RTTIfloat GetPingRevealDuration()RTTIint GetAmmountOfPingDurationIntervals()RTTIint GetMaxFreePingLinks()RTTIfloat GetVirtualLinkAngleTollerance()RTTIfloat GetVirtualLinkForkAngleTollerance()RTTIbool ShouldRevealMasterOnPulse()RTTIbool ShouldRevealSlaveOnPulse()RTTIbool SuppressPingIfBackdoorsFound()RTTIbool AllowSimultanousPinging()RTTIbool ShouldRevealNetworkAfterPulse()RTTIbool ShouldUsePulseOnPing()RTTIfloat GetPulseRange()RTTIbool ShouldPulsRealObject()RTTIbool ShouldShowLinksOnMaster()RTTIbool QuickHacksExposedByDefault()RTTIbool ShouldShowOnlyTargetQuickHacks()RTTIWeakHandle<game.data.NetworkPingingParameteres_Record> GetPingPresetRecord()RTTIvoid SetupPingPresetRecord()RTTIent.EntityID GetLastPingSourceID()RTTIVector4 FindBestMatchingVertice(Vector4 point, Vector4 direction, float angle, float radius, Vector4 excludeVertice, Vector4[] vertices)RTTIVector4 GetRandomPoint(Vector4 direction, float radius, float angle)RTTIVector4 GetRandomPointOnSphere(Vector4 sphereCentre, float radius, int slice)RTTIVector4 GetRandomPointOnSphere(Vector4 sphereCentre, float radius)RTTIVector4 GetRandomPointOnSphereQuadrant0()RTTIVector4 GetRandomPointOnSphereInFacingQuadrant(Vector4 sphereCenter, float radius, Vector4 facePoint)RTTIHUDManager? GetHudManager()RTTIstatic int GetMaxLinksRegisteredAtOnce()staticRTTI globalstatic int GetMaxLinksDeactivatedAtOnce()staticRTTI globalstatic int GetVirtualLinkDepth()staticRTTI globalstatic int GetMaximumNumberOfFreeLinksPerTarget()staticRTTI globalstatic int GetMaxLinksDrawnAtOnce()staticRTTI globalstatic int GetMaxLinksDrawnInTotal()staticRTTI globalstatic void SendEvaluateVisionModeRequest(ScriptGameInstance instance, game.VisionModeType mode)staticRTTI globalstatic int GetMaximumNumberOfActivePings()staticRTTI globalstatic int GetMaxAmountOfVirtualLinkForks()staticRTTI globalstatic int GetNumberOfVirtualLinksPerObject()staticRTTI globalstatic bool QuickHacksExposedByDefault(ScriptGameInstance game)staticRTTI globalstatic bool ShouldShowOnlyTargetQuickHacks(ScriptGameInstance game)staticRTTI globalstatic float GetVirtualLinksSphereRadius()staticRTTI global