public byte[] ToByteArray()
        {
            List <byte> result = new List <byte>(16);

            result.Add(Blank1);
            result.Add(Blank2);
            result.Add(Order);
            result.Add(CT);
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(FreezeCT, Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Unknown6, CountsAsKO));
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(!CanReact, Blank, IgnoreAttacks, IgnoredIfMount, Unknown8, Unknown9, CancelledByImmortal, LowerTargetPriority));
            result.AddRange(Cancels.ToByteArray());
            result.AddRange(CantStackOn.ToByteArray());

            return(result.ToArray());
        }
Beispiel #2
0
        public byte[] ToByteArray()
        {
            List <byte> result = new List <byte>(16);

            result.Add(Blank1);
            result.Add(Blank2);
            result.Add(Order);
            result.Add(CT);
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(Unknown12, Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Unknown6, Unknown13));
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(!Unknown14, Blank, Unknown15, Unknown7, Unknown8, Unknown9, CancelledByImmortal, Unknown11));
            result.AddRange(Cancels.ToByteArray());
            result.AddRange(CantStackOn.ToByteArray());

            return(result.ToArray());
        }
Beispiel #3
0
        public byte[] ToByteArray()
        {
            List <byte> result = new List <byte>(16);

            result.Add(Blank1);
            result.Add(Blank2);
            result.Add(Order);
            result.Add(CT);
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(FreezeCT, Unknown1, Unknown2, Unknown3, Unknown4, Unknown5, Unknown6, KO));
            result.Add(PatcherLib.Utilities.Utilities.ByteFromBooleans(!CanReact, Blank, IgnoreAttack, Unknown7, Unknown8, Unknown9, Unknown10, Unknown11));
            result.AddRange(Cancels.ToByteArray());
            result.AddRange(CantStackOn.ToByteArray());

            return(result.ToArray());
        }