import "enums.proto"; import "steammessages_base.proto"; import "webuimessages_base.proto"; option optimize_for = SPEED; option cc_generic_services = true; message CSteamOSManagerState { optional bool is_service_available = 1; optional string os_version = 2; optional bool is_mandatory_update_available = 3; optional .EStartupMovieVariant startup_movie_variant = 4 [default = k_EStartupMovieVariant_Invalid]; optional bool is_status_led_control_available = 5; } message CSteamOSManager_GetState_Request { } message CSteamOSManager_GetState_Response { optional .CSteamOSManagerState state = 1; } message CSteamOSManager_StateChanged_Notification { } message CSteamOSManager_IsTelemetryHelperAvailable_Request { optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid]; } message CSteamOSManager_IsTelemetryHelperAvailable_Response { optional bool available = 1; } message CSteamOSManager_OptOutOfSideloadedClient_Request { } message CSteamOSManager_OptOutOfSideloadedClient_Response { } message CSteamOSManager_ApplyMandatoryUpdate_Request { } message CSteamOSManager_ApplyMandatoryUpdate_Response { } message CSteamOSSLSPlugin { optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid]; optional bool is_available = 2; optional bool is_enabled = 3; } message CSteamOSSLSState { optional bool is_available = 1; optional bool is_enabled = 2; repeated .CSteamOSSLSPlugin plugins = 3; } message CSteamOSSLS_GetState_Request { } message CSteamOSSLS_GetState_Response { optional .CSteamOSSLSState state = 1; } message CSteamOSSLS_StateChanged_Notification { } message CSteamOSSLS_SetEnabled_Request { optional bool enabled = 1; } message CSteamOSSLS_SetEnabled_Response { } message CSteamOSSLS_SetPluginEnabled_Request { optional .ESLSHelper etype = 1 [default = k_ESLSHelper_Invalid]; optional bool enabled = 2; } message CSteamOSSLS_SetPluginEnabled_Response { } service SteamOSManager { option (webui_service_execution_site) = k_EClientExecutionSiteSteamUI; rpc GetState (.CSteamOSManager_GetState_Request) returns (.CSteamOSManager_GetState_Response); rpc NotifyStateChanged (.CSteamOSManager_StateChanged_Notification) returns (.WebUINoResponse); rpc OptOutOfSideloadedClient (.CSteamOSManager_OptOutOfSideloadedClient_Request) returns (.CSteamOSManager_OptOutOfSideloadedClient_Response); rpc ApplyMandatoryUpdate (.CSteamOSManager_ApplyMandatoryUpdate_Request) returns (.CSteamOSManager_ApplyMandatoryUpdate_Response); } service SteamOSSLS { option (webui_service_execution_site) = k_EClientExecutionSiteSteamUI; rpc GetState (.CSteamOSSLS_GetState_Request) returns (.CSteamOSSLS_GetState_Response); rpc NotifyStateChanged (.CSteamOSSLS_StateChanged_Notification) returns (.WebUINoResponse); rpc SetEnabled (.CSteamOSSLS_SetEnabled_Request) returns (.CSteamOSSLS_SetEnabled_Response); rpc SetPluginEnabled (.CSteamOSSLS_SetPluginEnabled_Request) returns (.CSteamOSSLS_SetPluginEnabled_Response); }