Modding toolkit and bugfixes for CardLife, pronounced like "celery"
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
|
- using System.IO;
- using System.Reflection;
-
- using IllusionPlugin;
-
- namespace HelloModdingWorld
- {
- public class MyPlugin : IEnhancedPlugin // the Illusion Plugin Architecture (IPA) will ignore classes that don't implement IPlugin'
- {
- public override string Name { get; } = Assembly.GetExecutingAssembly().GetName().Name;
-
- public override string Version { get; } = Assembly.GetExecutingAssembly().GetName().Version.ToString();
-
- // called when Cardlife shuts down
- public override void OnApplicationQuit()
- {
- }
-
- // called when Cardlife starts up
- public override void OnApplicationStart()
- {
- File.WriteAllText(Name + ".log", "CLre was loaded and started up");
- }
- }
- }
|