File tree Expand file tree Collapse file tree 6 files changed +50
-36
lines changed
Framework/Intersect.Framework.Core/GameObjects
Intersect.Server.Core/Database Expand file tree Collapse file tree 6 files changed +50
-36
lines changed Original file line number Diff line number Diff line change 11using System . ComponentModel . DataAnnotations . Schema ;
22using Intersect . Enums ;
3+ using Intersect . Framework . Core . GameObjects . PlayerClass ;
34using Intersect . GameObjects . Maps ;
45using Intersect . Models ;
56using Intersect . Server . Utilities ;
@@ -331,39 +332,4 @@ public long ExperienceToNextLevel(int level)
331332
332333 return ExperienceCurve . Calculate ( level ) ;
333334 }
334- }
335-
336- public partial class ClassItem
337- {
338- [ JsonProperty ]
339- public Guid Id { get ; set ; }
340-
341- public int Quantity { get ; set ; }
342-
343- public ItemBase Get ( )
344- {
345- return ItemBase . Get ( Id ) ;
346- }
347- }
348-
349- public partial class ClassSpell
350- {
351- [ JsonProperty ]
352- public Guid Id { get ; set ; }
353-
354- public int Level { get ; set ; }
355-
356- public SpellBase Get ( )
357- {
358- return SpellBase . Get ( Id ) ;
359- }
360- }
361-
362- public partial class ClassSprite
363- {
364- public string Face = string . Empty ;
365-
366- public Gender Gender ;
367-
368- public string Sprite = string . Empty ;
369- }
335+ }
Original file line number Diff line number Diff line change 1+ using Intersect . GameObjects ;
2+ using Newtonsoft . Json ;
3+
4+ namespace Intersect . Framework . Core . GameObjects . PlayerClass ;
5+
6+ public partial class ClassItem
7+ {
8+ [ JsonProperty ]
9+ public Guid Id { get ; set ; }
10+
11+ public int Quantity { get ; set ; }
12+
13+ public ItemBase Get ( )
14+ {
15+ return ItemBase . Get ( Id ) ;
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ using Intersect . GameObjects ;
2+ using Newtonsoft . Json ;
3+
4+ namespace Intersect . Framework . Core . GameObjects . PlayerClass ;
5+
6+ public partial class ClassSpell
7+ {
8+ [ JsonProperty ]
9+ public Guid Id { get ; set ; }
10+
11+ public int Level { get ; set ; }
12+
13+ public SpellBase Get ( )
14+ {
15+ return SpellBase . Get ( Id ) ;
16+ }
17+ }
Original file line number Diff line number Diff line change 1+ using Intersect . Enums ;
2+
3+ namespace Intersect . Framework . Core . GameObjects . PlayerClass ;
4+
5+ public partial class ClassSprite
6+ {
7+ public string Face { get ; set ; } = string . Empty ;
8+
9+ public Gender Gender { get ; set ; }
10+
11+ public string Sprite { get ; set ; } = string . Empty ;
12+ }
Original file line number Diff line number Diff line change 1111using Intersect . Client . Localization ;
1212using Intersect . Client . Networking ;
1313using Intersect . Core ;
14+ using Intersect . Framework . Core . GameObjects . PlayerClass ;
1415using Intersect . Framework . Reflection ;
1516using Intersect . GameObjects ;
1617using Intersect . Utilities ;
Original file line number Diff line number Diff line change 1010using Intersect . Config ;
1111using Intersect . Core ;
1212using Intersect . Enums ;
13+ using Intersect . Framework . Core . GameObjects . PlayerClass ;
1314using Intersect . Framework . Core . GameObjects . Variables ;
1415using Intersect . Framework . Reflection ;
1516using Intersect . GameObjects ;
You can’t perform that action at this time.
0 commit comments