Difference between revisions of "DOMDocument"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMDocument class)
(Documentation for the DOMDocument class)
Line 28: Line 28:
 
===Methods===
 
===Methods===
 
:{{CSharp|DOMObject Clone()}}
 
:{{CSharp|DOMObject Clone()}}
 +
::
 +
::Gets a deep clone of the current object
  
 
:{{CSharp|T Deserialize<T>(Byte[] source, SerializationContext context)}}
 
:{{CSharp|T Deserialize<T>(Byte[] source, SerializationContext context)}}
Line 40: Line 42:
  
 
:{{CSharp|void ReID()}}
 
:{{CSharp|void ReID()}}
 +
::
 +
::Resets the ID property of this and all child objects using IDs generated by its root document
  
 
:{{CSharp|void RunCurvePlayers()}}
 
:{{CSharp|void RunCurvePlayers()}}

Revision as of 20:34, 18 October 2016

Remarks [edit]

Properties

Guid ContextID {get; set;}
DOMDocumentContextType ContextType {get; set;}
object HostObject {get; set;}
LatencyTracker LatencyTracker {get; set;}
int LightMapMode {get; set;}
long? ViewID {get; set;}

Events

IdentifierChanged(EventHandler)
Event is raised, when the document and its children identifiers have changed

Constructors

DOMDocument(DOMObject[] children)
DOMDocument(string title, DOMObject[] children)

Methods

DOMObject Clone()
Gets a deep clone of the current object
T Deserialize<T>(Byte[] source, SerializationContext context)
T Deserialize<T>(Byte[] source, SerializationContextType contextType)
DOMObject Deserialize(Byte[] source, SerializationContextType contextType)
DOMObject Deserialize(Byte[] source, SerializationContext context)
T Deserialize<T>(Stream stream, SerializationContextType contextType)
void ReID()
Resets the ID property of this and all child objects using IDs generated by its root document
void RunCurvePlayers()
void Sanity()
Byte[] Serialize<T>(T instance, SerializationContextType contextType)
void Serialize<T>(Stream stream, T instance, SerializationContextType contextType)
void SetLatencyTracker(LatencyTracker tracker)
void SetLockType<T>()