Beispiel #1
0
        public override Packet GetInfo()
        {
            if (Item != null)
            {
                return new S.ObjectItem
                       {
                           ObjectID   = ObjectID,
                           Name       = Item.Count > 1 ? string.Format("{0} ({1})", Name, Item.Count) : Name,
                           NameColour = GlobalText.GradeDropNameColor(Item.Info.Grade),
                           Location   = CurrentLocation,
                           Image      = Item.Image
                       }
            }
            ;

            return(new S.ObjectGold
            {
                ObjectID = ObjectID,
                Gold = Gold,
                Location = CurrentLocation,
            });
        }