addonscript-spec/docs/schema/flags.md
Timo Ley a9dfcb7575
All checks were successful
continuous-integration/drone/pr Build is passing
Flags overhaul
2022-09-03 21:23:53 +02:00

24 lines
No EOL
549 B
Markdown

# Flags object
```json
{
"client": ["optional"],
"server": ["required"],
"both": ["included"]
}
```
## Optional properties
### client
This is an array of [flags](../concepts/flags.md) which only apply on the client side.
### server
This is an array of [flags](../concepts/flags.md) which only apply on the server side.
### both
This is an array of [flags](../concepts/flags.md) which apply on both sides. AddonScript will
treat each flag in this array as if it was in the [client array](#client) and the [server array](#server).