zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Server/Model/Game/Entity/ServerItemLimitComponent.cs

13 lines
358 B
C#
Raw Normal View History

2021-09-07 16:20:46 +08:00
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson.Serialization.Options;
namespace ET
2021-09-07 16:19:55 +08:00
{
2021-09-07 16:20:46 +08:00
public class ServerItemLimitComponent:Entity
2021-09-07 16:19:55 +08:00
{
2021-09-07 16:20:46 +08:00
[BsonDictionaryOptions(DictionaryRepresentation.ArrayOfArrays)]
//id,count
public Dictionary<int, int> currentItemCountDic = new();
2021-09-07 16:19:55 +08:00
}
}