ForgeCore/IProgram.cs
2020-06-28 19:45:04 -07:00

25 lines
713 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenMetaverse;
namespace Bot
{
public interface IProgram
{
void run(); // Define the run command since a thread needs a entry point
void getTick(); // Run every second to check for queued data. If queue exists, then it will be returned as a JSON string.
// getTick can reply with data for the serializer for instance.
void passArguments(string data); // json!!
string ProgramName { get; }
float ProgramVersion { get; }
void LoadConfiguration();
void onIMEvent(object sender, InstantMessageEventArgs e);
}
}