Пример #1
0
    private void FakeFollow()
    {
        string testUser  = "******" + Random.Range(1, 999);
        int    followers = int.Parse(TextFromFile.ReadOnce(TwitchAlertsType.session_follower_count));

        TextFromFile.WriteOnce(TwitchAlertsType.most_recent_follower, testUser);
        TextFromFile.WriteOnce(TwitchAlertsType.session_follower_count, (followers + 1).ToString());
    }
Пример #2
0
    private void FakeDonation()
    {
        string testUser = "******" + Random.Range(1, 999);
        int    money    = 2 * Random.Range(1, 70);
        string amount   = "($" + money + ".00)";
        string message  = testUser + " " + amount + TextFromFile.DELIMETER + RandomDonationMessage();

        TextFromFile.WriteOnce(TwitchAlertsType.most_recent_donator, message);
    }