public static GetGoreSlot ( string texture ) : int | ||
texture | string | |
Résultat | int |
public static int GetGoreSlot(string texture)
{
if (gores.ContainsKey(texture))
{
return gores[texture];
}
else
{
return 0;
}
}
public int GetGoreSlot(string name) { return(ModGore.GetGoreSlot(FileName(name))); }