Cartridge class

A Cartridge represents the GWC file

Properties

altitude double
The altitude of the start coordinate
final
author String
The Cartridge author
final
cartridgeDesc String
The Cartridge description
final
cartridgeGuid String
A unique Cartridge guid
final
cartridgeName String
The Cartridge name
final
company String
Creating company
final
completionCode String
Completion code (can be encrypted with lua)
final
hashCode int
The hash code for this object.
no setteroverride
latLng LatLng
The latitude/longitude of the start coordinate
final
luac Media?
get luac media or null if not available
no setter
mediaCount int
get the count of attached media
no setter
playerName String
Player name
final
recommendDevice String
Recommended device for the Cartridge
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smallIcon Media?
get small icon media or null if not available
no setter
splashScreen Media?
get splash screen media or null if not available
no setter
startLocationDesc String
The start coordination description
final
typeOfCartridge String
Type of the Cartridge
final
version String
The Cartridge version
final

Methods

getMedia(int objectId) Media?
get Media with objectId or null, if not available
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

create(BinaryReader reader) Cartridge?
Reading the GWC file and create a Cartridge or null in case of any parsing error.