Example #1
0
        public Buff(ProcessMemoryReader reader, int pointer)
        {
            StartTime = reader.ReadFloat(pointer + Offsets.BuffStartTime);
            EndTime   = reader.ReadFloat(pointer + Offsets.BuffEndTime);
            int buffInfo = reader.ReadInt(pointer + Offsets.BuffEntryBuff);

            if (buffInfo < 10)
            {
                return;
            }
            Name = reader.ReadCString(buffInfo + Offsets.BuffName, 240);
        }