public override ByteArray Write() { ByteArray data = new ByteArray(); data.WriteInt32(texture); return data; }