コード例 #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));
        }
コード例 #2
0
 public LoginSuccessScriptServer(PlayerPOCO PlayerInfo)
     : base(ScriptName)
 {
     this.PlayerInfo = PlayerInfo;
 }