protected override void OnWrite(VoidPtr address) { sHurtBox *header = (sHurtBox *)(RebuildAddress = address); header->_offset = _posOffset; header->_stretch = _stretch; header->_radius = _radius; header->_flags = _flags; }
protected override void OnParse(VoidPtr address) { sHurtBox *hdr = (sHurtBox *)address; _posOffset = hdr->_offset; _stretch = hdr->_stretch; _radius = hdr->_radius; _flags = hdr->_flags; }