Terraria ModLoader
A mod to make and play Terraria mods
ModMountData.cs File Reference

Go to the source code of this file.


class  Terraria.ModLoader.ModMountData
 This class serves as a place for you to place all your properties and hooks for each mount. Create instances of ModMoundData (preferably overriding this class) to pass as parameters to Mod.AddMount. Only one instance of ModMountData will exist for each mount, so storing player specific data on the ModMountData is not good. Modders can use player.mount._mountSpecificData or a ModPlayer class to store player specific data relating to a mount. Use SetMount to assign these fields. More...


namespace  Terraria.ModLoader