CharacterConnected() public method

public CharacterConnected ( CharacterEntity character ) : void
character Codebreak.Service.World.Game.Entity.CharacterEntity
return void
Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="character"></param>
        public void MemberJoin(CharacterEntity character)
        {
            var member = new GuildMember(this, character.DatabaseRecord);

            member.GuildId = Id;
            member.Rank    = GuildRankEnum.ON_TRIAL; // a l'essai
            member.CharacterConnected(character);
            member.SendGuildStats();
            character.RefreshOnMap();
            AddMember(member);
        }
Beispiel #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="character"></param>
        public void MemberBoss(CharacterEntity character)
        {
            var member = new GuildMember(this, character.DatabaseRecord)
            {
                GuildId = Id
            };

            member.SetBoss();
            member.CharacterConnected(character);
            member.SendGuildStats();
            character.RefreshOnMap();
            AddMember(member);
        }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="character"></param>
 public void MemberJoin(CharacterEntity character)
 {
     var member = new GuildMember(this, character.DatabaseRecord);
     member.GuildId = Id;
     member.Rank = GuildRankEnum.ON_TRIAL; // a l'essai
     member.CharacterConnected(character);
     member.SendGuildStats();
     character.RefreshOnMap();
     AddMember(member);
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="character"></param>
 public void MemberBoss(CharacterEntity character)
 {
     var member = new GuildMember(this, character.DatabaseRecord)
     {
         GuildId = Id
     };
     member.SetBoss();
     member.CharacterConnected(character);
     member.SendGuildStats();
     character.RefreshOnMap();
     AddMember(member);
 }