Added tests for Item wrapper

This commit is contained in:
2020-05-05 20:46:17 +02:00
parent 6c0d320656
commit 6491360dbe
2 changed files with 66 additions and 1 deletions

View File

@@ -20,7 +20,6 @@ namespace PkmnLibSharp.Library
public string Name => _name ??= CreatureSpecies.GetName(Ptr).PtrString();
public string GrowthRate => _growthRate ??= CreatureSpecies.GetGrowthRate(Ptr).PtrString();
public bool HasForme(string s)
{
return CreatureSpecies.HasVariant(Ptr, s.ToPtr()) == MarshalHelper.True;