Esempio n. 1
0
        public void AddPlayer(PlayerCarac carac, ActorRTInfo info, NetConnection co)
        {
            // Container creation
            Player player = new Player();
            player.Carac = carac;
            player.Info = info;

            if (co != null)
            {
                player.Connection = co;
                co.Tag = carac.ActorID;
            }

            player.score = new PlayerScore();

            // And finally add it to our list
            List.Add(player.Carac.ActorID, player);
        }
Esempio n. 2
0
 public void MsgJoinConversationPlayer(Player player, bool newplayer)
 {
     PlayerCarac = player.Carac;
     ActorInfo = player.Info;
     Param2 = newplayer;
     MsgType = BBMsgType.JOIN_CONVERSATION;
 }
Esempio n. 3
0
 public void MsgAddPlayer(Player player, bool newplayer)
 {
    PlayerCarac = player.Carac;
    ActorInfo = player.Info;
    Param2 = newplayer;
    MsgType = BBMsgType.ADD_PLAYER;
 }