👔ItemID
Declaration
// ⭐️ defined in Item.swift
public typealias ItemID = Int
public protocol Identifiable {
    /// A unique identifier that is used to describe items when
    /// sending and receiving commands.
    var id: ItemID { get }
}// internal enum (used as a namespace)
enum Identifier {
    static let undefined = -1
    static let world = 0
}↘️ inherited by:🅿️ Item
Instance Property
屬性
型別
說明
id
ItemID
Last updated
Was this helpful?