SteamKit2.SteamID.ToString C# (CSharp) Méthode

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string
        public override string ToString()
        {
            return Render();
        }

Usage Example

Exemple #1
0
 ///<summary> Checks if the given STEAMID is an admin in the database</summary>
 public static bool admincheck(SteamID sender)
 {
     if (UserDatabase.ContainsKey(sender.ToString()))
     { //If the STEAMID is in the dictionary
         string Key = sender.ToString();
         EClanPermission UserPermissions = UserDatabase[Key]; //It will get the permissions value
         if ((UserPermissions & EClanPermission.OwnerOfficerModerator) > 0) //Checks if it has sufficient privilages
         {
             return true; //If there's sufficient privilages, it'll return true
         }
     }
     return false; //If there is no entry in the database, or there aren't sufficient privalages, it'll return false
 }
All Usage Examples Of SteamKit2.SteamID::ToString