Added tests for Item wrapper

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

No files matched your search

-1
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;