static void Main(string[] args) { Config.Boot(); VanillaLogin = new VanillaLogin(LoginPort, LoginMaxConnection); VanillaWorld = new VanillaWorld(WorldPort, WorldMaxConnection); //new LuaManager(VanillaWorld); //new BotClient(LoginPort).ConnectToServer(); while (true) Thread.Sleep(1000); }
public RealmComponent(VanillaLogin vanillaLogin) : base(vanillaLogin) { Router.AddHandler(LoginOpcodes.REALM_LIST, OnRealmList); }
public AuthComponent(VanillaLogin vanillaLogin) : base(vanillaLogin) { Router.AddHandler <PCAuthLoginChallenge>(LoginOpcodes.AUTH_LOGIN_CHALLENGE, OnAuthLoginChallenge); Router.AddHandler <PCAuthLoginProof>(LoginOpcodes.AUTH_LOGIN_PROOF, OnAuthLoginProof); }
public AuthComponent(VanillaLogin vanillaLogin) : base(vanillaLogin) { Router.AddHandler<PCAuthLoginChallenge>(LoginOpcodes.AUTH_LOGIN_CHALLENGE, OnAuthLoginChallenge); Router.AddHandler<PCAuthLoginProof>(LoginOpcodes.AUTH_LOGIN_PROOF, OnAuthLoginProof); }