Esempio n. 1
0
 public void AddJoinRequest(long playerId)
 {
     m_joinRequests[playerId] = new MyFactionMember(playerId, false);
 }
Esempio n. 2
0
        public void AcceptJoin(long playerId)
        {
            MySession.Static.Factions.AddPlayerToFaction(playerId, FactionId);

            if (m_joinRequests.ContainsKey(playerId))
            {
                m_members[playerId] = m_joinRequests[playerId];
                m_joinRequests.Remove(playerId);
            }
            else if (AutoAcceptMember || MySession.Static.Settings.ScenarioEditMode)
                m_members[playerId] = new MyFactionMember(playerId, false);
        }
 public FactionMemberWrapper(MyFactionMember member, FactionWrapper faction )
 {
     Member = member;
     _faction = faction;
 }