MCPcopy
hub / github.com/4ian/GDevelop / getNetworkSyncData

Method getNetworkSyncData

Extensions/Video/videoruntimeobject.ts:116–127  ·  view source on GitHub ↗
(
      syncOptions: GetNetworkSyncDataOptions
    )

Source from the content-addressed store, hash-verified

114 }
115
116 getNetworkSyncData(
117 syncOptions: GetNetworkSyncDataOptions
118 ): VideoObjectNetworkSyncData {
119 return {
120 ...super.getNetworkSyncData(syncOptions),
121 op: this._opacity,
122 pla: this.isPlayed(),
123 loop: this.isLooped(),
124 ct: this.getCurrentTime(),
125 ps: this.getPlaybackSpeed(),
126 };
127 }
128
129 updateFromNetworkSyncData(
130 syncData: VideoObjectNetworkSyncData,

Callers

nothing calls this directly

Calls 5

isPlayedMethod · 0.95
isLoopedMethod · 0.95
getCurrentTimeMethod · 0.95
getPlaybackSpeedMethod · 0.95
getNetworkSyncDataMethod · 0.65

Tested by

no test coverage detected