Restructure
This commit is contained in:
parent
437cc0e0e1
commit
da91200c74
16 changed files with 43 additions and 110 deletions
25
IProgram.cs
Normal file
25
IProgram.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
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(GridClient client, MessageHandler MH, CommandSystem.CommandRegistry registry); // Define the run command since a thread needs a entry point
|
||||
|
||||
string 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue