Some cleanup

This commit is contained in:
Ottermandias 2022-08-17 22:59:56 +02:00
parent 80edfe7804
commit fee3f500c5
3 changed files with 17 additions and 8 deletions

View file

@ -104,9 +104,10 @@ public readonly unsafe struct CharacterEquip
};
}
public void Write( IntPtr target )
public void Load( CharacterEquip source )
{
Functions.MemCpyUnchecked( ( void* )target, _armor, sizeof( CharacterArmor ) * 10 );
Functions.MemCpyUnchecked( _armor, source._armor, sizeof( CharacterArmor ) * 10 );
}
public bool Equals( CharacterEquip other )