Cluster Creator Kit Script Reference
    Preparing search index...

    Class PlayerIdPlayer

    A reference to a player that can be handled from PlayerScript. PlayerHandle is converted to PlayerId when receiving messages sent by PlayerHandle.send.

    Index

    Properties

    Properties

    id: string

    A string representation of an ID that uniquely represents a player in the space. PlayerId with equal id points to the same player. This value is different for each entry, even for the same user. The same as the value of PlayerHandle.id.

    type: "player"

    Returns string "player". This value can be used to distinguish ItemId and PlayerId.