Beispiel #1
0
        public override void OnRebuild(VoidPtr address, int length, bool force)
        {
            VIS0Entry* header = (VIS0Entry*)address;
            *header = new VIS0Entry(_flags);

            if (_entryCount != 0)
                Marshal.Copy(_data, 0, header->Data, length - 8);
        }
Beispiel #2
0
        protected internal virtual void PostProcess(VoidPtr dataAddress, StringTable stringTable)
        {
            VIS0Entry *header = (VIS0Entry *)dataAddress;

            header->ResourceStringAddress = stringTable[Name] + 4;
        }