UserServiceItemStorage
@objc public class UserServiceItemStorage: NSObject, IUserServiceItem, Gloss.Decodable
A Storage item type.
See
IUserServiceItem
-
Declaration
Swift
public private(set) var title: String = "" -
Declaration
Swift
public private(set) var initValue: [String: Any] = [:] -
Declaration
Swift
public private(set) var gameConfig: [String: Any] = [:] -
The current value of the item.
Declaration
Swift
public var value: [String: Any] = [:] -
Constructor with an init value.
Declaration
Swift
public init(value: [String: Any])Parameters
valueThe value to set the item to.
-
Constructor, copy properties from the provided storage item.
Declaration
Swift
public init(data: UserServiceItemStorage, initialize: Bool = false)Parameters
dataThe
UserServiceItemStorageto copy from.initializeIf true will initialize to the init value.
-
Constructor, copy from JSON formated data. Does not initialize the value.
Declaration
Swift
required public init(json: JSON)Parameters
jsonJSONdata to copy from. -
Declaration
Swift
public func setToInitValue() -> Void -
Declaration
Swift
public func valueToString() -> String -
A textual description of the Item.
Declaration
Swift
public override var description: String
UserServiceItemStorage Class Reference