fix: Optimizes TextDefinition to eliminate allocations. Removes TextDefinition ctor. (#1221)
### BREAKING CHANGE ### The constructor for `TextDefinition` has been removed. Instead use `TextDefinition.Of()` or cast the integer/string to TextDefinition.
This commit is contained in:
parent
213b7025af
commit
910e06767b
50 changed files with 790 additions and 722 deletions
|
|
@ -18,7 +18,7 @@ public class DefAlchemy : CraftSystem
|
|||
|
||||
public override SkillName MainSkill => SkillName.Alchemy;
|
||||
|
||||
public override TextDefinition GumpTitle => 1044001;
|
||||
public override TextDefinition GumpTitle { get; } = 1044001;
|
||||
|
||||
public static CraftSystem CraftSystem { get; private set; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue