Example #1
0
        public FishItem()
        {
            if (syncObject == null)
            {
                syncObject = new PySync(this);
                syncObject.init();
            }

            this.build();
        }
Example #2
0
        public FishItem(int id)
            : base(id, 1, false, -1, 1)
        {
            if (syncObject == null)
            {
                syncObject = new PySync(this);
                syncObject.init();
            }

            this.Name       += " ";
            this.Id          = id;
            this.Description = base.getDescription();
            this.FishStack.Add(new FishModel(-1, this.Name, -1, -1, 0, 1));
        }
Example #3
0
        public FishItem(int id, FishModel fish)
            : base(id, 1, false, -1, fish.quality)
        {
            if (syncObject == null)
            {
                syncObject = new PySync(this);
                syncObject.init();
            }

            this.Name       += " ";
            this.Id          = id;
            this.Description = base.getDescription();

            this.FishStack.Add(fish);
        }
Example #4
0
 public Bug()
 {
     syncObject = new PySync(this);
     syncObject.init();
 }