File tree Expand file tree Collapse file tree 2 files changed +18
-11
lines changed
MicroEngineerProject/MicroEngineer Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,5 @@ public virtual string UnitDisplay
182182 }
183183
184184 public virtual void RefreshData ( ) { }
185- }
186-
187- public class AltUnit
188- {
189- [ JsonProperty ]
190- public bool IsActive ;
191- [ JsonProperty ]
192- public string Unit ;
193- [ JsonProperty ]
194- public float Factor ;
195- }
185+ }
196186}
Original file line number Diff line number Diff line change 1+ using Newtonsoft . Json ;
2+
3+ namespace MicroMod
4+ {
5+ /// <summary>
6+ /// An alternative unit, activated by double-clicking the entry
7+ /// </summary>
8+ public class AltUnit
9+ {
10+ [ JsonProperty ]
11+ public bool IsActive ;
12+ [ JsonProperty ]
13+ public string Unit ;
14+ [ JsonProperty ]
15+ public float Factor ;
16+ }
17+ }
You can’t perform that action at this time.
0 commit comments