Read() public method

public Read ( Plasma.hsStream s ) : void
s Plasma.hsStream
return void
Beispiel #1
0
        public override void Read(hsStream s)
        {
            fTransID = s.ReadUInt();
            fResult = (ENetError)s.ReadInt();

            // I'm not eap, so just embed the vault node into the stream
            // Forget crazy buffer hacks.
            if (s.ReadBool()) {
                fNode = new pnVaultNode();
                fNode.Read(s);
            }
        }
Beispiel #2
0
 public override void Read(hsStream s)
 {
     fTransID = s.ReadUInt();
     if (s.ReadInt() != 0) {
         fPattern = new pnVaultNode();
         fPattern.Read(s);
     }
 }
Beispiel #3
0
 public override void Read(hsStream s)
 {
     fTransID = s.ReadUInt();
     fResult = (ENetError)s.ReadInt();
     if (s.ReadInt() != 0) { // Vault Node buffer size
         fNode = new pnVaultNode();
         fNode.Read(s);
     }
 }
Beispiel #4
0
 public override void Read(hsStream s)
 {
     fTransID = s.ReadUInt();
     fNodeID = s.ReadUInt();
     fRevision = pnHelpers.ReadUuid(s);
     if (s.ReadInt() != 0) {
         fNode = new pnVaultNode();
         fNode.Read(s);
     }
 }