Пример #1
0
 public pnAuthSession(pnAuthServer parent, Socket s, pnCli2Srv_Connect hdr)
     : base(s, hdr)
 {
     fParent = parent;
     fLog = plDebugLog.GetLog("AuthSrv");
     fChallenge = BitConverter.ToUInt32(RNG.Random(4), 0);
 }
Пример #2
0
        public pnLobby(bool auth, bool file, bool game, bool gate, bool lookup, bool vault)
        {
            if (auth) {
                fAuth = new pnAuthServer();
                fAuth.CheckDb();
            }

            if (vault) {
                fVault = new pnVaultServer();
                fVault.CheckDb();
            }
        }