Exemplo n.º 1
0
 public HeroChatWheelPing(ChatWheelMessage message, HeroId heroId, bool doublePing)
 {
     this.message    = message;
     this.heroId     = heroId;
     this.doublePing = doublePing;
     Cooldown        = doublePing ? 3.22f : 1.2f;
 }
Exemplo n.º 2
0
        public void Say(ChatWheelMessage message, bool sayTime = false)
        {
            Network.ChatWheel(message);

            if (sayTime)
            {
                DelayAction.Add(250, () => Network.ChatWheel(ChatWheelMessage.Current_Time));
                Variables.Sleeper.Sleep(random.Next(3111, 3333), "CanPing");
            }
            else
            {
                Variables.Sleeper.Sleep(random.Next(1111, 1333), "CanPing");
            }
        }
Exemplo n.º 3
0
 public ChatWheelPing(ChatWheelMessage message, bool sayTime = false)
 {
     this.message = message;
     this.sayTime = sayTime;
     Cooldown     = sayTime ? 3.3f : 1.3f;
 }