Fixed some (many) "{ get; set; }"

This commit is contained in:
Fabian
2017-10-26 19:36:15 +02:00
parent 5d1f0a8dc8
commit 8393349316
77 changed files with 3704 additions and 3697 deletions
@@ -766,5 +766,8 @@ namespace Game.Entities
List<ObjectGuid> _insideUnits = new List<ObjectGuid>();
AreaTriggerAI _ai;
public Vector3 RollPitchYaw { get => _rollPitchYaw; set => _rollPitchYaw = value; }
public Vector3 TargetRollPitchYaw { get => _targetRollPitchYaw; set => _targetRollPitchYaw = value; }
}
}
+3 -3
View File
@@ -315,9 +315,9 @@ namespace Game.Entities
struct PlayerDynamicFieldSpellModByLabel
{
public uint Mod;
public float Value;
public uint Label;
public uint Mod { get; set; }
public float Value { get; set; }
public uint Label { get; set; }
}
public class SpecializationInfo
+1 -1
View File
@@ -418,7 +418,7 @@ namespace Game.Entities
{
InstanceSave save = pair.Value.save;
InstanceLockInfos lockInfos;
InstanceLockInfos lockInfos = new InstanceLockInfos();
lockInfos.InstanceID = save.GetInstanceId();
lockInfos.MapID = save.GetMapId();
+2 -2
View File
@@ -2735,8 +2735,8 @@ namespace Game.Entities
FlagArray128 mask = new FlagArray128();
mask[j / 32] = 1u << (j % 32);
SpellModifierData flatData;
SpellModifierData pctData;
SpellModifierData flatData = new SpellModifierData();
SpellModifierData pctData = new SpellModifierData();
flatData.ClassIndex = j;
flatData.ModifierValue = 0.0f;