Ejemplo n.º 1
0
        public static void ReCache()
        {
            mCacheLong.Clear();
            mCacheFloat.Clear();

            mCacheLong.Add(Constants.EOffsets.Ap, mMemReader.readMemoryInt32(Constants.EOffsets.Ap));
            mCacheLong.Add(Constants.EOffsets.ApMax, mMemReader.readMemoryInt32(Constants.EOffsets.ApMax));
            mCacheLong.Add(Constants.EOffsets.Hp, mMemReader.readMemoryInt32(Constants.EOffsets.Hp));
            mCacheLong.Add(Constants.EOffsets.HpMax, mMemReader.readMemoryInt32(Constants.EOffsets.HpMax));
            mCacheLong.Add(Constants.EOffsets.Mp, mMemReader.readMemoryInt32(Constants.EOffsets.Mp));
            mCacheLong.Add(Constants.EOffsets.MpMax, mMemReader.readMemoryInt32(Constants.EOffsets.MpMax));

            mCacheLong.Add(Constants.EAddress.Exp, mMemReader.readMemoryInt32(Constants.EAddress.Exp));
            mCacheLong.Add(Constants.EAddress.ExpMax, mMemReader.readMemoryInt32(Constants.EAddress.ExpMax));
            mCacheLong.Add(Constants.EAddress.Level, mMemReader.readMemoryInt32(Constants.EAddress.Level));

            mCacheLong.Add(Constants.EAddress.StatusAbw, mMemReader.readMemoryInt16(Constants.EAddress.StatusAbw));
            mCacheLong.Add(Constants.EAddress.StatusGes, mMemReader.readMemoryInt16(Constants.EAddress.StatusGes));
            mCacheLong.Add(Constants.EAddress.StatusGlu, mMemReader.readMemoryInt16(Constants.EAddress.StatusGlu));
            mCacheLong.Add(Constants.EAddress.StatusInt, mMemReader.readMemoryInt16(Constants.EAddress.StatusInt));
            mCacheLong.Add(Constants.EAddress.StatusStr, mMemReader.readMemoryInt16(Constants.EAddress.StatusStr));
            mCacheLong.Add(Constants.EAddress.StatusWei, mMemReader.readMemoryInt16(Constants.EAddress.StatusWei));

            mCacheFloat.Add(Constants.EOffsets.PositionFutureX, mMemReader.readMemoryFloat(Constants.EOffsets.PositionFutureX));
            mCacheFloat.Add(Constants.EOffsets.PositionFutureY, mMemReader.readMemoryFloat(Constants.EOffsets.PositionFutureY));
            mCacheFloat.Add(Constants.EOffsets.PositionFutureZ, mMemReader.readMemoryFloat(Constants.EOffsets.PositionFutureZ));
            mCacheFloat.Add(Constants.EOffsets.PositionX, mMemReader.readMemoryFloat(Constants.EOffsets.PositionX));
            mCacheFloat.Add(Constants.EOffsets.PositionY, mMemReader.readMemoryFloat(Constants.EOffsets.PositionY));
            mCacheFloat.Add(Constants.EOffsets.PositionZ, mMemReader.readMemoryFloat(Constants.EOffsets.PositionZ));
        }