public AlphaCompare(CompareType comp0, byte ref0, AlphaOp operation, CompareType comp1, byte ref1) { Comp0 = comp0; Reference0 = ref0; Operation = operation; Comp1 = comp1; Reference1 = ref1; }
public AlphaCompare(EndianBinaryReader reader) { Comp0 = (CompareType)reader.ReadByte(); Reference0 = reader.ReadByte(); Operation = (AlphaOp)reader.ReadByte(); Comp1 = (CompareType)reader.ReadByte(); Reference1 = reader.ReadByte(); reader.Skip(3); }