Options
Menu

Object literal EntityItemID

Abstract ID for editing model items. Used in EntityItem JS API - When models are created in the JS api, they are given a local creatorTokenID, the actual id for the model is not known until the server responds to the creator with the correct mapping. This class works with the scripting API an allows the developer to edit models they created.

checked against /libraries/entities/src/EntityItemID.{cpp,h} September 18th, 2014

Index

Construct signatures

constructor

  • Returns IEntityItemID

  • Parameters

    Returns IEntityItemID

  • Parameters

    • id: number

      QUuid

    • creatorTokenID: number

      uint32_t

    • isKnownID: boolean

    Returns IEntityItemID

  • Parameters

    • id: number

      QUuid

    Returns IEntityItemID

Properties

prototype

prototype: IEntityItemID

Methods

getIDfromCreatorTokenID

  • not sure if this is mapped in the JS API these methods allow you to create models, and later edit them.

    Parameters

    • creatorTokenID: number

      uint32_t

    Returns IEntityItemID

getNextCreatorTokenID

  • getNextCreatorTokenID(): number
  • not sure if this is mapped in the JS API these methods allow you to create models, and later edit them.

    Returns number

    uint32_t

handleAddEntityResponse

  • handleAddEntityResponse(packet: any)
  • not sure if this is mapped in the JS API these methods allow you to create models, and later edit them.

    Parameters

    • packet: any

      QByteArray

readEntityItemIDFromBuffer

  • readEntityItemIDFromBuffer(data: string, bytesLeftToRead: number): IEntityItemID
  • not sure if this is mapped in the JS API these methods allow you to create models, and later edit them.

    Parameters

    • data: string

      unsigned char*

    • bytesLeftToRead: number

      int

    Returns IEntityItemID

Generated using TypeDoc