static void AssemblyUtil_onGetVersionCompleted(OnGetVersionCompletedArgs args) { if (args.LastAssemblyVersion == Assembly.GetExecutingAssembly().GetName().Version.ToString()) Game.PrintChat(string.Format("<font color='#fb762d'>DevKarma You have the latest version.</font>")); else Game.PrintChat(string.Format("<font color='#fb762d'>DevKarma NEW VERSION available! Tap F8 for Update! {0}</font>", args.LastAssemblyVersion)); }
public AssemblyUtil(string pAssemblyName) { this.AssemblyName = pAssemblyName; versionCompletedArgs = new OnGetVersionCompletedArgs(); }