Ejemplo n.º 1
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Type = (ImageType)((byte)s.ReadNetworkByte()); //Stupid ReadNetworkByte().  It's in NetworkStream and thus pretty much out of my control.
     ShowOn = s.ReadString();
     Image = s.ReadBytes();
 }
Ejemplo n.º 2
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Index = s.ReadInt();
     Part = s.ReadBytes();
     s.WriteByte(0); // Just to make this send at the user's upload speed and not give a false number.
 }
Ejemplo n.º 3
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Encrypt = s.ReadBoolean();
     EncryptionKey = s.ReadBytes();
     EncryptionIV = s.ReadBytes();
 }
Ejemplo n.º 4
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Type   = (ImageType)((byte)s.ReadNetworkByte()); //Stupid ReadNetworkByte().  It's in NetworkStream and thus pretty much out of my control.
     ShowOn = s.ReadString();
     Image  = s.ReadBytes();
 }
Ejemplo n.º 5
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Encrypt       = s.ReadBoolean();
     EncryptionKey = s.ReadBytes();
     EncryptionIV  = s.ReadBytes();
 }
Ejemplo n.º 6
0
 public override void Read(ModUpdaterNetworkStream s)
 {
     Index = s.ReadInt();
     Part  = s.ReadBytes();
     s.WriteByte(0); // Just to make this send at the user's upload speed and not give a false number.
 }