Empeld
Empeld plugin documentation.
|
An object that acts as a base class for objects that want syncables as fields Most entities use this class More...
Protected Member Functions | |
SyncableObject () | |
Initializes a new instance of the pluginbase.Objects.Syncable.SyncableObject class. More... | |
sealed override void | ResetWatch () |
Reset variables watched status More... | |
sealed override void | TouchRecurse () |
Touch self, including all children of this syncable object More... | |
sealed override void | EncodeTo (BinaryWriter writer, EncodeContext context) |
Encode changes to binary data More... | |
sealed override void | DecodeFrom (BinaryReader reader, DecodeContext context) |
Decode changes from binary data More... | |
sealed override void | Persist (IPersistObject obj) |
Build up a persistant object for this syncable, including all sync children and persist objects More... | |
sealed override void | Load (IReadPersistObject obj) |
Load a given persistent object back into this instance More... | |
Protected Member Functions inherited from pluginbase.Objects.Syncable.SyncableBase< SyncableObject > | |
void | Touch () |
Touch the instance, notifying something has changed More... | |
virtual void | OnChanged () |
Raises the changed event. 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... | |
Properties | |
virtual ushort | NetOwnerId [get] |
Gets the network owner of this object (user id) More... | |
Additional Inherited Members | |
Events inherited from pluginbase.Objects.Syncable.SyncableBase< SyncableObject > | |
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... | |
An object that acts as a base class for objects that want syncables as fields Most entities use this class
|
protected |
Initializes a new instance of the pluginbase.Objects.Syncable.SyncableObject class.
Attribute: prop.Member.Name
= syncObject;
|
protectedvirtual |
Decode changes from binary data
reader | Reader. |
context | Context. |
Attribute: varIndex
;
Implements pluginbase.Objects.Syncable.SyncableBase< SyncableObject >.
|
protectedvirtual |
Encode changes to binary data
writer | Writer. |
context | Context. |
Attribute: i
; //alias
Implements pluginbase.Objects.Syncable.SyncableBase< SyncableObject >.
|
protected |
Load a given persistent object back into this instance
obj | Object. |
Attribute: item.Member.Name
;
|
protected |
Build up a persistant object for this syncable, including all sync children and persist objects
obj | Object. |
Attribute: item.Member.Name
= item.Getter(this);
|
protectedvirtual |
Reset variables watched status
Reimplemented from pluginbase.Objects.Syncable.SyncableBase< SyncableObject >.
|
protectedvirtual |
Touch self, including all children of this syncable object
Reimplemented from pluginbase.Objects.Syncable.SyncableBase< SyncableObject >.
|
getprotected |
Gets the network owner of this object (user id)
The net owner identifier.