Class Callback
- Namespace
- Archipelago.MultiClient.Net.Models
- Assembly
- Archipelago.MultiClient.Net.dll
Provides a method to be called when a certain DataStorage operation completes
public class Callback
- Inheritance
-
Callback
- Inherited Members
Methods
Add(DataStorageUpdatedHandler)
Adds a callback to the current sequence of operations. This callback will be called only once after the server is done processing your operations. This is useful in-case you need to know the results of your operations when they depend on the current state of the server
public static Callback Add(DataStorageHelper.DataStorageUpdatedHandler callback)
Parameters
callbackDataStorageHelper.DataStorageUpdatedHandlerThe method to be called with the oldValue at the start of your operation and the newValue after your operation completed