Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PeerData

The complete user data of a peer

Hierarchy

  • PeerData

Index

Properties

Optional clothes

clothes: PeerClothes

Clothing of a player

Optional connectID

connectID: number

The connectID of a user

Optional country

country: string

The country of the player

Optional currentWorld

currentWorld: string

Current world of a player

Optional displayName

displayName: string

The name to display for the user

Optional email

email: string

Email address of a peer

Optional hasMovedInWorld

hasMovedInWorld: boolean

Whether or not each player has moved

Optional inventory

inventory: PeerInventory

Inventory data of each peer

Optional isGuest

isGuest: boolean

Whehter or not a player is a guest

Optional online

online: boolean

Whether or not a peer is online. (Must be manually set.)

Optional password

password: string

The password of a user

Optional skinColor

skinColor: number

Skin color of a player

Optional stringID

stringID: string

A unique id for each account (optional, not used in server code)

Optional uid

uid: string

A unique identifier for a peer, it would just be the username for non-guest accounts and rid for guest.

Optional userID

userID: number

The user id of the user, not to be mixed with uid.

Optional x

x: number

Position of a player on the x-axis

Optional y

y: number

Position of a player on the y-axis

Generated using TypeDoc