GetGoreSlot() public static method

public static GetGoreSlot ( string texture ) : int
texture string
return int
コード例 #1
0
ファイル: Mod.cs プロジェクト: Unowndeveloper/tModLoader
 public int GetGoreSlot(string name)
 {
     return(ModGore.GetGoreSlot(FileName(name)));
 }
コード例 #2
0
ファイル: Mod.cs プロジェクト: Tea-Mod-Loader/Tea
 /// <summary>
 /// Shorthand for calling ModGore.GetGoreSlot(this.Name + '/' + name).
 /// </summary>
 /// <param name="name">The name.</param>
 /// <returns></returns>
 public int GetGoreSlot(string name) => ModGore.GetGoreSlot(Name + '/' + name);