/// <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)); }
/// <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); }
/// <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(); }
/// <summary> /// Constructor /// </summary> internal ServerWeapon(Framework Server, String WeaponName, String WeaponImage, String WeaponScript) : base(ScriptType.WEAPON) { this.Server = Server; this.UpdateWeapon(WeaponName, WeaponImage, WeaponScript); }
public ScriptWeapon(Framework Server, IRefObject Ref) : base(Server) { this.Ref = (ServerWeapon)Ref; }
/// <summary> /// Constructor /// </summary> public GServerConnection(Framework Server) { this.Server = Server; }
/// <summary> /// Constructor /// </summary> internal GraalLevel(Framework Server, String LevelName) { this.Server = Server; this.Name = LevelName; this.FlagManager = new FlagManager(null); }
static void Main() { Framework framework = new Framework("settings.ini"); while (framework.RunServer()) System.Threading.Thread.Sleep(50); }
/// <summary> /// Base Constructor /// </summary> public NCConnection(Framework Server, Socket Sock) : base(Sock) { this.Server = Server; }
public ScriptObj(Framework Server) { this.Server = Server; }
/// <summary> /// Constructor -> Create Compiler, pass NPCServer reference /// </summary> public GameCompiler(Framework Server) : base() { this.Server = Server; }
public ScriptLevelNpc(Framework Server, IRefObject Ref) : base(Server) { this.Ref = (GraalLevelNPC)Ref; }
public Player(Framework Server, short Id, GServerConnection socket) : base(Id, socket) { this.Server = Server; }
public Player(Framework Server, short Id) : base(Id) { this.Server = Server; }
/// <summary> /// Constructor /// </summary> public GraalPlayerList(Framework Server) { this.Server = Server; }
/// <summary> /// Constructor /// </summary> public PlayerList(Framework server, GServerConnection gsconn) { this.Server = server; this.GSConn = gsconn; }