Skip to main content
Version: 5.11.6

OnServerStatusChanged

public OnServerStatusChangeNotification OnServerStatusChanged

Parameter

ValueTypeDescription
serverStatusTypeServerStatusType{Online, Offline, Maintenance}

Description

This handler is called when the server status was changed in BACKND Console's Server Settings > Project.
You can check the changed status of the project.

Example

Backend.Notification.OnServerStatusChanged = (ServerStatusType serverStatusType) => {
Debug.Log(
$"[OnServerStatusChanged(server status changed)]\n" +
$"| ServerStatusType : {serverStatusType}\n"
);
};