GamePassService
Summary
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory Category | Instances |
---|
Member index 1
Removed member index 1
History | Member | |
---|---|---|
311 | SetPlayerHasPassUrl(playerHasPassUrl: string): void |
History 8
- 484 Change Parameters of PlayerHasPass from (player: Instance, gamePassId: int64) to (player: Player, gamePassId: int64)
- 462 Change ThreadSafety of PlayerHasPass from to Unsafe
- 368 Change Tags of PlayerHasPass from [Yields] to [Yields, Deprecated]
- 322 Change Parameters of PlayerHasPass from (player: Instance, gamePassId: int) to (player: Instance, gamePassId: int64)
- 311 Remove SetPlayerHasPassUrl
- 72 Add SetPlayerHasPassUrl
- 72 Add PlayerHasPass
- 72 Add GamePassService
Members 1
PlayerHasPass
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.
This function yields. It will block the calling thread until completion.
Member Type | Function |
---|---|
Parameters | 2 |
Name | Type | Default |
---|---|---|
player | Player | |
gamePassId | int64 |
Returns | bool |
---|
History 5
- 484 Change Parameters of PlayerHasPass from (player: Instance, gamePassId: int64) to (player: Player, gamePassId: int64)
- 462 Change ThreadSafety of PlayerHasPass from to Unsafe
- 368 Change Tags of PlayerHasPass from [Yields] to [Yields, Deprecated]
- 322 Change Parameters of PlayerHasPass from (player: Instance, gamePassId: int) to (player: Instance, gamePassId: int64)
- 72 Add PlayerHasPass
Removed members 1
SetPlayerHasPassUrl
Member Type | Function |
---|---|
Security | LocalUserSecurity |
Parameters | 1 |
Name | Type | Default |
---|---|---|
playerHasPassUrl | string |
Returns | void |
---|
History 2
- 311 Remove SetPlayerHasPassUrl
- 72 Add SetPlayerHasPassUrl