Skip to content

@pumpkin-plugins/apple-skin-pumpkin API / sync / SyncUpdate

Interface: SyncUpdate ​

Defined in: packages/apple-skin-pumpkin/src/sync.ts:15

What to send one player now. A field is missing when that value has not moved enough to send.

Properties ​

exhaustion? ​

optional exhaustion?: number

Defined in: packages/apple-skin-pumpkin/src/sync.ts:19

The player's exhaustion level, when it moved by at least EXHAUSTION_THRESHOLD.


saturation? ​

optional saturation?: number

Defined in: packages/apple-skin-pumpkin/src/sync.ts:17

The player's saturation level, when it moved since the last packet.

Pumpkin Plugins documentation