Class Functions
Inheritance
System.Object
Functions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Asgard3.Core.dll
Syntax
public sealed class Functions
Constructors
|
Improve this Doc
View Source
Functions()
Declaration
Fields
|
Improve this Doc
View Source
BotUptime
Declaration
public static DateTime BotUptime
Field Value
Type |
Description |
System.DateTime |
|
|
Improve this Doc
View Source
BotVersion
Declaration
public static string BotVersion
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BotVersionMini
Declaration
public static string BotVersionMini
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
BotVersionShort
Declaration
public static string BotVersionShort
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GlobalConfig
Declaration
public static GlobalConfigSettings GlobalConfig
Field Value
|
Improve this Doc
View Source
Instance
Declaration
public static Functions Instance
Field Value
|
Improve this Doc
View Source
LockHashes
Declaration
public static object LockHashes
Field Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Profiles
Declaration
public static List<ProfileDatabase> Profiles
Field Value
|
Improve this Doc
View Source
UpdateFiles
Declaration
public static UpdateItemDatabase UpdateFiles
Field Value
|
Improve this Doc
View Source
XmlBotProfile
The xml Serializer for saving and loading bot profiles.
Declaration
public static XmlSerializer XmlBotProfile
Field Value
Type |
Description |
System.Xml.Serialization.XmlSerializer |
|
|
Improve this Doc
View Source
XmlGlobalConfig
The xml Serializer for the global config.
Declaration
public static XmlSerializer XmlGlobalConfig
Field Value
Type |
Description |
System.Xml.Serialization.XmlSerializer |
|
|
Improve this Doc
View Source
XmlUpdateDb
The xml Serializer related to checking for file updates.
Declaration
public static XmlSerializer XmlUpdateDb
Field Value
Type |
Description |
System.Xml.Serialization.XmlSerializer |
|
Methods
|
Improve this Doc
View Source
CreateFolderIfNotExist(String)
Creates a folder if it doesn't exist.
Declaration
public static void CreateFolderIfNotExist(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
|
Improve this Doc
View Source
FindProfile(String)
Finds a profile by the configfile value.
Declaration
public static ProfileDatabase FindProfile(string configname)
Parameters
Type |
Name |
Description |
System.String |
configname |
|
Returns
|
Improve this Doc
View Source
Times the given timespan into a time string.
Declaration
public static string FormatTime(TimeSpan format)
Parameters
Type |
Name |
Description |
System.TimeSpan |
format |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetProfilesFromDirectory()
Gets the profiles from the profile folder.
Declaration
public static List<string> GetProfilesFromDirectory()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
IsLettersOnly(String)
Declaration
public static bool IsLettersOnly(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LoadGlobalConfig()
Declaration
public static void LoadGlobalConfig()
|
Improve this Doc
View Source
LoadProfiles()
Declaration
public static List<ProfileDatabase> LoadProfiles()
Returns
|
Improve this Doc
View Source
LoadUpdate(FileCheckType)
Declaration
public static void LoadUpdate(FileCheckType t)
Parameters
|
Improve this Doc
View Source
RandomNumber(Int32, Int32)
Declaration
public static int RandomNumber(int lowerBound, int upperBound)
Parameters
Type |
Name |
Description |
System.Int32 |
lowerBound |
|
System.Int32 |
upperBound |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
RelocatedLockdown()
Declaration
public static List<string> RelocatedLockdown()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
RelocatedPlugins()
Declaration
public static List<string> RelocatedPlugins()
Returns
Type |
Description |
System.Collections.Generic.List<System.String> |
|
|
Improve this Doc
View Source
SaveGlobalConfig()
Declaration
public static void SaveGlobalConfig()
|
Improve this Doc
View Source
SaveProfile(ProfileDatabase)
Saves the given profile to it's designated config file.
Declaration
public static void SaveProfile(ProfileDatabase p)
Parameters
|
Improve this Doc
View Source
SaveUpdate(String, UpdateItemDatabase)
Declaration
public static void SaveUpdate(string filename, UpdateItemDatabase db)
Parameters
|
Improve this Doc
View Source
Declaration
public static void SetDoubleBuffered(Control control)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Control |
control |
|