HitlistChoose() public method

public HitlistChoose ( ) : uint
return uint
Beispiel #1
0
        /// <summary>
        /// Set the specified variable to a random entry from the selected hitlist.
        /// </summary>
        public static HITResult SmartChoose(HITThread thread)
        {
            var dest = thread.ReadByte();

            thread.WriteVar(dest, (int)thread.HitlistChoose());
            return(HITResult.CONTINUE);
        }
Beispiel #2
0
 /// <summary>
 /// Set the specified variable to a random entry from the selected hitlist.
 /// </summary>
 public static HITResult SmartChoose(HITThread thread)
 {
     var dest = thread.ReadByte();
     thread.WriteVar(dest, (int)thread.HitlistChoose());
     return HITResult.CONTINUE;
 }