summary Forces the garbage collector to run summary param name charact

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
/// <summary>
/// Forces the garbage collector to run
/// </summary>
/// <param name="character">Character calling the command</param>
/// <param name="match">Regex match</param>
/// <example>!gc</example>
[GmAttribute("gc", 99, "(.*?)")]
public static void GarbageCollector(Character character, Match match)
{
GC.Collect(0, GCCollectionMode.Forced);
}