Exemplo n.º 1
0
 /// <summary>
 /// Constructor by Account / Id
 /// </summary>
 internal GraalPlayer(Framework Server, Int16 Id)
 {
     this.Server = Server;
     this.Id = Id;
     this.ColorManager = new ColorManager(new ColorManager.dSendColors(SendColors));
     this.FlagManager = new FlagManager(new FlagManager.dSendFlag(SendFlag));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal GraalLevelNPC(Framework Server, GraalLevel Level, int Id)
     : base(ScriptType.LEVELNPC)
 {
     this.Server = Server;
     this.Level = Level;
     this.Id = Id;
     this.Save = new SaveIndex(this, 10);
 }
Exemplo n.º 3
0
        /// <summary>
        /// Constructor -> Create Compiler, pass NPCServer reference
        /// </summary>
        internal GameCompiler(Framework Server)
        {
            this.Server = Server;
            Thread th = new Thread(CompileThread);
            th.IsBackground = true;
            th.Start();

            Thread th2 = new Thread(CompileThread);
            th2.IsBackground = true;
            th2.Start();
        }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal ServerWeapon(Framework Server, String WeaponName, String WeaponImage, String WeaponScript)
     : base(ScriptType.WEAPON)
 {
     this.Server = Server;
     this.UpdateWeapon(WeaponName, WeaponImage, WeaponScript);
 }
Exemplo n.º 5
0
 public ScriptWeapon(Framework Server, IRefObject Ref)
     : base(Server)
 {
     this.Ref = (ServerWeapon)Ref;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 public GServerConnection(Framework Server)
 {
     this.Server = Server;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Constructor
 /// </summary>
 internal GraalLevel(Framework Server, String LevelName)
 {
     this.Server = Server;
     this.Name = LevelName;
     this.FlagManager = new FlagManager(null);
 }
Exemplo n.º 8
0
 static void Main()
 {
     Framework framework = new Framework("settings.ini");
     while (framework.RunServer())
         System.Threading.Thread.Sleep(50);
 }
Exemplo n.º 9
0
 /// <summary>
 /// Base Constructor
 /// </summary>
 public NCConnection(Framework Server, Socket Sock)
     : base(Sock)
 {
     this.Server = Server;
 }
Exemplo n.º 10
0
 public ScriptObj(Framework Server)
 {
     this.Server = Server;
 }
Exemplo n.º 11
0
 /// <summary>
 /// Constructor -> Create Compiler, pass NPCServer reference
 /// </summary>
 public GameCompiler(Framework Server)
     : base()
 {
     this.Server = Server;
 }
Exemplo n.º 12
0
 public ScriptLevelNpc(Framework Server, IRefObject Ref)
     : base(Server)
 {
     this.Ref = (GraalLevelNPC)Ref;
 }
Exemplo n.º 13
0
 public Player(Framework Server, short Id, GServerConnection socket)
     : base(Id, socket)
 {
     this.Server = Server;
 }
Exemplo n.º 14
0
 public Player(Framework Server, short Id)
     : base(Id)
 {
     this.Server = Server;
 }
Exemplo n.º 15
0
 /// <summary>
 /// Constructor
 /// </summary>
 public GraalPlayerList(Framework Server)
 {
     this.Server = Server;
 }
Exemplo n.º 16
0
 /// <summary>
 /// Constructor
 /// </summary>
 public PlayerList(Framework server, GServerConnection gsconn)
 {
     this.Server = server;
     this.GSConn = gsconn;
 }