Remove ContentId

main
ilitirit 3 years ago
parent 3c7e34bce8
commit 998e18a090

@ -46,7 +46,6 @@ namespace Expedience.Api.Consumers
{ {
Id = message.UploadId, Id = message.UploadId,
TerritoryId = message.DutyInfo.TerritoryId, TerritoryId = message.DutyInfo.TerritoryId,
ContentId = message.DutyInfo.ContentId,
UserId = user.UserId, UserId = user.UserId,
HasEcho = message.DutyInfo.HasEcho, HasEcho = message.DutyInfo.HasEcho,
IsUnrestricted = message.DutyInfo.IsUnrestricted, IsUnrestricted = message.DutyInfo.IsUnrestricted,

@ -5,7 +5,6 @@
public Guid Id { get; set; } public Guid Id { get; set; }
public int UserId { get; set; } public int UserId { get; set; }
public int TerritoryId { get; set; } public int TerritoryId { get; set; }
public int ContentId { get; set; }
public bool HasEcho { get; set; } public bool HasEcho { get; set; }
public bool IsUnrestricted { get; set; } public bool IsUnrestricted { get; set; }
public bool IsMinILevel { get; set; } public bool IsMinILevel { get; set; }

@ -1,8 +1,4 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Expedience.Models namespace Expedience.Models
{ {

@ -14,7 +14,6 @@ namespace Expedience.Models
private Stopwatch _stopwatch; private Stopwatch _stopwatch;
public PlayerInfo Player { get; set; } public PlayerInfo Player { get; set; }
public int TerritoryId { get; set; } public int TerritoryId { get; set; }
public int ContentId { get; set; }
public string ContentName { get; set; } public string ContentName { get; set; }
public List<GroupMemberInfo> PartyMembers { get; set; } = new(); public List<GroupMemberInfo> PartyMembers { get; set; } = new();
public DateTime StartTime { get; } public DateTime StartTime { get; }

@ -17,7 +17,6 @@ namespace Expedience.Models
{ {
TerritoryId = currentDuty.TerritoryId, TerritoryId = currentDuty.TerritoryId,
ContentName = currentDuty.ContentName, ContentName = currentDuty.ContentName,
ContentId = currentDuty.ContentId,
IsUnrestricted = currentDuty.IsUnrestricted, IsUnrestricted = currentDuty.IsUnrestricted,
IsMinILevel = currentDuty.IsMinILevel, IsMinILevel = currentDuty.IsMinILevel,
IsNpcSupported = currentDuty.PartyMembers.Any(p => p.IsNpc), IsNpcSupported = currentDuty.PartyMembers.Any(p => p.IsNpc),

@ -9,7 +9,6 @@ namespace Expedience.Models
public class DutyInfo public class DutyInfo
{ {
public int TerritoryId { get; set; } public int TerritoryId { get; set; }
public int ContentId { get; internal set; }
public string ContentName { get; set; } public string ContentName { get; set; }
public bool IsUnrestricted { get; set; } public bool IsUnrestricted { get; set; }
public bool HasEcho { get; set; } public bool HasEcho { get; set; }

Loading…
Cancel
Save