コード例 #1
0
ファイル: VIS0Node.cs プロジェクト: 0000duck/brawltools
        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);
        }
コード例 #2
0
        protected internal virtual void PostProcess(VoidPtr dataAddress, StringTable stringTable)
        {
            VIS0Entry *header = (VIS0Entry *)dataAddress;

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