public void Serialize(IPofWriter writer)
 {
     writer.WriteGuid(0, Id);
     writer.WriteGuid(1, RecipientId);
     writer.WriteU32(2, (uint)MessageFlags);
     writer.AssignSlot(3, Payload, PayloadOffset, PayloadLength);
 }
 public void Serialize(IPofWriter writer)
 {
     writer.WriteU32(0, invocationId);
     writer.WriteGuid(1, serviceGuid);
     writer.WriteString(2, methodName);
     writer.WriteObject(3, genericArguments);
     writer.WriteObject(4, methodArguments);
 }
Exemple #3
0
 public void Serialize(IPofWriter writer)
 {
     writer.WriteU32(0, kVersion);
     writer.WriteGuid(1, id);
     writer.WriteString(2, name);
     writer.WriteCollection(3, authors);
     writer.WriteString(4, website);
     writer.WriteCollection(5, targets.Select(target => target.Value));
 }
 public void Serialize(IPofWriter writer)
 {
     writer.WriteU32(0, kVersion);
      writer.WriteGuid(1, id);
      writer.WriteString(2, name);
      writer.WriteCollection(3, authors);
      writer.WriteString(4, website);
      writer.WriteCollection(5, targets.Select(target => target.Value));
 }
 protected override void Serialize(IPofWriter writer, int baseSlot) {
    writer.WriteGuid(baseSlot + 0, EpochId);
    writer.WriteCollection(baseSlot + 1, OrderedParticipants);
 }
 protected override void Serialize(IPofWriter writer, int baseSlot) {
    writer.WriteGuid(baseSlot + 0, Nominee);
    writer.WriteCollection(baseSlot + 1, Followers ?? new ItzWarty.Collections.HashSet<Guid>());
 }
Exemple #7
0
 public void Serialize(IPofWriter writer)
 {
     writer.WriteGuid(0, RecipientId);
     writer.WriteGuid(1, MessageId);
 }
 public void Serialize(IPofWriter writer) {
    writer.WriteGuid(0, Id);
    writer.WriteObject(1, Name);
    writer.WriteObject(2, Version);
 }
 public void Serialize(IPofWriter writer) {
    writer.WriteGuid(0, cacheId);
    Serialize(writer, 1);
 }
Exemple #10
0
 public void Serialize(IPofWriter writer)
 {
     writer.WriteGuid(0, guid);
     writer.WriteString(1, name);
 }