コード例 #1
0
ファイル: Attributes.cs プロジェクト: tralivali1234/IL2JS
 public void Deserialize(IPayloadReader reader)
 {
     this.TimestampAttribute   = (UpdateFrequency)reader.ReadByte("TimestampAttribute");
     this.ConcurrencyAttribute = (ConcurrencyPolicy)reader.ReadByte("ConcurrencyAttribute");
     this.EditorAttribute      = (EditorOption)reader.ReadByte("EditorAttribute");
     this.PropertyFlags        = (PropertyFlags)reader.ReadByte("PropertyFlags");
     this.ObjectVersion        = reader.ReadUInt16("ObjectVersion");
 }
コード例 #2
0
ファイル: Attributes.cs プロジェクト: modulexcite/IL2JS
 public void Deserialize(IPayloadReader reader)
 {
     this.TimestampAttribute = (UpdateFrequency)reader.ReadByte("TimestampAttribute");
     this.ConcurrencyAttribute = (ConcurrencyPolicy)reader.ReadByte("ConcurrencyAttribute");
     this.EditorAttribute = (EditorOption)reader.ReadByte("EditorAttribute");
     this.PropertyFlags = (PropertyFlags)reader.ReadByte("PropertyFlags");
     this.ObjectVersion = reader.ReadUInt16("ObjectVersion");
 }
コード例 #3
0
ファイル: Payload.cs プロジェクト: modulexcite/IL2JS
 public virtual void Deserialize(IPayloadReader reader)
 {
     // The EventType has already been read by this point
     this.PayloadId = reader.ReadUInt16("PayloadId");
     this.ClientId = reader.ReadGuid("ClientId");
 }