Terraria.ModLoader.ModGore.GetGoreSlot C# (CSharp) 메소드

GetGoreSlot() 공개 정적인 메소드

public static GetGoreSlot ( string texture ) : int
texture string
리턴 int
        public static int GetGoreSlot(string texture)
        {
            if (gores.ContainsKey(texture))
            {
                return gores[texture];
            }
            else
            {
                return 0;
            }
        }

Usage Example

예제 #1
0
 public int GetGoreSlot(string name)
 {
     return(ModGore.GetGoreSlot(FileName(name)));
 }
All Usage Examples Of Terraria.ModLoader.ModGore::GetGoreSlot