39 lines
716 B
C#
39 lines
716 B
C#
using OpenMetaverse;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace SecondBotEvents.Services
|
|
{
|
|
public abstract class BotServices
|
|
{
|
|
public EventsSecondBot master;
|
|
public BotServices(EventsSecondBot setMaster)
|
|
{
|
|
master = setMaster;
|
|
}
|
|
|
|
public GridClient GetClient()
|
|
{
|
|
return master.BotClient.client;
|
|
}
|
|
public virtual string Status()
|
|
{
|
|
return "";
|
|
}
|
|
|
|
public virtual void Start()
|
|
{
|
|
|
|
}
|
|
public virtual void Stop()
|
|
{
|
|
|
|
}
|
|
public void Restart()
|
|
{
|
|
Stop();
|
|
Start();
|
|
}
|
|
}
|
|
}
|