Interface ISyncedAction
An action that should be run in synced way. Both with "IPretestAction" works to avoid bugs with simultaneous running of two actions, like pick up same item twice by different users. Pair of (syncObject, GameActionType) will be locked while action is running.
Namespace: Eco.Gameplay.GameActions
Assembly: Eco.Gameplay.dll
Syntax
public interface ISyncedAction
Properties
SyncObject
Declaration
object SyncObject { get; }
Property Value
Type | Description |
---|---|
System.Object |