muddesigner/MudEngine/Core/BaseServer.cs
Scionwest_cp a365256d53 Changes project wide with this check-in.
MudCompiler:
No longer works.  Needs to be re-wrote to support the new Alpha 2.0 engine

MudDesigenr:
Removed most of the forms since we are not working on it.  Only form left is Project Manager, which will be removed shortly as well.

MudGame:
No longer runs.  All of the source code was removed due to MudEngine Alpha 2.0 source changing drastically.

MudEngine:
Alpha 2.0 source code finally checked-in.  It contains the full re-build of the engine.  A lot of new abstract classes have been added.
2011-10-01 22:20:23 -07:00

41 lines
951 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace MudEngine.Core
{
public abstract class BaseServer : BaseObject, ICommunicate
{
public int Port { get; set; }
public ICommand LoginCommand { get; set; }
public BaseGame ActiveGame { get; private set; }
public BaseServer(BaseGame game)
{
this.ActiveGame = game;
}
public virtual void Initialize()
{
}
public virtual void Update()
{
throw new NotImplementedException();
}
public abstract void OnConnect(object client);
public abstract void OnDisconnect(object client);
public abstract void RecieveData(string data);
public abstract void SendData(string data);
}
}