Ejemplo n.º 1
0
        /// <summary>
        /// Test if the local player knows the given token
        /// </summary>
        /// <param name="token"></param>
        /// <returns></returns>
        public bool ContainsToken(string token)
        {
            if (token == null)
            {
                return(false);
            }

            return(_tokens.ContainsToken(token));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Test if the local player knows the given token
        /// </summary>
        /// <param name="token"></param>
        /// <returns></returns>
        public bool ContainsToken(string token)
        {
            if (token == null)
            {
                throw new ArgumentNullException("token", "Cannot search for a null token");
            }

            return(_tokens.ContainsToken(token));
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Test if this trigger can be activated with the given token
 /// </summary>
 /// <param name="token"></param>
 /// <returns></returns>
 public bool ContainsToken(string token)
 {
     return(_tokens.ContainsToken(token));
 }