代码初始化

This commit is contained in:
2026-04-02 10:22:36 +08:00
commit 7394983236
35 changed files with 3014 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package knapsack
// KnapsackStatus 背包项状态
type KnapsackStatus int
const (
KnapsackStatusDisabled KnapsackStatus = 0 // 禁用
KnapsackStatusActive KnapsackStatus = 1 // 启用(可用)
KnapsackStatusUsed KnapsackStatus = 2 // 已使用
KnapsackStatusListed KnapsackStatus = 3 // 已上架到市场
KnapsackStatusExpired KnapsackStatus = 4 // 已过期
)