Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
Skyfire::GameObjects Namespace Reference

Functions

uint32 AdvanceTransportPathProgress (uint32 pathProgress, uint32 diff, uint32 transportPeriod)
uint32 ClampLegacyTransportPathProgress (uint32 pathProgress, uint32 transportPeriod)
uint32 GetInitialLegacyTransportPathProgress (bool hasStopFrames, uint32 transportPeriod, uint32 now)
uint32 GetInitialLegacyTransportState (bool, bool hasStopFrames)
uint32 GetLegacyTransportEndpoint (uint32 transportPeriod)
uint32 GetLegacyTransportReverseTravelTime (uint32 sourceProgress, uint32 targetProgress, uint32 transportPeriod)
uint32 GetLegacyTransportTransitionTime (uint32 sourceProgress, uint32 targetProgress)
uint32 GetLegacyTransportTravelTime (uint32 sourceProgress, uint32 targetProgress, uint32 transportPeriod)
uint32 GetTransportDynamicPathProgress (uint32 gameObjectType, uint32 transportPeriod, uint32 pathProgress)
uint32 InterpolateLegacyTransportPathProgress (uint32 sourceProgress, uint32 targetProgress, uint32 transportPeriod, uint32 elapsedTime, uint32 travelTime, bool invertedMovement=false)
uint32 SetLegacyTransportStoppedFlag (uint32 dynamicFlags, bool stopped)
bool UsesControlledTransportProgress (uint32 gameObjectType, uint32 transportPeriod)
uint32 WrapTransportPathProgress (uint32 pathProgress, uint32 transportPeriod)

Function Documentation

◆ AdvanceTransportPathProgress()

uint32 Skyfire::GameObjects::AdvanceTransportPathProgress ( uint32 pathProgress,
uint32 diff,
uint32 transportPeriod )
inline

Definition at line 41 of file GameObjectTransportTiming.h.

References GetLegacyTransportEndpoint().

◆ ClampLegacyTransportPathProgress()

uint32 Skyfire::GameObjects::ClampLegacyTransportPathProgress ( uint32 pathProgress,
uint32 transportPeriod )
inline

◆ GetInitialLegacyTransportPathProgress()

uint32 Skyfire::GameObjects::GetInitialLegacyTransportPathProgress ( bool hasStopFrames,
uint32 transportPeriod,
uint32 now )
inline

◆ GetInitialLegacyTransportState()

uint32 Skyfire::GameObjects::GetInitialLegacyTransportState ( bool ,
bool hasStopFrames )
inline

Definition at line 88 of file GameObjectTransportTiming.h.

Referenced by GameObject::Create(), and Transport::CreateLocal().

◆ GetLegacyTransportEndpoint()

uint32 Skyfire::GameObjects::GetLegacyTransportEndpoint ( uint32 transportPeriod)
inline

◆ GetLegacyTransportReverseTravelTime()

uint32 Skyfire::GameObjects::GetLegacyTransportReverseTravelTime ( uint32 sourceProgress,
uint32 targetProgress,
uint32 transportPeriod )
inline

◆ GetLegacyTransportTransitionTime()

uint32 Skyfire::GameObjects::GetLegacyTransportTransitionTime ( uint32 sourceProgress,
uint32 targetProgress )
inline

◆ GetLegacyTransportTravelTime()

uint32 Skyfire::GameObjects::GetLegacyTransportTravelTime ( uint32 sourceProgress,
uint32 targetProgress,
uint32 transportPeriod )
inline

Definition at line 53 of file GameObjectTransportTiming.h.

Referenced by InterpolateLegacyTransportPathProgress().

◆ GetTransportDynamicPathProgress()

uint32 Skyfire::GameObjects::GetTransportDynamicPathProgress ( uint32 gameObjectType,
uint32 transportPeriod,
uint32 pathProgress )
inline

◆ InterpolateLegacyTransportPathProgress()

uint32 Skyfire::GameObjects::InterpolateLegacyTransportPathProgress ( uint32 sourceProgress,
uint32 targetProgress,
uint32 transportPeriod,
uint32 elapsedTime,
uint32 travelTime,
bool invertedMovement = false )
inline

◆ SetLegacyTransportStoppedFlag()

uint32 Skyfire::GameObjects::SetLegacyTransportStoppedFlag ( uint32 dynamicFlags,
bool stopped )
inline

Definition at line 80 of file GameObjectTransportTiming.h.

References GO_DYNFLAG_LO_STOPPED.

Referenced by GameObject::SetLegacyTransportStopped().

◆ UsesControlledTransportProgress()

bool Skyfire::GameObjects::UsesControlledTransportProgress ( uint32 gameObjectType,
uint32 transportPeriod )
inline

◆ WrapTransportPathProgress()

uint32 Skyfire::GameObjects::WrapTransportPathProgress ( uint32 pathProgress,
uint32 transportPeriod )
inline