Repository navigation
API Variable str
github-actions[bot] edited this page Nov 24, 2026
·
1 revision
const str: StringType;Defined in: src/engine/net/messages.ts:35
A string field, for RPCs (ADR 0068): sent as UTF-8 with a length prefix, at most 255 bytes.
Not allowed in data components (defineComponent throws) or inputs.
export const Chat = defineRpc("game.Chat", { team: u8, text: str });This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference