server-master/srcs/_plugins/Plugin.MongoLogs/Entities/Inventory/InventoryPickedUpItemLogEntity.cs
2026-02-10 18:21:30 +01:00

22 lines
No EOL
788 B
C#

using System;
using MongoDB.Bson.Serialization.Attributes;
using Plugin.MongoLogs.Utils;
using Plugin.PlayerLogs.Messages.Inventory;
using WingsEmu.Game.Helpers;
namespace Plugin.MongoLogs.Entities.Inventory
{
[EntityFor(typeof(LogInventoryPickedUpItemMessage))]
[CollectionName(CollectionNames.INVENTORY_PICKED_UP_ITEM, DisplayCollectionNames.INVENTORY_PICKED_UP_ITEM)]
public class InventoryPickedUpItemLogEntity : IPlayerLogEntity
{
public int ItemVnum { get; set; }
public int Amount { get; set; }
public Location Location { get; set; }
public long CharacterId { get; set; }
public string IpAddress { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Utc)]
public DateTime CreatedAt { get; set; }
}
}