Skip to content

Interface: SsSignalParam ​

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:256

One id → value pair on a signal.

Flat rather than a union, because a Nitro struct has no union to be. Unlike SsUserDataEvent, though, this needs no has* flags: a parameter carries exactly one value and type says which field holds it, so the others are simply unread rather than ambiguous. index and integer share intValue for the same reason — they are one wire type (IntValueEntry) authored two ways, and type is what tells them apart.

Properties ​

boolValue ​

boolValue: boolean

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:261


floatValue ​

floatValue: number

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:264


id ​

id: string

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:258

The authored parameter name.


intValue ​

intValue: number

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:263

Holds both index and integer.


textValue ​

textValue: string

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:265


type ​

type: number

Defined in: packages/react-native-spritestudio/src/specs/SsRuntime.nitro.ts:260

SsSignalParamType.