Remove custom OptionalType and use the default c# nullable type.

This commit is contained in:
hondacrx
2022-03-01 17:27:56 -05:00
parent cc08afe269
commit c14f1eb3dc
89 changed files with 924 additions and 976 deletions
+3 -3
View File
@@ -313,8 +313,8 @@ namespace Game.Movement
public void SetAnimation(AnimType anim)
{
args.time_perc = 0.0f;
args.animTier.Value = new();
args.animTier.Value.AnimTier = (byte)anim;
args.animTier = new();
args.animTier.AnimTier = (byte)anim;
args.flags.EnableAnimation();
}
@@ -330,7 +330,7 @@ namespace Game.Movement
public void SetSpellEffectExtraData(SpellEffectExtraData spellEffectExtraData)
{
args.spellEffectExtra.Set(spellEffectExtraData);
args.spellEffectExtra = spellEffectExtraData;
}
public List<Vector3> Path() { return args.path; }