Files
raphael d6db0bfdb2 跨平台初版,修复了一些主线BUG,部分字符串做了汉化
武器精炼调整:普通、高级、稀有 的武器精炼上限递增
2024-08-07 15:11:07 +08:00

71 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Library.SystemModels;
using MirDB;
namespace Server.DBModels
{
[UserObject]
public sealed class UserConquest : DBObject
{
[Association("Conquest")]
public GuildInfo Guild
{
get { return _Guild; }
set
{
if (_Guild == value) return;
var oldValue = _Guild;
_Guild = value;
OnChanged(oldValue, value, "Guild");
}
}
private GuildInfo _Guild;
public CastleInfo Castle
{
get { return _Castle; }
set
{
if (_Castle == value) return;
var oldValue = _Castle;
_Castle = value;
OnChanged(oldValue, value, "Castle");
}
}
private CastleInfo _Castle;
public DateTime WarDate
{
get { return _WarDate; }
set
{
if (_WarDate == value) return;
var oldValue = _WarDate;
_WarDate = value;
OnChanged(oldValue, value, "WarDate");
}
}
private DateTime _WarDate;
protected override void OnDeleted()
{
Guild = null;
Castle = null;
base.OnDeleted();
}
}
}