NetworkingPeer.UpdatedActorList C# (CSharp) Method

UpdatedActorList() protected method

protected UpdatedActorList ( int actorsInRoom ) : void
actorsInRoom int
return void
    protected internal void UpdatedActorList(int[] actorsInRoom)
    {
        for (int i = 0; i < actorsInRoom.Length; i++)
        {
            int actorNrToCheck = actorsInRoom[i];
            if (this.mLocalActor.ID != actorNrToCheck && !this.mActors.ContainsKey(actorNrToCheck))
            {
                this.AddNewPlayer(actorNrToCheck, new PhotonPlayer(false, actorNrToCheck, string.Empty));
            }
        }
    }
NetworkingPeer