Enums.ts 4.85 KB

export const enum DatingPlotType {
    Normal = 1,
    Special
}

export const enum DatingSceneState {
    Hide,
    Locked,
    Unlocked
}

export const enum DatingSceneItemState {
    Locked,
    New,
    InProgress,
    Completed
}

/**剧情场景类型 */
export const enum PlotSceneType {
    /**消息 */
    Message = 1,
    /**朋友圈 */
    Moment,
    /**约会 */
    DatingEvent,
    /**电话 */
    PhoneCall,
    /**剧情结束 */
    BlockPlot
}

export const enum GameItemType {
    RemoveAdCard = 1001,//免广告卡
}

export const enum GamePropType {
    GoldCoin = 1,
    Diamond,
    Energy,
    EnergyDrink,
    P5,
    P6,
    P7,
    P8,
    P9,
    P10,
    P11,
    P12,
    P13,
    P14,
    P15,
    P16,
    P17,
    P18,
    P19,
    P20,
    P21,
    P22,
    P23,
    P24,
    P25,
    P26,
    P27,
    EXP,
    P29,
    P30
}

export enum LoadingState {
    LoadingStart = "loading_start",
    LoadingEnd = "loading_finish",
    EnterLobby = "enter_lobby",
    EnterFirstPlot = "plot_1_start",
}

export enum CostType {
    GoldCost = "gold_cost",
    SilverCost = "silver_cost",
    EnergyCost = "energy_cost",
    DiamondCost = "diamond_cost"
}

export enum PlotSessionState {
    Start = "start",
    End = "end",
}

export enum ExposureType {
    Sign = "sign_show",
    Energy = "energy_show",
    AddRes = "addcoin_show",
    Continue = "2bcontinued_show",
    Gift = "gift_show",
    Audio = "audio_show",
    Plotblock = "show_plotblock{0}"

}

export enum DotShopType {
    LuckyDraw = "reward",
    Clothes = "clothes"
}

export enum DotShopTotalType {
    ShowGift = "new_show_gift",
    BuyItem = "new_buy_item",
    SendGift = "new_send_gift",
    Popup = "new_popup"
}

export enum TaskDotType {
    CompleteTask,
    GetTaskRewards,
}

export enum MomentOptionType {
    Like = "like",
    CancelLike = "cancel",
    Comment = "comment",
}

export enum TutorialType {
    Event = "event",
    Message = "message",
    Phone = "phone",
}

export enum TutorialState {
    SelectSentence = "_sentence_",
    SelectSentenceRet = "_s_",
    Progress = "_progress",
}

export enum ShowType {
    SHOW = "show",
    CLICK = "click",
    FINISH = "finish",
}

export enum ShareLocation {
    Sign = "share_sign",
    Power = "share_power_bank",
    Moment = "share_circle_{0}",

}

export enum ShowLocationType {
    Share = "share",
    Video = "video",
}

export enum CommonLocation {
    Energy = "_energy",
    Res = "_addcoin",
    Event = "_event",
    Audio = "_audio",
    DoubbleReward = "_double_gift",
    BannerAddresource = '_banneraddres',
    GiftAddresource = '_giftaddres',
    ClothesAddresource = '_clothesaddres',
    PreEnergy = "_pre_energy",//预约体力
    Nextplot = "_nextplot", //开启次日剧情
    Speedup = "_speedup",//办公室加速

}

export enum GuideState {
    close = 1,
    Open,
    Complete,
}

export enum DirectionType {
    UP = 1,
    DOWM,
    LEFT,
    RIGHT
}

export enum GuideOperationType {
    Show = "_show",
    Click = "_click"
}

export enum GuideLocation {
    TabMsg = "tab_message",
    TabDate = "tab_event",
    MsgItem = "information_QDD",
    EventItem = "event",
    ChatBack = "chat_back"
}

export enum EventOperationType {
    event = "event",
    memory = "memory",
    power = 'power',
}

export enum EventLocation {
    ShowEnergyCost = "show_energy_cost",
    ClickEnergyCost = "click_energycost",
    ShowPowerPopup = 'show_powerpopup',
    ClickPowerPopup = 'click_powerpopup',
}


EventOperationType


export enum StepType {
    Reduce,
    Add
}

export enum RoleType {
    Role_Blank = 1, //旁白
    Role_Player = 2,//自己
    Role_Major = 3,//有好感度,进入情报的角色
    Role_Minor = 4,//无好感度,只在剧中出现的角色
    Role_Group = 5,//群聊
}

export enum FreeState {
    Free,
    Cost,
}

export enum LuckyDrawDotLocation {
    Free = "click_free",
    DiamondCost = "click_diamond",
    SingleGot = "click_single_reward",
}

export enum DatePrefabDirectType {
    Left,
    Right
}

export enum SpecialDateContentType {
    Invalid = "invalid",
    Nomal = "nomal",
    Skin = "skin",
    Grace = "grace"
}

export enum SpecialDateContentStatus {
    Invalid = -1,
    Locked,
    Unlocked
}

export enum AutoPopViewType {
    RewardView = 1,
    ToBeContinued,
    Notice,
    NoteBook,
    UrgentNotice,
    NewPlayerGift,
    Sign,
    PlotStop,
    DatingProgress,
    WorkSpaceRoleUpLevel
}

export enum DiscoverItemType {
    Moment,
    Trip,
    wardrobe,
    StaffInfo,
    Welfare,
    Share,
    Forum,
    Settings,
    CustomerService,
    ProductionTeam,
}

export enum MainTabs {
    /**消息 */
    messageTab,
    /**约会 */
    datingEventTab,
    /**发现 */
    discoverTab
}

export enum WorkSpaceTaskState {
    Idle,//空闲
    InProgress,//进行中
    Completed,//任务完成
    InCD,//冷却中
}

export enum WorkSpaceAlertType {
    StuffMgr,
    SetRoleToSpace
}