Skip to content

Commit 11c86d4

Browse files
committed
Update generated files after rebase onto master
1 parent ac1be27 commit 11c86d4

File tree

122 files changed

+1424
-1807
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+1424
-1807
lines changed

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AnimatedTexture.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,14 @@ public open class AnimatedTexture : Texture2D() {
187187
/**
188188
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
189189
*/
190-
public override fun _getWidth(): Int {
190+
override fun _getWidth(): Int {
191191
throw NotImplementedError("AnimatedTexture::_getWidth can't be called from the JVM.")
192192
}
193193

194194
/**
195195
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
196196
*/
197-
public override fun _getHeight(): Int {
197+
override fun _getHeight(): Int {
198198
throw NotImplementedError("AnimatedTexture::_getHeight can't be called from the JVM.")
199199
}
200200

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AnimationNodeExtension.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ import godot.core.VariantParser.PACKED_FLOAT_32_ARRAY
1515
import kotlin.Boolean
1616
import kotlin.Double
1717
import kotlin.Int
18-
import kotlin.NotImplementedError
1918
import kotlin.Suppress
2019
import kotlin.jvm.JvmStatic
2120

2221
/**
2322
* [AnimationNodeExtension] exposes the APIs of [AnimationRootNode] to allow users to extend it from GDScript, C#, or C++. This class is not meant to be used directly, but to be extended by other classes. It is used to create custom nodes for the [AnimationTree] system.
2423
*/
2524
@GodotBaseType
26-
public open class AnimationNodeExtension : AnimationNode() {
25+
public abstract class AnimationNodeExtension : AnimationNode() {
2726
override fun new(scriptIndex: Int) {
2827
createNativeObject(24, scriptIndex)
2928
}
@@ -35,9 +34,7 @@ public open class AnimationNodeExtension : AnimationNode() {
3534
*
3635
* The function must return a [PackedFloat32Array] of the node's time info, containing the following values (in order): animation length, time position, delta, [Animation.LoopMode] (encoded as a float), whether the animation is about to end (encoded as a float greater than `0`) and whether the animation is infinite (encoded as a float greater than `0`). All values must be included in the returned array.
3736
*/
38-
public open fun _processAnimationNode(playbackInfo: PackedFloat64Array, testOnly: Boolean): PackedFloat32Array {
39-
throw NotImplementedError("_processAnimationNode is not implemented for AnimationNodeExtension")
40-
}
37+
public abstract fun _processAnimationNode(playbackInfo: PackedFloat64Array, testOnly: Boolean): PackedFloat32Array
4138

4239
public companion object {
4340
/**

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/ArrayMesh.kt

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import kotlin.Any
3030
import kotlin.Float
3131
import kotlin.Int
3232
import kotlin.Long
33+
import kotlin.NotImplementedError
3334
import kotlin.String
3435
import kotlin.Suppress
3536
import kotlin.Unit
@@ -378,6 +379,104 @@ public open class ArrayMesh : Mesh() {
378379
return (TransferContext.readReturnValue(OBJECT) as ArrayMesh?)
379380
}
380381

382+
/**
383+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
384+
*/
385+
override fun _getSurfaceCount(): Int {
386+
throw NotImplementedError("ArrayMesh::_getSurfaceCount can't be called from the JVM.")
387+
}
388+
389+
/**
390+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
391+
*/
392+
override fun _surfaceGetArrayLen(index: Int): Int {
393+
throw NotImplementedError("ArrayMesh::_surfaceGetArrayLen can't be called from the JVM.")
394+
}
395+
396+
/**
397+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
398+
*/
399+
override fun _surfaceGetArrayIndexLen(index: Int): Int {
400+
throw NotImplementedError("ArrayMesh::_surfaceGetArrayIndexLen can't be called from the JVM.")
401+
}
402+
403+
/**
404+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
405+
*/
406+
override fun _surfaceGetArrays(index: Int): VariantArray<Any?> {
407+
throw NotImplementedError("ArrayMesh::_surfaceGetArrays can't be called from the JVM.")
408+
}
409+
410+
/**
411+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
412+
*/
413+
override fun _surfaceGetBlendShapeArrays(index: Int): VariantArray<VariantArray<Any?>> {
414+
throw NotImplementedError("ArrayMesh::_surfaceGetBlendShapeArrays can't be called from the JVM.")
415+
}
416+
417+
/**
418+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
419+
*/
420+
override fun _surfaceGetLods(index: Int): Dictionary<Any?, Any?> {
421+
throw NotImplementedError("ArrayMesh::_surfaceGetLods can't be called from the JVM.")
422+
}
423+
424+
/**
425+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
426+
*/
427+
override fun _surfaceGetFormat(index: Int): Long {
428+
throw NotImplementedError("ArrayMesh::_surfaceGetFormat can't be called from the JVM.")
429+
}
430+
431+
/**
432+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
433+
*/
434+
override fun _surfaceGetPrimitiveType(index: Int): Long {
435+
throw NotImplementedError("ArrayMesh::_surfaceGetPrimitiveType can't be called from the JVM.")
436+
}
437+
438+
/**
439+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
440+
*/
441+
override fun _surfaceSetMaterial(index: Int, material: Material?) {
442+
throw NotImplementedError("ArrayMesh::_surfaceSetMaterial can't be called from the JVM.")
443+
}
444+
445+
/**
446+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
447+
*/
448+
override fun _surfaceGetMaterial(index: Int): Material? {
449+
throw NotImplementedError("ArrayMesh::_surfaceGetMaterial can't be called from the JVM.")
450+
}
451+
452+
/**
453+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
454+
*/
455+
override fun _getBlendShapeCount(): Int {
456+
throw NotImplementedError("ArrayMesh::_getBlendShapeCount can't be called from the JVM.")
457+
}
458+
459+
/**
460+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
461+
*/
462+
override fun _getBlendShapeName(index: Int): StringName {
463+
throw NotImplementedError("ArrayMesh::_getBlendShapeName can't be called from the JVM.")
464+
}
465+
466+
/**
467+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
468+
*/
469+
override fun _setBlendShapeName(index: Int, name: StringName) {
470+
throw NotImplementedError("ArrayMesh::_setBlendShapeName can't be called from the JVM.")
471+
}
472+
473+
/**
474+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
475+
*/
476+
override fun _getAabb(): CoreAABB {
477+
throw NotImplementedError("ArrayMesh::_getAabb can't be called from the JVM.")
478+
}
479+
381480
/**
382481
* Adds name for a blend shape that will be added with [addSurfaceFromArrays]. Must be called before surface is added.
383482
*/

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AtlasTexture.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,14 @@ public open class AtlasTexture : Texture2D() {
173173
/**
174174
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
175175
*/
176-
public override fun _getWidth(): Int {
176+
override fun _getWidth(): Int {
177177
throw NotImplementedError("AtlasTexture::_getWidth can't be called from the JVM.")
178178
}
179179

180180
/**
181181
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
182182
*/
183-
public override fun _getHeight(): Int {
183+
override fun _getHeight(): Int {
184184
throw NotImplementedError("AtlasTexture::_getHeight can't be called from the JVM.")
185185
}
186186

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffect.kt

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package godot.api
55

66
import godot.`annotation`.GodotBaseType
77
import kotlin.Int
8-
import kotlin.NotImplementedError
98
import kotlin.Suppress
109

1110
/**
@@ -14,7 +13,7 @@ import kotlin.Suppress
1413
* When applied on a bus, an audio effect creates a corresponding [AudioEffectInstance]. The instance is directly responsible for manipulating the sound, based on the original audio effect's properties.
1514
*/
1615
@GodotBaseType
17-
public open class AudioEffect : Resource() {
16+
public abstract class AudioEffect : Resource() {
1817
override fun new(scriptIndex: Int) {
1918
createNativeObject(45, scriptIndex)
2019
}
@@ -36,9 +35,7 @@ public open class AudioEffect : Resource() {
3635
*
3736
* **Note:** It is recommended to keep a reference to the original [AudioEffect] in the new instance. Depending on the implementation this allows the effect instance to listen for changes at run-time and be modified accordingly.
3837
*/
39-
public open fun _instantiate(): AudioEffectInstance? {
40-
throw NotImplementedError("_instantiate is not implemented for AudioEffect")
41-
}
38+
public abstract fun _instantiate(): AudioEffectInstance?
4239

4340
public companion object
4441

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffectAmplify.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public open class AudioEffectAmplify : AudioEffect() {
7474
/**
7575
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
7676
*/
77-
public override fun _instantiate(): AudioEffectInstance? {
77+
override fun _instantiate(): AudioEffectInstance? {
7878
throw NotImplementedError("AudioEffectAmplify::_instantiate can't be called from the JVM.")
7979
}
8080

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffectCapture.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public open class AudioEffectCapture : AudioEffect() {
128128
/**
129129
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
130130
*/
131-
public override fun _instantiate(): AudioEffectInstance? {
131+
override fun _instantiate(): AudioEffectInstance? {
132132
throw NotImplementedError("AudioEffectCapture::_instantiate can't be called from the JVM.")
133133
}
134134

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffectChorus.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public open class AudioEffectChorus : AudioEffect() {
162162
/**
163163
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
164164
*/
165-
public override fun _instantiate(): AudioEffectInstance? {
165+
override fun _instantiate(): AudioEffectInstance? {
166166
throw NotImplementedError("AudioEffectChorus::_instantiate can't be called from the JVM.")
167167
}
168168

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffectCompressor.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import godot.core.asCachedStringName
1515
import kotlin.Double
1616
import kotlin.Float
1717
import kotlin.Int
18+
import kotlin.NotImplementedError
1819
import kotlin.String
1920
import kotlin.Suppress
2021
import kotlin.Unit
@@ -193,6 +194,13 @@ public open class AudioEffectCompressor : AudioEffect() {
193194
return (TransferContext.readReturnValue(STRING_NAME) as StringName)
194195
}
195196

197+
/**
198+
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
199+
*/
200+
override fun _instantiate(): AudioEffectInstance? {
201+
throw NotImplementedError("AudioEffectCompressor::_instantiate can't be called from the JVM.")
202+
}
203+
196204
public final fun setSidechain(sidechain: String): Unit = setSidechain(sidechain.asCachedStringName())
197205

198206
public companion object

kt/godot-library/godot-api-library/src/main/kotlin/godot/api/AudioEffectDelay.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ public open class AudioEffectDelay : AudioEffect() {
316316
/**
317317
* Virtual method inherited from base class implemented in non-JVM code. Don't call it.
318318
*/
319-
public override fun _instantiate(): AudioEffectInstance? {
319+
override fun _instantiate(): AudioEffectInstance? {
320320
throw NotImplementedError("AudioEffectDelay::_instantiate can't be called from the JVM.")
321321
}
322322

0 commit comments

Comments
 (0)