-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathGlobalSuitAddon.cs
34 lines (28 loc) · 1.13 KB
/
GlobalSuitAddon.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Content;
using System;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.ModLoader;
namespace MetroidMod
{
public abstract class GlobalSuitAddon : ModType
{
protected override void Register()
{
SuitAddonLoader.globalAddons.Add(this);
}
/// <inheritdoc cref="GlobalItem.UpdateAccessory(Item, Player, bool)"/>
public virtual void UpdateAccessory(ModSuitAddon item, Player player, bool hideVisual) { }
/// <inheritdoc cref="GlobalItem.UpdateInventory(Item, Player)"/>
public virtual void UpdateInventory(ModSuitAddon item, Player player) { }
/// <inheritdoc cref="GlobalItem.UpdateArmorSet(Player, string)"/>
public virtual void OnUpdateArmorSet(ModSuitAddon[] suitAddons, Player player) { }
/// <inheritdoc cref="GlobalItem.UpdateVanitySet(Player, string)"/>
public virtual void OnUpdateVanitySet(ModSuitAddon[] suitAddons, Player player) { }
/// <inheritdoc cref="GlobalItem.ArmorSetShadows(Player, string)"/>
public virtual void ArmorSetShadows(ModSuitAddon[] suitAddons, Player player) { }
}
}