예제 #1
0
 public int Deserialize(Stream input)
 {
     _opFlags = input.ReadValueU16();
     _opTargetNum = input.ReadValueU16();
     _opFuncName = input.ReadValueEncodedS32();
     return 8;
 }
예제 #2
0
 public int Deserialize(Stream input)
 {
     _opFlags = input.ReadValueU16();
     _opTarget = input.ReadValueU16();
     OpFuncId = input.ReadValueEncodedS32();
     if (OpFuncId == -1)
     {
         OpOperator = (OperatorCode) input.ReadValueEncodedS32();
     }
     return 8;
 }
예제 #3
0
        public void Deserialize(Stream input, bool littleEndian)
        {
            this.Build = (FileBuild)input.ReadValueU32(littleEndian);
            this.Alignment = input.ReadValueU16(littleEndian);
            this.Flags = input.ReadValueU16(littleEndian);

            this.Type = input.ReadValueU32(littleEndian);

            this.Unknown0C = input.ReadValueU32(littleEndian);
            this.Type2 = input.ReadValueU32(littleEndian);
            this.Unknown14 = input.ReadValueU32(littleEndian);
            this.Unknown18 = input.ReadValueU32(littleEndian);

            this.TotalSize = input.ReadValueU32(littleEndian);

            this.BaseName = input.ReadStringZ();
            this.FileName = input.ReadStringZ();
            this.TypeName = input.ReadStringZ();
        }
예제 #4
0
파일: U16U16.cs 프로젝트: yole/Gibbed.RED
 public int Deserialize(Stream input)
 {
     _op0 = input.ReadValueU16();
     _op1 = input.ReadValueU16();
     return 4;
 }
예제 #5
0
파일: U16S32.cs 프로젝트: yole/Gibbed.RED
 public int Deserialize(Stream input)
 {
     _op0 = input.ReadValueU16();
     _op1 = input.ReadValueEncodedS32();
     return 6;
 }
예제 #6
0
파일: U16.cs 프로젝트: yole/Gibbed.RED
 public int Deserialize(Stream input)
 {
     Op0 = input.ReadValueU16();
     return 2;
 }