Ejemplo n.º 1
0
            public PropertyChain(Member[] members)
            {
                _chain = new Member[members.Length - 1];
                for (int i = 0; i < _chain.Length; i++)
                {
                    _chain[i] = members[i];
                }

                innerMember = new SingleMember(members[members.Length - 1]);
            }
Ejemplo n.º 2
0
 public NearTeamInfo(st.net.NetBase.team_info _info)
 {
     teamID     = (int)_info.tid;
     leaderID   = (int)_info.leader_id;
     maxPlayer  = (int)_info.max_plys;
     fight      = (int)_info.fighting;
     memberList = new List <SingleMember>();
     for (int i = 0; i < _info.members.Count; i++)
     {
         SingleMember singleinfo = new SingleMember(_info.members[i]);
         memberList.Add(singleinfo);
     }
 }