提交示例代码
This commit is contained in:
21
物品和背包的完整代码/Server/Entity/Gate/Container/ItemReason.cs
Normal file
21
物品和背包的完整代码/Server/Entity/Gate/Container/ItemReason.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Fantasy;
|
||||
|
||||
/// <summary>
|
||||
/// 物品操作原因
|
||||
/// </summary>
|
||||
public enum ItemReason
|
||||
{
|
||||
None = 0,
|
||||
ContainerAdd = 1, // 容器初始化添加物品
|
||||
ContainerRemove = 2, // 容器移除物品
|
||||
ContainerSplit = 3, // 容器拆分物品
|
||||
Drop = 4, // 掉落物品
|
||||
Mail = 5, // 邮件领取物品
|
||||
Sort = 6, // 物品排序
|
||||
ItemUse = 7, // 物品使用扣除
|
||||
ItemTestAdd = 8, // 测试添加物品
|
||||
UnMountEquipAdd = 9, // 卸载装备添加(一般是装备容器移除,然后添加到背包容器中)
|
||||
UnMountEquipRemove = 10, // 卸载装备移除(一般是在装备容器里移除掉)
|
||||
MountEquipAdd = 11, // 装备添加(一般是在装备容器里添加)
|
||||
MountEquipRemove = 12, // 装备移除(一般是在装备容器里添加,背包容器里移除)
|
||||
}
|
||||
Reference in New Issue
Block a user