示例#1
0
        public void Disguise(byte AsPlayerId)
        {
            if (Player == null)
            {
                return;
            }
            if (Player.PlayerId == AsPlayerId)
            {
                OriginalSkin.Setup(Player);
                return;
            }

            var AsPlayer = PlayerTools.GetPlayerById(AsPlayerId);

            if (AsPlayer == null)
            {
                return;
            }

            var NewPerson = PersonInfo.From(AsPlayer.Data);

            NewPerson.Setup(Player);
        }
示例#2
0
        public override void PlayerAssigned()
        {
            base.PlayerAssigned();

            OriginalSkin = PersonInfo.From(Player.Data);
        }