Exemple #1
0
 public SheetMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.SheetCollectionSelector = (SheetCollection)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Disposition             = (SheetDisposition)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Bounds = SerializedPacket.DeserializeRectangle(p.GetNextPart());
     this.Height = SerializedPacket.DeserializeInt(p.GetNextPart());
 }
Exemple #2
0
 public SlideMessage(Message parent, SerializedPacket p) : base(parent, p)
 {
     this.LocalId = (!SerializedPacket.IsNullPacket(p.PeekNextPart())) ?
                    new LocalId(p.PeekNextPart()) : null; p.GetNextPart();
     this.Title  = SerializedPacket.DeserializeString(p.GetNextPart());
     this.Zoom   = SerializedPacket.DeserializeFloat(p.GetNextPart());
     this.Bounds = SerializedPacket.DeserializeRectangle(p.GetNextPart());
     this.SlideBackgroundColor = SerializedPacket.DeserializeColor(p.GetNextPart());
     this.SubmissionSlideGuid  = SerializedPacket.DeserializeGuid(p.GetNextPart());
     this.SubmissionStyle      = (SlideModel.StudentSubmissionStyle)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.Disposition          = (SlideDisposition)SerializedPacket.DeserializeLong(p.GetNextPart());
     this.AssociationSlideId   = SerializedPacket.DeserializeGuid(p.GetNextPart());
 }