Terraria ModLoader  0.11.5
A framework for Terraria mods
Terraria.ModLoader.Config.ProjectileDefinition Class Reference
+ Inheritance diagram for Terraria.ModLoader.Config.ProjectileDefinition:
+ Collaboration diagram for Terraria.ModLoader.Config.ProjectileDefinition:

Public Member Functions

 ProjectileDefinition ()
 
 ProjectileDefinition (int type)
 
 ProjectileDefinition (string key)
 
 ProjectileDefinition (string mod, string name)
 
- Public Member Functions inherited from Terraria.ModLoader.Config.EntityDefinition
 EntityDefinition ()
 
 EntityDefinition (string mod, string name)
 
 EntityDefinition (string key)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
TagCompound SerializeData ()
 
override string ToString ()
 

Static Public Member Functions

static ProjectileDefinition FromString (string s)
 
static ProjectileDefinition Load (TagCompound tag)
 

Public Attributes

override int Type => ProjectileID.TypeFromUniqueKey(mod, name)
 
- Public Attributes inherited from Terraria.ModLoader.Config.EntityDefinition
bool IsUnloaded => Type == 0 && !(mod == "Terraria" && name == "None" || mod == "" && name == "")
 
string mod
 
string name
 

Static Public Attributes

static readonly Func< TagCompound, ProjectileDefinitionDESERIALIZER = Load
 

Additional Inherited Members

- Properties inherited from Terraria.ModLoader.Config.EntityDefinition
abstract int Type [get]
 

Detailed Description

Definition at line 94 of file EntityDefinition.cs.

Constructor & Destructor Documentation

Terraria.ModLoader.Config.ProjectileDefinition.ProjectileDefinition ( )

Definition at line 96 of file EntityDefinition.cs.

96 : base() { }
Terraria.ModLoader.Config.ProjectileDefinition.ProjectileDefinition ( int  type)

Definition at line 97 of file EntityDefinition.cs.

97 : base(ProjectileID.GetUniqueKey(type)) { }
Terraria.ModLoader.Config.ProjectileDefinition.ProjectileDefinition ( string  key)

Definition at line 98 of file EntityDefinition.cs.

98 : base(key) { }
Terraria.ModLoader.Config.ProjectileDefinition.ProjectileDefinition ( string  mod,
string  name 
)

Member Function Documentation

static ProjectileDefinition Terraria.ModLoader.Config.ProjectileDefinition.FromString ( string  s)
static
static ProjectileDefinition Terraria.ModLoader.Config.ProjectileDefinition.Load ( TagCompound  tag)
static

Member Data Documentation

readonly Func<TagCompound, ProjectileDefinition> Terraria.ModLoader.Config.ProjectileDefinition.DESERIALIZER = Load
static

Definition at line 105 of file EntityDefinition.cs.

override int Terraria.ModLoader.Config.ProjectileDefinition.Type => ProjectileID.TypeFromUniqueKey(mod, name)

Definition at line 101 of file EntityDefinition.cs.