Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Syncable.Watchers.Sync< T > Class Template Reference
Inheritance diagram for pluginbase.Objects.Syncable.Watchers.Sync< T >:
pluginbase.Objects.Syncable.Watchers.SyncBase< T > pluginbase.Objects.Syncable.ValidatedSyncableBase< T, TBase > pluginbase.Objects.Syncable.SyncableBase< T > pluginbase.Objects.Syncable.IValidatedNetSyncable pluginbase.Objects.Syncable.INetSyncable pluginbase.Objects.Syncable.INetWatcher

Public Member Functions

 Sync ()
 
 Sync (T val)
 
- Public Member Functions inherited from pluginbase.Objects.Syncable.Watchers.SyncBase< T >
 SyncBase ()
 
 SyncBase (T val)
 
override string ToString ()
 
sealed override bool Equals (object obj)
 
sealed override int GetHashCode ()
 

Properties

Value [get, set]
 
- 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from pluginbase.Objects.Syncable.Watchers.SyncBase< T >
static implicit operator T (SyncBase< T > sync)
 
static bool operator== (SyncBase< T > left, T right)
 
static bool operator!= (SyncBase< T > left, T right)
 
static bool operator== (SyncBase< T > left, SyncBase< T > right)
 
static bool operator!= (SyncBase< T > left, SyncBase< T > right)
 
- Protected Member Functions inherited from pluginbase.Objects.Syncable.Watchers.SyncBase< T >
override void EncodeTo (BinaryWriter writer, EncodeContext context)
 Encode changes to binary data More...
 
override void DecodeFrom (BinaryReader reader, DecodeContext context)
 Decode changes from binary data More...
 
override void Persist (IPersistObject obj)
 Persist the instance to a persist object More...
 
override void Load (IReadPersistObject obj)
 Load the instance from a persist object More...
 
- Protected Member Functions inherited from pluginbase.Objects.Syncable.ValidatedSyncableBase< T, TBase >
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< T >
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...
 
- Protected Attributes inherited from pluginbase.Objects.Syncable.Watchers.SyncBase< T >
InternalValue
 
- Static Protected Attributes inherited from pluginbase.Objects.Syncable.Watchers.SyncBase< T >
static readonly
IEqualityComparer< T > 
Comparer
 
static readonly string TypeName
 
- Events inherited from pluginbase.Objects.Syncable.SyncableBase< T >
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...
 

Constructor & Destructor Documentation

pluginbase.Objects.Syncable.Watchers.Sync< T >.Sync ( )
12  {}
pluginbase.Objects.Syncable.Watchers.Sync< T >.Sync ( val)
15  :base(val)
16  {}

Property Documentation

T pluginbase.Objects.Syncable.Watchers.Sync< T >.Value
getset

The documentation for this class was generated from the following file: