@dcl/playground-assets 7.24.1-27293561585.commit-8c5b5ad → 7.24.1-27386133361.commit-558451f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alpha.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -182,11 +182,13 @@ export declare interface AudioSourceComponentDefinitionExtended extends LastWrit
|
|
|
182
182
|
/**
|
|
183
183
|
* @public
|
|
184
184
|
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
185
|
+
* Play the sound `src` on the given entity. Creates the AudioSource component
|
|
186
|
+
* if it does not yet exist. Always emits a CRDT PUT, so repeated calls with
|
|
187
|
+
* identical parameters reliably retrigger playback.
|
|
188
|
+
* @param entity - target entity (AudioSource will be created if missing)
|
|
187
189
|
* @param src - the path to the sound to play
|
|
188
190
|
* @param resetCursor - the sound starts at 0 or continues from the current cursor position
|
|
189
|
-
* @returns true
|
|
191
|
+
* @returns always true; retained for backwards compatibility
|
|
190
192
|
*/
|
|
191
193
|
playSound(entity: Entity, src: string, resetCursor?: boolean): boolean;
|
|
192
194
|
/**
|