Exemplo n.º 1
0
 /// <summary>
 /// Add data associated with the wings equip slot here, usually in <see cref="ModType.SetStaticDefaults"/>.
 /// <para>Don't forget the !Main.dedServ check!</para>
 /// </summary>
 /// <param name="wingSlot">Wings equip slot</param>
 /// <param name="data">Data</param>
 public static void RegisterData(int wingSlot, DrawLayerData data)
 {
     if (!WingsLayerData.ContainsKey(wingSlot))
     {
         WingsLayerData.Add(wingSlot, data);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Add data associated with the leg equip slot here, usually in <see cref="ModType.SetStaticDefaults"/>.
 /// <para>Don't forget the !Main.dedServ check!</para>
 /// </summary>
 /// <param name="legSlot">Leg equip slot</param>
 /// <param name="data">Data</param>
 public static void RegisterData(int legSlot, DrawLayerData data)
 {
     if (!LegsLayerData.ContainsKey(legSlot))
     {
         LegsLayerData.Add(legSlot, data);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Add data associated with the head equip slot here, usually in <see cref="ModType.SetStaticDefaults"/>.
 /// <para>Don't forget the !Main.dedServ check!</para>
 /// </summary>
 /// <param name="headSlot">Head equip slot</param>
 /// <param name="data">Data</param>
 public static void RegisterData(int headSlot, DrawLayerData data)
 {
     if (!HeadLayerData.ContainsKey(headSlot))
     {
         HeadLayerData.Add(headSlot, data);
     }
 }