示例#1
0
        public void LoadMPlayers()
        {
            MPlayerAccounts.Clear();
            ICollection <MPlayer> mPlayers = MPlayers.Instance.GetAllMPlayers();

            foreach (MPlayer mPlayer in mPlayers)
            {
                if (mPlayer.MUser.Id == Id)
                {
                    MPlayerAccounts.Add(mPlayer);
                }
            }
        }
示例#2
0
        public void CreateMPlayer()
        {
            MPlayer mPlayer = new MPlayer(this);

            MPlayerAccounts.Add(mPlayer);
        }