91 lines
3.0 KiB
C#
91 lines
3.0 KiB
C#
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
public static class StaticOtherConfig
|
|||
|
|
{
|
|||
|
|
#region 宏定义介绍
|
|||
|
|
|
|||
|
|
/*
|
|||
|
|
NO_SDK : 定义此宏后,工程内若没有sdk相关库文件也不会引起报错
|
|||
|
|
NORMAL_BANNER : 普通banner
|
|||
|
|
NATIVE_BANNER : native拼banner
|
|||
|
|
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否打印debug日志
|
|||
|
|
/// </summary>
|
|||
|
|
public static bool IsDebugLog = true;
|
|||
|
|
|
|||
|
|
|
|||
|
|
#region 推送相关
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 本地推送功能开关
|
|||
|
|
/// </summary>
|
|||
|
|
public const bool LocalNotitcifaction_Switch = false;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 推送内容
|
|||
|
|
/// 明天/第3、5、7天/第4、6、8天,从三句话中随机出来一句
|
|||
|
|
/// 中文、英文
|
|||
|
|
/// </summary>
|
|||
|
|
public const string MorrowMsgCN = "敌人越来越厉害了,我需要你的帮助!|||今日奖励已经准备好了,上线领取吧!|||家园在你的管理下能扩大多少版图呢?";
|
|||
|
|
public const string Day357MsgCN = "确认过眼神,是今天还没有上线的人|||我们的口号就是开疆扩土搞开发!|||最新玩法已升级,更多挑战等着你!";
|
|||
|
|
public const string Day468MsgCN = "快来打造属于你的王国!|||这么精美的场景设定,是梦想中的国度没错了!|||金币收益已经爆满,上线领取一波?";
|
|||
|
|
|
|||
|
|
public const string MorrowMsgEN = "I keep getting beat by enemies. COME HELP!!|||Come and expand your territory|||I can't win this game without your help";
|
|||
|
|
public const string Day357MsgEN = "For our homeland, you must defeat the enemy!|||New challenge has been unlocked.|||You are a true warrior who defeated the enemy";
|
|||
|
|
public const string Day468MsgEN = "Help me repel the enemy, only you can do it!|||There are too many enemies, what should I do?|||New reward is ready, go online to claim it!";
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 推送时间
|
|||
|
|
///
|
|||
|
|
/// HourNum = 19; MinuteNum = 10; 即 19:10推送通知
|
|||
|
|
/// </summary>
|
|||
|
|
///
|
|||
|
|
// 正常次日同时间点触发推送
|
|||
|
|
// 可配置 如果晚上10点到早上6点登录时,次日推送时间,默认为晚上22点
|
|||
|
|
public const int MorrowHourNum = 22;
|
|||
|
|
public const int MorrowMinuteNum = 0;
|
|||
|
|
|
|||
|
|
// 第3、5、7天推送时间:小时:分钟
|
|||
|
|
public const int Day357HourNum = 19;
|
|||
|
|
public const int Day357MinuteNum = 10;
|
|||
|
|
|
|||
|
|
// 第4、6、8天推送时间:小时:分钟
|
|||
|
|
public const int Day468HourNum = 20;
|
|||
|
|
public const int Day468MinuteNum = 5;
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region 是否延迟初始化Tenjin
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否延迟初始化Tenjin开关
|
|||
|
|
///
|
|||
|
|
/// 只对CN版本有效
|
|||
|
|
/// 正常为False
|
|||
|
|
/// </summary>
|
|||
|
|
public const bool InitTenjinLater_Switch = false;
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region 排行榜功能
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排行榜功能开关
|
|||
|
|
/// </summary>
|
|||
|
|
public const bool LeaderBoard_Switch = false;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排行榜ID (Appstore后台创建的)
|
|||
|
|
/// </summary>
|
|||
|
|
public const string LeaderBoardId = "BossFightScore";
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|