96 lines
3.4 KiB
C#
96 lines
3.4 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 Review Auto Popout
|
||
public static int FirstLoginPopLevel = 2;//Entering the game for the first time, the evaluation pops up at the Nth level
|
||
public static int OtherLoginPopLevel = 2;//not the first time to enter the game, the M level pops up the evaluation level
|
||
#endregion
|
||
|
||
#region Push Notification
|
||
|
||
/// <summary>
|
||
/// Push Notification Switch
|
||
/// true: open push, false:close push
|
||
/// </summary>
|
||
public const bool LocalNotitcifaction_Switch = false;
|
||
|
||
/// <summary>
|
||
/// Push Content
|
||
/// Tomorrow/Days 3, 5 and 7/Days 4, 6 and 8,random one sentence out of three
|
||
/// CN、EN
|
||
/// </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>
|
||
/// Push Time
|
||
///
|
||
/// eg. HourNum = 19; MinuteNum = 10; push notification at 19:10
|
||
/// </summary>
|
||
///
|
||
// Triggered at the same time point the next day
|
||
// Configurable. If you log in from 10:00 pm to 6:00 am, the next day push time, the default is 22:00 pm
|
||
public const int MorrowHourNum = 22;
|
||
public const int MorrowMinuteNum = 0;
|
||
|
||
// Days 3, 5 and 7 Push Time, hours: minutes
|
||
public const int Day357HourNum = 19;
|
||
public const int Day357MinuteNum = 10;
|
||
|
||
// Days 4, 6 and 8 Push Time, hours: minutes
|
||
public const int Day468HourNum = 20;
|
||
public const int Day468MinuteNum = 5;
|
||
|
||
#endregion
|
||
|
||
#region 是否延迟初始化Tenjin
|
||
|
||
/// <summary>
|
||
/// 是否延迟初始化Tenjin开关
|
||
///
|
||
/// 只对CN版本有效
|
||
/// 正常为False
|
||
/// </summary>
|
||
public const bool InitTenjinLater_Switch = true;
|
||
|
||
#endregion
|
||
|
||
#region 排行榜功能
|
||
|
||
/// <summary>
|
||
/// 排行榜功能开关
|
||
/// </summary>
|
||
public const bool LeaderBoard_Switch = false;
|
||
|
||
/// <summary>
|
||
/// 排行榜ID (Appstore后台创建的)
|
||
/// </summary>
|
||
public const string LeaderBoardId = "BossFightScore";
|
||
|
||
#endregion
|
||
}
|