internal Character(CharacterManager characterManager, byte slot, CharacterGender gender) { CharacterManager = characterManager; Weapons = new WeaponManager(this); Skills = new SkillManager(this); Costumes = new CostumeManager(this); Slot = slot; Gender = gender; }
internal Character(CharacterManager characterManager, PlayerCharacterDto dto) { CharacterManager = characterManager; Weapons = new WeaponManager(this, dto); Skills = new SkillManager(this, dto); Costumes = new CostumeManager(this, dto); var defaultItems = GameServer.Instance.ResourceCache.GetDefaultItems(); ExistsInDatabase = true; Id = dto.Id; Slot = dto.Slot; Gender = (CharacterGender)dto.Gender; }