Enfusion Script API
|
Public Member Functions | |
proto native WorldSaveItem | GetCurrentSave () |
proto native void | SetCurrentSave (WorldSaveItem item) |
proto native WorldSaveItem | UploadWorldSave (notnull WorldSaveManifest manifest, BackendCallback callback, WorldSaveItem itemToUpdate) |
proto native int | GetOfflineItems (out notnull array< WorldSaveItem > items) |
proto native WorldSaveItem | FindItem (string id) |
proto native WorldSaveItem | CreateLocalWorldSave (notnull WorldSaveManifest manifest) |
proto native int | GetPageItems (out array< WorldSaveItem > items) |
Get page content, returns current count of items on active page. | |
Public Member Functions inherited from DownloadableCatalogue | |
proto native void | ScanOfflineItems () |
Scans for both local addons and world saves. | |
proto native void | Cleanup () |
Destroy items. | |
proto native int | GetBannedItems (out notnull array< string > items) |
proto native int | GetDownloads (out notnull array< DownloadableItem > items) |
Public Member Functions inherited from WorkshopCatalogue | |
proto external void | RequestPage (BackendCallback pCallback, notnull PageParams pParams, bool bClearCache) |
proto external int | GetTotalItemCount () |
Get total item count on all pages. | |
proto external int | GetPageCount () |
Get page count. | |
proto external void | SetPageItems (int iCount) |
Set number of items per page. | |
proto external int | GetPage () |
Get current page number. | |
proto external int | GetPageItemCount () |
Get item count on actual page. | |
proto native WorldSaveItem WorldSaveApi.CreateLocalWorldSave | ( | notnull WorldSaveManifest | manifest | ) |
proto native WorldSaveItem WorldSaveApi.FindItem | ( | string | id | ) |
proto native WorldSaveItem WorldSaveApi.GetCurrentSave | ( | ) |
proto native int WorldSaveApi.GetOfflineItems | ( | out notnull array< WorldSaveItem > | items | ) |
proto native int WorldSaveApi.GetPageItems | ( | out array< WorldSaveItem > | items | ) |
Get page content, returns current count of items on active page.
items | Array of Workshop Items |
proto native void WorldSaveApi.SetCurrentSave | ( | WorldSaveItem | item | ) |
proto native WorldSaveItem WorldSaveApi.UploadWorldSave | ( | notnull WorldSaveManifest | manifest, |
BackendCallback | callback, | ||
WorldSaveItem | itemToUpdate | ||
) |