Files
ZYZ/shared/consts/constModules/auctionConst.ts
2023-06-21 10:34:57 +08:00

61 lines
1.5 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export const AUCTION_STAGE = {
DEFAULT: 0,
GUILD: 1,
WORLD: 2,
END: 3,
};
export const AUCTION_SOURCE = {
DEFAULT: 0,
BOSS: 1, // 演武
GATE: 2, // 蛮夷入侵
CITY: 3, // 诸侯混战
RACE: 4, // 粮草先行
};
export const LOT_CODE_LEN = 8;
export const DIVIDEND_CODE_LEN = 8;
export enum AUCTION_TIME {
GUILD_PREVIEW = 1, // 军团拍卖预览时间(非开启时间)
GUILD_OPEN = 2, // 军团拍卖开启时间
GUILD_CLOSE = 3, // 军团拍卖关闭时间
WORLD_PREVIEW = 4, // 世界拍卖预览时间(非开启时间)
WORLD_OPEN = 5, // 世界拍卖开启时间
WORLD_CLOSE = 6, // 世界拍卖结束时间
DIVIDEND_START = 7, // 可以领取分红的时间
}
export const DIVIDEND_STATUS = {
DEFAULT: 0, // 0未开始
ING: 1, // 1进行中
END: 2, // 2已结束
SENT: 3, // 3已发放
};
export const LOT_STATUS = {
DEFAULT: 0, // 未开始
ING: 1, // 竞拍中
SOLD: 2, // 竞拍成功
MAX: 3, // 一口价
BIDDING: 4, // 竞价中
PASSIN: -1, // 流拍
}
export const ROLE_RECEIVE_STATUS = {
NO: 0, // 没领取
YES: 1, // 领取了
}
export const AUCTION_BID_STATUS = {
LEAD: 0, // 领先
RETURN: 1, // 退还
SUC: 2, // 竞拍成功
}
export const BID_REC_COUNT = 100;
export const GUILD_LOTS_REC_COUNT = 100;
export const DIVIDENDMAXRATIO = 0.1;
export const DIVIDENDPOSITIONMAXRATIO = 3;
export const LOTS_KEEP_TO_WORLD_CNT = 3; // 同一个物品id流到世界拍卖行的数量