Interface INetworkedEventRaise
Namespace: ReadyM.SDK.Events
Assembly: ReadyM.SDK.dll
Allows providing prediction and rollback for a raised event.
public interface INetworkedEventRaise
Methods
Predicting(Action)
Runs prediction now, as though the event had been accepted.
Any changes to archetype values will be rolled back automatically if the event is refused or times out.
Any other action needs Action), because only the caller knows how to undo it.
INetworkedEventRaise Predicting(Action prediction)
Parameters
prediction Action
Returns
Rollback(Action)
Undoes the prediction, on the refusal or the deadline. Runs once.
INetworkedEventRaise Rollback(Action rollback)
Parameters
rollback Action