Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WorldSaveApi Interface Reference
Inheritance diagram for WorldSaveApi:
[legend]

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.
 

Member Function Documentation

◆ CreateLocalWorldSave()

proto native WorldSaveItem WorldSaveApi.CreateLocalWorldSave ( notnull WorldSaveManifest  manifest)

◆ FindItem()

proto native WorldSaveItem WorldSaveApi.FindItem ( string  id)

◆ GetCurrentSave()

proto native WorldSaveItem WorldSaveApi.GetCurrentSave ( )

◆ GetOfflineItems()

proto native int WorldSaveApi.GetOfflineItems ( out notnull array< WorldSaveItem items)

◆ GetPageItems()

proto native int WorldSaveApi.GetPageItems ( out array< WorldSaveItem items)

Get page content, returns current count of items on active page.

Parameters
itemsArray of Workshop Items

◆ SetCurrentSave()

proto native void WorldSaveApi.SetCurrentSave ( WorldSaveItem  item)

◆ UploadWorldSave()

proto native WorldSaveItem WorldSaveApi.UploadWorldSave ( notnull WorldSaveManifest  manifest,
BackendCallback  callback,
WorldSaveItem  itemToUpdate 
)

The documentation for this interface was generated from the following file: