Empeld
Empeld plugin documentation.
|
Base class helper for a syncable than can be validated More...
Protected Member Functions | |
bool | Validate (T current, T proposed, DecodeContext context) |
Validate the specified current, proposed and context. More... | |
Protected Member Functions inherited from pluginbase.Objects.Syncable.SyncableBase< TBase > | |
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... | |
Additional Inherited Members | |
Events inherited from pluginbase.Objects.Syncable.SyncableBase< TBase > | |
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... | |
Base class helper for a syncable than can be validated
TBase | : | ValidatedSyncableBase | |
TBase | : | T | |
TBase | : | TBase |
|
protected |
Validate the specified current, proposed and context.
current | If set to true current. |
proposed | If set to true proposed. |
context | If set to true context. |
Attribute: i
;