コード例 #1
0
        protected override void OnWrite(VoidPtr address)
        {
            sHurtBox *header = (sHurtBox *)(RebuildAddress = address);

            header->_offset  = _posOffset;
            header->_stretch = _stretch;
            header->_radius  = _radius;
            header->_flags   = _flags;
        }
コード例 #2
0
        protected override void OnParse(VoidPtr address)
        {
            sHurtBox *hdr = (sHurtBox *)address;

            _posOffset = hdr->_offset;
            _stretch   = hdr->_stretch;
            _radius    = hdr->_radius;
            _flags     = hdr->_flags;
        }