Esempio n. 1
0
        protected internal override void Execute(IOnlineConnection ActivePlayer)
        {
            PlayerPOCO PlayerInfo = Owner.Database.LogInPlayer(Login, Password, Owner.IP, Owner.Port);

            ActivePlayer.ID   = PlayerInfo.ID;
            ActivePlayer.Name = PlayerInfo.Name;
            ActivePlayer.Send(new LoginSuccessScriptServer(PlayerInfo));
        }
 public LoginSuccessScriptServer(PlayerPOCO PlayerInfo)
     : base(ScriptName)
 {
     this.PlayerInfo = PlayerInfo;
 }