private void SendDeckImage(DataOutputStream writer, int slot, DeckImage img) { if (img != null) { //Write the slot writer.WriteInt(slot); //Write the byte array lenght writer.WriteInt(img.InternalBitmap.Length); //Write the byte array writer.Write(img.InternalBitmap); } }
public override DeckImage GetDeckImage() { return(DeckImage.GetItemImage()); }
public void AddToQueue(int slot, DeckImage img) { toSend.Add(slot, img); }
public SingleSlotImageChangePacket(DeckImage deckImage) { DeckImage = deckImage; }
public Labels(int id, IDeckItem item, DeckImage image) { this.id = id; this.item = item; this.image = image; }
public SingleUniversalChangePacket(DeckImage deckImage) { DeckImage = deckImage; }