|
Empeld
Empeld plugin documentation.
|
The base class for any syncable More...
Protected Member Functions | |
| void | Touch () |
| Touch the instance, notifying something has changed More... | |
| virtual void | TouchRecurse () |
| Touch the instance More... | |
| virtual void | ResetWatch () |
| Reset the touched state More... | |
| virtual void | OnChanged () |
| Raises the changed event. More... | |
| abstract void | EncodeTo (BinaryWriter writer, EncodeContext context) |
| Encode changes to binary data More... | |
| abstract void | DecodeFrom (BinaryReader reader, DecodeContext context) |
| Decode changes from binary data More... | |
| abstract void | Persist (IPersistObject obj) |
| Persist the instance to a persist object More... | |
| abstract void | Load (IReadPersistObject obj) |
| Load the instance from a persist object More... | |
Events | |
| Action< T > | Changed |
| Event triggered when any change occurs on this object, either locally or over the network More... | |
| Action< T > | NetUpdate |
| Event triggered when a change occurs resulting from a change over the network More... | |
| Action< T > | Touched |
| Event occurs only when an object is first touched. Usually the first instance of a local-change More... | |
Additional Inherited Members | |
Properties inherited from pluginbase.Objects.Syncable.INetSyncable | |
| INetWatcher | Watcher [get, set] |
| Who is watching (who to inform of a change) More... | |
| bool | Modified [get] |
| Gets a value indicating whether this pluginbase.Objects.Syncable.INetSyncable is modified. More... | |
The base class for any syncable
| T | : | SyncableBase<T> |
|
protectedpure virtual |
Decode changes from binary data
| reader | Reader. |
| context | Context. |
Implements pluginbase.Objects.Syncable.INetSyncable.
Implemented in pluginbase.Objects.Syncable.SyncableObject.
|
protectedpure virtual |
Encode changes to binary data
| writer | Writer. |
| context | Context. |
Implements pluginbase.Objects.Syncable.INetSyncable.
Implemented in pluginbase.Objects.Syncable.SyncableObject.
|
protectedpure virtual |
Load the instance from a persist object
| obj | Object. |
Implements pluginbase.Objects.Syncable.INetSyncable.
|
protectedvirtual |
Raises the changed event.
|
protectedpure virtual |
Persist the instance to a persist object
| obj | Object. |
Implements pluginbase.Objects.Syncable.INetSyncable.
|
protectedvirtual |
Reset the touched state
Implements pluginbase.Objects.Syncable.INetSyncable.
Reimplemented in pluginbase.Objects.Syncable.SyncableObject.
|
protected |
Touch the instance, notifying something has changed
Implements pluginbase.Objects.Syncable.INetWatcher.
|
protectedvirtual |
Touch the instance
Implements pluginbase.Objects.Syncable.INetWatcher.
Reimplemented in pluginbase.Objects.Syncable.SyncableObject.
| Action<T> pluginbase.Objects.Syncable.SyncableBase< T >.Changed |
Event triggered when any change occurs on this object, either locally or over the network
| Action<T> pluginbase.Objects.Syncable.SyncableBase< T >.NetUpdate |
Event triggered when a change occurs resulting from a change over the network
| Action<T> pluginbase.Objects.Syncable.SyncableBase< T >.Touched |
Event occurs only when an object is first touched. Usually the first instance of a local-change