Interface INetworkRollbackable
Allows network components to be temporarily rolled back in time.
Namespace: SuperNet.Unity.Components
Assembly: cs.temp.dll.dll
Syntax
public interface INetworkRollbackable
Methods
OnNetworkRollbackBegin(HostTimestamp, Peer)
Update the state of the component to be the same as in the past.
Declaration
void OnNetworkRollbackBegin(HostTimestamp time, Peer peer)
Parameters
Type | Name | Description |
---|---|---|
HostTimestamp | time | Which timestamp in the past to rollback to. |
Peer | peer | Peer that we're performing the rollback for. |
OnNetworkRollbackEnd()
Revert any rollbacks.
Declaration
void OnNetworkRollbackEnd()