JoinContext & GameJoinContext types for type checking Player:GetJoinData()

export type GameJoinContext = {
	JoinSource : Enum.JoinSource,
	ItemType : Enum.AvatarItemType?,
	AssetId : string?,
	OutfitId : string?,
	AssetType : Enum.AssetType?
}
export type JoinContext = {
	SourceGameId : number?,
	SourcePlaceId : number?,
	ReferredByPlayerId : number,
	Members : {[number]: Player}?,
	TeleportData : any?,
	LaunchData : string,
	GameJoinContext : GameJoinContext
}
4 Likes

ummmm just read the documentation?? whats the point of this?
https://create.roblox.com/docs/reference/engine/classes/Player#GetJoinData

2 Likes