import "common_base.proto"; message CFamilyGroups_CancelFamilyGroupInvite_Request { optional uint64 family_groupid = 1; optional fixed64 steamid_to_cancel = 2; } message CFamilyGroups_CancelFamilyGroupInvite_Response { } message CFamilyGroups_ConfirmInviteToFamilyGroup_Request { optional uint64 family_groupid = 1; optional uint64 invite_id = 2; optional uint64 nonce = 3; } message CFamilyGroups_ConfirmInviteToFamilyGroup_Response { } message CFamilyGroups_ConfirmJoinFamilyGroup_Request { optional uint64 family_groupid = 1; optional uint64 invite_id = 2; optional uint64 nonce = 3; } message CFamilyGroups_ConfirmJoinFamilyGroup_Response { } message CFamilyGroups_CreateFamilyGroup_Request { optional string name = 1; optional fixed64 steamid = 2; } message CFamilyGroups_CreateFamilyGroup_Response { optional uint64 family_groupid = 1; } message CFamilyGroups_DeleteFamilyGroup_Request { optional uint64 family_groupid = 1; } message CFamilyGroups_DeleteFamilyGroup_Response { } message CFamilyGroups_GetChangeLog_Request { optional uint64 family_groupid = 1; } message CFamilyGroups_GetChangeLog_Response { repeated .CFamilyGroups_GetChangeLog_Response_Change changes = 1; } message CFamilyGroups_GetChangeLog_Response_Change { optional fixed64 timestamp = 1; optional fixed64 actor_steamid = 2; optional int32 type = 3 [(.description) = "enum"]; optional string body = 4; optional bool by_support = 5; } message CFamilyGroups_GetFamilyGroup_Request { optional uint64 family_groupid = 1; } message CFamilyGroups_GetFamilyGroup_Response { optional string name = 1; repeated .FamilyGroupMember members = 2; repeated .FamilyGroupPendingInvite pending_invites = 3; optional uint32 free_spots = 4; optional string country = 5; optional uint32 slot_cooldown_remaining_seconds = 6; repeated .FamilyGroupFormerMember former_members = 7; optional uint32 slot_cooldown_overrides = 8; } message CFamilyGroups_GetFamilyGroupForUser_Request { optional uint64 steamid = 1; } message CFamilyGroups_GetFamilyGroupForUser_Response { optional uint64 family_groupid = 1; optional bool is_not_member_of_any_group = 2; optional uint32 latest_time_joined = 3; optional uint64 latest_joined_family_groupid = 4; repeated .FamilyGroupPendingInviteForUser pending_group_invites = 5; optional uint32 role = 6; optional uint32 cooldown_seconds_remaining = 7; } message CFamilyGroups_GetPlaytimeSummary_Request { optional fixed64 family_groupid = 1; } message CFamilyGroups_GetPlaytimeSummary_Response { repeated .CFamilyGroups_PlaytimeEntry entries = 1; } message CFamilyGroups_GetPurchaseRequests_Request { optional uint64 family_groupid = 1; optional bool include_completed = 2; } message CFamilyGroups_GetPurchaseRequests_Response { repeated .PurchaseRequest requests = 1; } message CFamilyGroups_GetSharedLibraryApps_Request { optional fixed64 family_groupid = 1; optional bool include_own = 2; optional bool include_excluded = 3; optional bool include_free = 4; optional string language = 5; optional uint32 max_apps = 6; } message CFamilyGroups_GetSharedLibraryApps_Response { repeated .CFamilyGroups_GetSharedLibraryApps_Response_SharedApp apps = 1; } message CFamilyGroups_GetSharedLibraryApps_Response_SharedApp { optional uint32 appid = 1; repeated fixed64 owner_steamids = 2; optional bool free_app = 5; optional string name = 6; optional string sort_as = 7; optional string capsule_filename = 8; optional string img_icon_url = 9; optional int32 exclude_reason = 10 [default = 0, (.description) = "enum"]; optional uint32 rt_time_acquired = 11; } message CFamilyGroups_GetUsersSharingDevice_Request { optional uint64 family_groupid = 1; optional uint64 client_instance_id = 2; } message CFamilyGroups_GetUsersSharingDevice_Response { repeated fixed64 users = 1; } message CFamilyGroups_InviteToFamilyGroup_Request { optional uint64 family_groupid = 1; optional fixed64 receiver_steamid = 2; optional int32 receiver_role = 3 [(.description) = "enum"]; } message CFamilyGroups_InviteToFamilyGroup_Response { } message CFamilyGroups_JoinFamilyGroup_Request { optional uint64 family_groupid = 1; } message CFamilyGroups_JoinFamilyGroup_Response { } message CFamilyGroups_ModifyFamilyGroupDetails_Request { optional uint64 family_groupid = 1; optional string name = 2; } message CFamilyGroups_ModifyFamilyGroupDetails_Response { } message CFamilyGroups_PlaytimeEntry { optional fixed64 steamid = 1; optional uint32 appid = 2; optional uint32 first_played = 3; optional uint32 latest_played = 4; optional uint32 seconds_played = 5; } message CFamilyGroups_RemoveFromFamilyGroup_Request { optional uint64 family_groupid = 1; optional fixed64 steamid_to_remove = 2; } message CFamilyGroups_RemoveFromFamilyGroup_Response { } message CFamilyGroups_RequestPurchase_Request { optional uint64 family_groupid = 1; optional uint64 gidshoppingcart = 2; optional string store_country_code = 3; optional bool use_account_cart = 4; } message CFamilyGroups_RequestPurchase_Response { optional uint64 gidshoppingcart = 1; optional uint64 request_id = 2; } message CFamilyGroups_RespondToRequestedPurchase_Request { optional uint64 family_groupid = 1; optional fixed64 purchase_requester_steamid = 2; optional int32 action = 3 [(.description) = "enum"]; optional uint64 request_id = 4; } message CFamilyGroups_RespondToRequestedPurchase_Response { } message CFamilyGroups_SetFamilyCooldownOverrides_Request { optional uint64 family_groupid = 1; optional uint32 cooldown_count = 2; } message CFamilyGroups_SetFamilyCooldownOverrides_Response { } message CFamilyGroupsClient_GroupChanged_Notification { optional uint64 family_groupid = 1; } message CFamilyGroupsClient_GroupStatus_Notification { optional uint64 family_groupid = 1; repeated .CFamilyGroupsClient_GroupStatus_Notification_RunningApp running_apps = 2; } message CFamilyGroupsClient_GroupStatus_Notification_PlayingMember { optional fixed64 member_steamid = 1; optional fixed64 owner_steamid = 2; } message CFamilyGroupsClient_GroupStatus_Notification_RunningApp { optional uint32 appid = 1; optional bool is_locked = 2; repeated .CFamilyGroupsClient_GroupStatus_Notification_PlayingMember playing_members = 3; } message CFamilyGroupsClient_InviteStatus_Notification { } message FamilyGroupFormerMember { optional fixed64 steamid = 1; } message FamilyGroupMember { optional fixed64 steamid = 1; optional int32 role = 2 [(.description) = "enum"]; optional uint32 time_joined = 3; } message FamilyGroupPendingInvite { optional fixed64 steamid = 1; optional int32 role = 2 [(.description) = "enum"]; } message FamilyGroupPendingInviteForUser { optional uint64 family_groupid = 1; optional int32 role = 2 [(.description) = "enum"]; optional fixed64 inviter_steamid = 3; } message PurchaseRequest { optional fixed64 requester_steamid = 1; optional uint64 gidshoppingcart = 2; optional uint32 time_requested = 3; optional uint32 time_responded = 4; optional fixed64 responder_steamid = 5; optional int32 response_action = 6 [(.description) = "enum"]; optional bool is_completed = 7; optional uint64 request_id = 8; } service FamilyGroups { rpc CancelFamilyGroupInvite (.CFamilyGroups_CancelFamilyGroupInvite_Request) returns (.CFamilyGroups_CancelFamilyGroupInvite_Response); rpc ConfirmInviteToFamilyGroup (.CFamilyGroups_ConfirmInviteToFamilyGroup_Request) returns (.CFamilyGroups_ConfirmInviteToFamilyGroup_Response); rpc ConfirmJoinFamilyGroup (.CFamilyGroups_ConfirmJoinFamilyGroup_Request) returns (.CFamilyGroups_ConfirmJoinFamilyGroup_Response); rpc CreateFamilyGroup (.CFamilyGroups_CreateFamilyGroup_Request) returns (.CFamilyGroups_CreateFamilyGroup_Response); rpc DeleteFamilyGroup (.CFamilyGroups_DeleteFamilyGroup_Request) returns (.CFamilyGroups_DeleteFamilyGroup_Response); rpc GetChangeLog (.CFamilyGroups_GetChangeLog_Request) returns (.CFamilyGroups_GetChangeLog_Response); rpc GetFamilyGroup (.CFamilyGroups_GetFamilyGroup_Request) returns (.CFamilyGroups_GetFamilyGroup_Response); rpc GetFamilyGroupForUser (.CFamilyGroups_GetFamilyGroupForUser_Request) returns (.CFamilyGroups_GetFamilyGroupForUser_Response); rpc GetPlaytimeSummary (.CFamilyGroups_GetPlaytimeSummary_Request) returns (.CFamilyGroups_GetPlaytimeSummary_Response); rpc GetPurchaseRequests (.CFamilyGroups_GetPurchaseRequests_Request) returns (.CFamilyGroups_GetPurchaseRequests_Response); rpc GetSharedLibraryApps (.CFamilyGroups_GetSharedLibraryApps_Request) returns (.CFamilyGroups_GetSharedLibraryApps_Response); rpc GetUsersSharingDevice (.CFamilyGroups_GetUsersSharingDevice_Request) returns (.CFamilyGroups_GetUsersSharingDevice_Response); rpc InviteToFamilyGroup (.CFamilyGroups_InviteToFamilyGroup_Request) returns (.CFamilyGroups_InviteToFamilyGroup_Response); rpc JoinFamilyGroup (.CFamilyGroups_JoinFamilyGroup_Request) returns (.CFamilyGroups_JoinFamilyGroup_Response); rpc ModifyFamilyGroupDetails (.CFamilyGroups_ModifyFamilyGroupDetails_Request) returns (.CFamilyGroups_ModifyFamilyGroupDetails_Response); rpc RemoveFromFamilyGroup (.CFamilyGroups_RemoveFromFamilyGroup_Request) returns (.CFamilyGroups_RemoveFromFamilyGroup_Response); rpc RequestPurchase (.CFamilyGroups_RequestPurchase_Request) returns (.CFamilyGroups_RequestPurchase_Response); rpc RespondToRequestedPurchase (.CFamilyGroups_RespondToRequestedPurchase_Request) returns (.CFamilyGroups_RespondToRequestedPurchase_Response); rpc SetFamilyCooldownOverrides (.CFamilyGroups_SetFamilyCooldownOverrides_Request) returns (.CFamilyGroups_SetFamilyCooldownOverrides_Response); } service FamilyGroupsClient { rpc NotifyGroupChanged (.CFamilyGroupsClient_GroupChanged_Notification) returns (.NoResponse); rpc NotifyGroupStatus (.CFamilyGroupsClient_GroupStatus_Notification) returns (.NoResponse); rpc NotifyInviteStatus (.CFamilyGroupsClient_InviteStatus_Notification) returns (.NoResponse); }