SocialServiceクラス
ひとことで言うと
SocialServiceは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Facilitates social functions that impact relationships made on the Roblox platform.
クラスの関係
メソッド(14)
| 名前と書き方 | 説明 |
|---|---|
CanSendCallInviteAsyncSocialService:CanSendCallInviteAsync(player: Instance): boolean | Indicates whether the given Player can invite other players to a call. |
CanSendGameInviteAsyncSocialService:CanSendGameInviteAsync(player: Instance, recipientId: User): boolean | Indicates whether the given Player can invite other players. |
GetEventRsvpStatusAsyncSocialService:GetEventRsvpStatusAsync(eventId: string): RsvpStatus | Returns the local player's RSVP status for the given event. |
GetExperienceEventAsyncSocialService:GetExperienceEventAsync(eventId: string): ExperienceEvent? | Returns details for the specified experience event or nil if it is unavailable. |
GetPartyAsyncSocialService:GetPartyAsync(partyId: string): Array | Returns an array of dictionaries containing data for all members of the specified party who are currently in the experience. |
GetPlayersByPartyIdSocialService:GetPlayersByPartyId(partyId: string): List<Player> | Returns a table of all presently connected Player objects whose Player.PartyId property matches the passed partyId. |
GetUpcomingExperienceEventsAsyncSocialService:GetUpcomingExperienceEventsAsync(): List<ExperienceEvent> | Returns active and upcoming experience events for the current experience. |
HideSelfViewSocialService:HideSelfView(): () | Hides the calling player's self view. |
PromptFeedbackSubmissionAsyncSocialService:PromptFeedbackSubmissionAsync(options: Dictionary?): () | Prompts the player to submit feedback or a player support ticket about the current experience. |
PromptGameInviteSocialService:PromptGameInvite(player: Instance, experienceInviteOptions: Instance): () | Prompts the given Player with the invite screen. |
PromptLinkSharingAsyncSocialService:PromptLinkSharingAsync(player: Player, options: Dictionary): Tuple | Generates an expiring share link and prompts the given Player with the platform share sheet. |
PromptPhoneBookSocialService:PromptPhoneBook(player: Instance, tag: string): () | Prompts the given Player with the phone book. |
PromptRsvpToEventAsyncSocialService:PromptRsvpToEventAsync(eventId: string): RsvpStatus | Prompts the local Player with a prompt to change their RSVP status to the given event. |
ShowSelfViewSocialService:ShowSelfView(selfViewPosition: SelfViewPosition): () | Shows the calling player's self view. |
イベント(4)
| 名前と書き方 | 説明 |
|---|---|
CallInviteStateChangedSocialService.CallInviteStateChanged(player: Instance, inviteState: InviteState) | Fires when a player's call invite state changes. |
GameInvitePromptClosedSocialService.GameInvitePromptClosed(player: Instance, recipientIds: Array) | Fires when a player closes an invite prompt. |
PhoneBookPromptClosedSocialService.PhoneBookPromptClosed(player: Instance) | Fires when a player closes the phone book prompt. |
ShareSheetClosedSocialService.ShareSheetClosed(player: Player) | Fires when the player closes the share sheet opened by Class.SocialService:PromptLinkSharingAsync()|PromptLinkSharingAsync(). |
コールバック(1)
| 名前と書き方 | 説明 |
|---|---|
OnCallInviteInvokedSocialService:OnCallInviteInvoked(tag: string, callParticipantIds: Array): Instance | Callback for when a call is placed from the phone book. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(SocialService)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。