UserServiceItemBank
@objc public class UserServiceItemBank: NSObject, IUserServiceItem, Gloss.Decodable
A Bank item type.
Seealso
IUserServiceItem
-
Declaration
Swift
public private(set) var title: String = "" -
Declaration
Swift
public private(set) var initValue: Int64 = 0 -
Declaration
Swift
public private(set) var gameConfig: [String: Any] = [:] -
The current value of the item.
Declaration
Swift
public var value: Int64 = 0 -
Constructor with an init value.
Declaration
Swift
public init(value: Int64)Parameters
valueThe value to set the item to.
-
Constructor, copy properties from the provided bank item.
Declaration
Swift
public init(data: UserServiceItemBank, initialize: Bool = false)Parameters
dataThe
UserServiceItemBankto 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
UserServiceItemBank Class Reference