# SocialService(ロブロックス クラス) > Facilitates social functions that impact relationships made on the Roblox platform. - URL:https://roblox.minecraft-okinawa.com/reference/classes/SocialService/ - 公式:https://create.roblox.com/docs/reference/engine/classes/SocialService - 受け継いでいるクラス:Instance ## メソッド - `SocialService:CanSendCallInviteAsync(player: Instance): boolean`:Indicates whether the given Player can invite other players to a call. - `SocialService:CanSendGameInviteAsync(player: Instance, recipientId: User): boolean`:Indicates whether the given Player can invite other players. - `SocialService:GetEventRsvpStatusAsync(eventId: string): RsvpStatus`:Returns the local player's RSVP status for the given event. - `SocialService:GetExperienceEventAsync(eventId: string): ExperienceEvent?`:Returns details for the specified experience event or nil if it is unavailable. - `SocialService:GetPartyAsync(partyId: string): Array`:Returns an array of dictionaries containing data for all members of the specified party who are currently in the experience. - `SocialService:GetPlayersByPartyId(partyId: string): List`:Returns a table of all presently connected Player objects whose Player.PartyId property matches the passed partyId. - `SocialService:GetUpcomingExperienceEventsAsync(): List`:Returns active and upcoming experience events for the current experience. - `SocialService:HideSelfView(): ()`:Hides the calling player's self view. - `SocialService:PromptFeedbackSubmissionAsync(options: Dictionary?): ()`:Prompts the player to submit feedback or a player support ticket about the current experience. - `SocialService:PromptGameInvite(player: Instance, experienceInviteOptions: Instance): ()`:Prompts the given Player with the invite screen. - `SocialService:PromptLinkSharingAsync(player: Player, options: Dictionary): Tuple`:Generates an expiring share link and prompts the given Player with the platform share sheet. - `SocialService:PromptPhoneBook(player: Instance, tag: string): ()`:Prompts the given Player with the phone book. - `SocialService:PromptRsvpToEventAsync(eventId: string): RsvpStatus`:Prompts the local Player with a prompt to change their RSVP status to the given event. - `SocialService:ShowSelfView(selfViewPosition: SelfViewPosition): ()`:Shows the calling player's self view. ## イベント - `SocialService.CallInviteStateChanged(player: Instance, inviteState: InviteState)`:Fires when a player's call invite state changes. - `SocialService.GameInvitePromptClosed(player: Instance, recipientIds: Array)`:Fires when a player closes an invite prompt. - `SocialService.PhoneBookPromptClosed(player: Instance)`:Fires when a player closes the phone book prompt. - `SocialService.ShareSheetClosed(player: Player)`:Fires when the player closes the share sheet opened by Class.SocialService:PromptLinkSharingAsync()|PromptLinkSharingAsync(). ## コールバック - `SocialService:OnCallInviteInvoked(tag: string, callParticipantIds: Array): Instance`:Callback for when a call is placed from the phone book. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)