Empeld
Empeld plugin documentation.
pluginbase.Objects.Syncable.INetSyncable Interface Reference

An interface representing the base of a syncable network object More...

Inheritance diagram for pluginbase.Objects.Syncable.INetSyncable:
pluginbase.Objects.Syncable.INetWatcher essentials.action.ItemFramework.IItem pluginbase.Objects.Syncable.Entity.IMutableEntity pluginbase.Objects.Syncable.SyncableBase< T > essentials.action.ItemFramework.IItemQuantity essentials.action.ItemFramework.Interactive.IEquipableItem essentials.action.ItemFramework.Interactive.IUseableItem essentials.action.ItemFramework.ItemBase pluginbase.Objects.Syncable.Entity.EntityBase pluginbase.Objects.Syncable.Entity.IMutableActor essentials.action.ItemFramework.IItemQuantityBundleable essentials.action.ItemFramework.Interactive.Bases.UseableItemBase essentials.action.ItemFramework.Interactive.UseableBlockItem essentials.action.ItemFramework.Interactive.Bases.UseableItemBase essentials.action.ItemFramework.Interactive.UseableBlockItem essentials.action.ItemFramework.BlockItem essentials.action.ItemFramework.Interactive.Bases.UseableItemBase essentials.action.ItemFramework.ItemBundle essentials.action.Entities.Actor.ActorBase essentials.action.ItemFramework.World.ItemDropEntity essentials.BlockEntities.BlockEntityBase< TBlock > essentials.Systems.Structures.Structure pluginbase.Objects.Syncable.Entity.Static.StaticEntityBase essentials.action.Entities.Actor.ActorBase

Public Member Functions

void ResetWatch ()
 Resets the watch. Overridable to reset all sub-items More...
 
void EncodeTo (BinaryWriter writer, EncodeContext context)
 Encodes to. More...
 
void DecodeFrom (BinaryReader reader, DecodeContext context)
 Decodes from. More...
 
void Persist (IPersistObject obj)
 Persist the network object to a persist object More...
 
void Load (IReadPersistObject obj)
 Load the network object from a persist object More...
 
- Public Member Functions inherited from pluginbase.Objects.Syncable.INetWatcher
void Touch ()
 Touch the class, signalling that a change ocurred More...
 
void TouchRecurse ()
 Touches a class and any sub-classes it may have More...
 

Properties

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...
 

Detailed Description

An interface representing the base of a syncable network object

Member Function Documentation

◆ DecodeFrom()

void pluginbase.Objects.Syncable.INetSyncable.DecodeFrom ( BinaryReader  reader,
DecodeContext  context 
)

Decodes from.

Parameters
readerReader.
contextContext.

Implemented in pluginbase.Objects.Syncable.SyncableBase< T >.

◆ EncodeTo()

void pluginbase.Objects.Syncable.INetSyncable.EncodeTo ( BinaryWriter  writer,
EncodeContext  context 
)

Encodes to.

Parameters
writerWriter.
contextContext.

Implemented in pluginbase.Objects.Syncable.SyncableBase< T >.

◆ Load()

void pluginbase.Objects.Syncable.INetSyncable.Load ( IReadPersistObject  obj)

Load the network object from a persist object

Parameters
objObject.

Implemented in pluginbase.Objects.Syncable.SyncableBase< T >.

◆ Persist()

void pluginbase.Objects.Syncable.INetSyncable.Persist ( IPersistObject  obj)

Persist the network object to a persist object

Parameters
objObject.

Implemented in pluginbase.Objects.Syncable.SyncableBase< T >.

◆ ResetWatch()

void pluginbase.Objects.Syncable.INetSyncable.ResetWatch ( )

Resets the watch. Overridable to reset all sub-items

Implemented in pluginbase.Objects.Syncable.SyncableBase< T >.

Property Documentation

◆ Modified

bool pluginbase.Objects.Syncable.INetSyncable.Modified
get

Gets a value indicating whether this pluginbase.Objects.Syncable.INetSyncable is modified.

true if modified; otherwise, false.

◆ Watcher

INetWatcher pluginbase.Objects.Syncable.INetSyncable.Watcher
getset

Who is watching (who to inform of a change)

The watcher.


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