83 lines
3.0 KiB
C#
83 lines
3.0 KiB
C#
namespace CommonDomain
|
|
{
|
|
public class BackgroundOperationNotifyMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string UserNumber { get; set; } = string.Empty;
|
|
public string Action { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string EmailId { get; set; } = string.Empty;
|
|
public string PropNumber { get; set; } = string.Empty;
|
|
public int Count { get; set; }
|
|
public int CurrencyType { get; set; }
|
|
public int ChangeType { get; set; }
|
|
public long Amount { get; set; }
|
|
public long NewGold { get; set; }
|
|
public int NewDiamond { get; set; }
|
|
public string Source { get; set; } = string.Empty;
|
|
public string Remark { get; set; } = string.Empty;
|
|
public int NewLevel { get; set; }
|
|
public long NewExp { get; set; }
|
|
}
|
|
|
|
public class PlayerFactorChangedMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string ChangeType { get; set; } = string.Empty;
|
|
public string OperationId { get; set; } = string.Empty;
|
|
public long PublishedAtUnixMs { get; set; }
|
|
}
|
|
|
|
public class ConfigChangedMessage
|
|
{
|
|
public string ConfigType { get; set; } = string.Empty;
|
|
public string OperationId { get; set; } = string.Empty;
|
|
public long PublishedAtUnixMs { get; set; }
|
|
}
|
|
|
|
public class LoginBindMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string OperationId { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class LoginBindResultMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string RoomId { get; set; } = string.Empty;
|
|
public string OperationId { get; set; } = string.Empty;
|
|
public bool Success { get; set; } = true;
|
|
public string Error { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class LotteryDrawMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string PrizeId { get; set; } = string.Empty;
|
|
public string PrizeName { get; set; } = string.Empty;
|
|
public int Type { get; set; }
|
|
public long Count { get; set; }
|
|
public string OtherId { get; set; } = string.Empty;
|
|
}
|
|
|
|
public class TempSpawnFishMessage
|
|
{
|
|
public string RoomId { get; set; } = string.Empty;
|
|
public string FishNumber { get; set; } = string.Empty;
|
|
public int Count { get; set; } = 1;
|
|
public int? RouteId { get; set; }
|
|
public int? Seconds { get; set; }
|
|
public string OperationId { get; set; } = string.Empty;
|
|
public long PublishedAtUnixMs { get; set; }
|
|
}
|
|
|
|
public class SummonCardFishMessage
|
|
{
|
|
public string UserId { get; set; } = string.Empty;
|
|
public string RoomId { get; set; } = string.Empty;
|
|
public int FishType { get; set; }
|
|
public string OperationId { get; set; } = string.Empty;
|
|
public long PublishedAtUnixMs { get; set; }
|
|
}
|
|
}
|