mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
57 lines
1.7 KiB
YAML
57 lines
1.7 KiB
YAML
# This file is automatically generated. Please don't edit it manually.
|
|
# To submit a bug report on the content, see
|
|
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
|
|
|
name: CloseReason
|
|
type: enum
|
|
summary: |
|
|
Specifies the reason for the experience server shutdown.
|
|
description: |
|
|
Specifies the reason for the experience server shutdown. This enum value is
|
|
the first parameter passed to functions bound by
|
|
`Class.DataModel:BindToClose()|BindToClose()`.
|
|
|
|
The **DeveloperShutdown** value must always be passed to functions bound by
|
|
`Class.DataModel:BindToClose()|BindToClose()` when they're called in Studio.
|
|
code_samples: []
|
|
tags: []
|
|
deprecation_message: ''
|
|
items:
|
|
- name: Unknown
|
|
summary: |
|
|
The server shut down for an unknown reason.
|
|
value: 0
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: RobloxMaintenance
|
|
summary: |
|
|
The server shut down for maintenance.
|
|
value: 1
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: DeveloperShutdown
|
|
summary: |
|
|
The experience developer has shut down the server, or functions bound by
|
|
`Class.DataModel:BindToClose()|BindToClose()` have been called inside
|
|
Studio.
|
|
value: 2
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: DeveloperUpdate
|
|
summary: |
|
|
The experience developer has migrated the server to a new place version.
|
|
value: 3
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: ServerEmpty
|
|
summary: |
|
|
The last player has left and the experience is empty.
|
|
value: 4
|
|
tags: []
|
|
deprecation_message: ''
|
|
- name: OutOfMemory
|
|
summary: |
|
|
The experience has hit the memory limit for the game server.
|
|
value: 5
|
|
tags: []
|
|
deprecation_message: ''
|