GetGoreSlot() public static method

public static GetGoreSlot ( string texture ) : int
texture string
return int
示例#1
0
 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);