Uses of Class
de.extio.spacecraft.shared.model.managers.StorageItemDescriptor
-
Packages that use StorageItemDescriptor Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.managers Managers implementing various game subsystemsde.extio.spacecraft.shared.model.client.event Builtin events of the event subsystem.de.extio.spacecraft.shared.model.client.settings The module settings mechanism is for controlling client modules.de.extio.spacecraft.shared.model.managers Data objects for various managers implementing game subsystems -
-
Uses of StorageItemDescriptor in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo with parameters of type StorageItemDescriptor Modifier and Type Method Description void
CheckPointUtil. create(StorageItemDescriptor descriptor, List<String> statePrefixes)
Trigger creating a save game on client side.boolean
CheckPointUtil. load(StorageItemDescriptor descriptor, StorageItemDescriptor descriptorDigest)
Load a save game on client side and send it to the server. -
Uses of StorageItemDescriptor in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers that return types with arguments of type StorageItemDescriptor Modifier and Type Method Description List<StorageItemDescriptor>
StorageManager. query(UUID uuidMatcher, String fileMatcher, String fileWildcardMatcher, String modNameMatcher, String path, boolean recursive)
Queries the storage for certain items.
All parameters are optional, multiple criteria are combined with AND
Example to search for a file precisely:Methods in de.extio.spacecraft.shared.managers with parameters of type StorageItemDescriptor Modifier and Type Method Description void
StorageManager. delete(StorageItemDescriptor item)
Deletes a storage item.byte[]
StorageManager. loadBytes(StorageItemDescriptor item)
Loads the raw bytes from a file<T> T
StorageManager. loadObject(StorageItemDescriptor item, boolean deserializeObjRefs, Class<T> clazz)
Loads an object from storageInputStream
StorageManager. loadStream(StorageItemDescriptor item)
Loads the file as stream.void
StorageManager. storeBytes(StorageItemDescriptor item, byte[] data)
Save raw bytes to a filevoid
StorageManager. storeObject(StorageItemDescriptor item, boolean serializeObjRefs, Object obj)
Save an object to a fileOutputStream
StorageManager. storeStream(StorageItemDescriptor item)
Save data file using a stream.void
StorageManager. updateItemDescriptor(StorageItemDescriptor item)
-
Uses of StorageItemDescriptor in de.extio.spacecraft.shared.model.client.event
Methods in de.extio.spacecraft.shared.model.client.event that return StorageItemDescriptor Modifier and Type Method Description StorageItemDescriptor
FileSelectionEvent. getStorageItemDescriptor()
StorageItemDescriptor
ShipSelectionEvent. getStorageItemDescriptor()
Constructors in de.extio.spacecraft.shared.model.client.event with parameters of type StorageItemDescriptor Constructor Description FileSelectionEvent(StorageItemDescriptor storageItemDescriptor, String path, FileSelectionModuleSettings.FileSelectionModuleMode fileSelectionModuleMode, FileSelectionModuleSettings.FileSelectionModuleBackend fileSelectionModuleBackend)
ShipSelectionEvent(StorageItemDescriptor storageItemDescriptor, ShipSelectionModuleSettings.ShipSelectionModuleMode shipSelectionModuleMode)
-
Uses of StorageItemDescriptor in de.extio.spacecraft.shared.model.client.settings
Methods in de.extio.spacecraft.shared.model.client.settings that return StorageItemDescriptor Modifier and Type Method Description StorageItemDescriptor
CheckpointModuleSettings. getSaveTo()
Methods in de.extio.spacecraft.shared.model.client.settings with parameters of type StorageItemDescriptor Modifier and Type Method Description void
CheckpointModuleSettings. setSaveTo(StorageItemDescriptor saveTo)
-
Uses of StorageItemDescriptor in de.extio.spacecraft.shared.model.managers
Methods in de.extio.spacecraft.shared.model.managers that return types with arguments of type StorageItemDescriptor Modifier and Type Method Description Map<String,List<StorageItemDescriptor>>
StorageIndex. getByPath()
List<StorageItemDescriptor>
StorageIndex. getItems()
Method parameters in de.extio.spacecraft.shared.model.managers with type arguments of type StorageItemDescriptor Modifier and Type Method Description void
StorageIndex. setByPath(Map<String,List<StorageItemDescriptor>> byPath)
void
StorageIndex. setItems(List<StorageItemDescriptor> items)
Constructors in de.extio.spacecraft.shared.model.managers with parameters of type StorageItemDescriptor Constructor Description StorageItemDescriptor(StorageItemDescriptor other)
-