File tree Expand file tree Collapse file tree
src/XtremeIdiots.Portal.Web/ViewModels Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ using XtremeIdiots . Portal . Repository . Abstractions . Constants . V1 ;
12using XtremeIdiots . Portal . Repository . Abstractions . Models . V1 . Players ;
23
34namespace XtremeIdiots . Portal . Web . ViewModels ;
@@ -10,7 +11,7 @@ public class RelatedPlayerEnrichedViewModel
1011 public Guid PlayerId { get ; set ; }
1112 public string ? Username { get ; set ; }
1213 public string ? IpAddress { get ; set ; }
13- public int GameType { get ; set ; }
14+ public GameType GameType { get ; set ; }
1415
1516 // Fields from enriched RelatedPlayerDto
1617 public DateTime LastSeen { get ; set ; }
@@ -36,7 +37,7 @@ public static RelatedPlayerEnrichedViewModel FromRelatedPlayerDto(RelatedPlayerD
3637 PlayerId = dto . PlayerId ,
3738 Username = dto . Username ,
3839 IpAddress = dto . IpAddress ,
39- GameType = ( int ) dto . GameType ,
40+ GameType = dto . GameType ,
4041 LastSeen = dto . LastSeen ,
4142 HasActiveBan = dto . HasActiveBan ,
4243 AdminActionCount = dto . AdminActionCount ,
You can’t perform that action at this time.
0 commit comments