コード例 #1
0
            public MappedBaseOffset(IProcess process, BaseOffset offset)
            {
                if (offset.Offsets == null || offset.Offsets.Length <= 0)
                {
                    throw new Exception("Invalid base offset");
                }

                this.Offsets = new[] { process.GetBaseAddress() + offset.Offsets[0] };
            }