Space Engineers
Public Member Functions | Properties | List of all members
VRage.Replication.MyReplicables Class Reference

Public Member Functions

HashSetReader< IMyReplicableGetChildren (IMyReplicable replicable)
 
void GetChildren (IMyReplicable replicable, List< IMyReplicable > resultChildren)
 
IMyReplicable GetNextForUpdate ()
 
void Add (IMyReplicable replicable, out IMyReplicable parent)
 Sets or resets replicable (updates child status and parent). Returns true if replicable is root, otherwise false. More...
 
void RefreshChildrenHierarchy (IMyReplicable replicable)
 Refreshes all children. More...
 
bool Refresh (IMyReplicable replicable)
 Refreshes replicable, updates it's child status and parent. Returns true if replicable is root. More...
 
void Remove (IMyReplicable replicable)
 Removes replicable, children should be already removed More...
 
void RemoveHierarchy (IMyReplicable replicable)
 Removes replicable with all children, children of children, etc. More...
 
void RemoveChildren (IMyReplicable replicable)
 Removes all children of replicable. Children of children should be already removed! More...
 

Properties

HashSetReader< IMyReplicableRoots [get]
 

Detailed Description

Definition at line 11 of file MyReplicables.cs.

Member Function Documentation

void VRage.Replication.MyReplicables.Add ( IMyReplicable  replicable,
out IMyReplicable  parent 
)
inline

Sets or resets replicable (updates child status and parent). Returns true if replicable is root, otherwise false.

Definition at line 66 of file MyReplicables.cs.

HashSetReader<IMyReplicable> VRage.Replication.MyReplicables.GetChildren ( IMyReplicable  replicable)
inline

Definition at line 33 of file MyReplicables.cs.

void VRage.Replication.MyReplicables.GetChildren ( IMyReplicable  replicable,
List< IMyReplicable resultChildren 
)
inline

Definition at line 38 of file MyReplicables.cs.

IMyReplicable VRage.Replication.MyReplicables.GetNextForUpdate ( )
inline

Definition at line 46 of file MyReplicables.cs.

bool VRage.Replication.MyReplicables.Refresh ( IMyReplicable  replicable)
inline

Refreshes replicable, updates it's child status and parent. Returns true if replicable is root.

Definition at line 119 of file MyReplicables.cs.

void VRage.Replication.MyReplicables.RefreshChildrenHierarchy ( IMyReplicable  replicable)
inline

Refreshes all children.

Definition at line 99 of file MyReplicables.cs.

void VRage.Replication.MyReplicables.Remove ( IMyReplicable  replicable)
inline

Removes replicable, children should be already removed

Definition at line 164 of file MyReplicables.cs.

void VRage.Replication.MyReplicables.RemoveChildren ( IMyReplicable  replicable)
inline

Removes all children of replicable. Children of children should be already removed!

Definition at line 219 of file MyReplicables.cs.

void VRage.Replication.MyReplicables.RemoveHierarchy ( IMyReplicable  replicable)
inline

Removes replicable with all children, children of children, etc.

Definition at line 203 of file MyReplicables.cs.

Property Documentation

HashSetReader<IMyReplicable> VRage.Replication.MyReplicables.Roots
get

Definition at line 24 of file MyReplicables.cs.


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