All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zerotoheroes.hsgameentities.replaydata.meta.MetaData Maven / Gradle / Ivy

There is a newer version: 1.0.37
Show newest version
package com.zerotoheroes.hsgameentities.replaydata.meta;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;

import com.zerotoheroes.hsgameentities.replaydata.GameData;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@ToString
public class MetaData extends GameData {

	@XmlAttribute(name = "data")
	private int data;

	@XmlAttribute(name = "entity")
	private int entity;

	@XmlAttribute(name = "info")
	private int info;

	@XmlAttribute(name = "meta")
	private int meta;

	@XmlElement(name = "Info")
	private List metaInfo = new ArrayList<>();

	@Builder
	public MetaData(String timestamp, int data, int info, int meta, int entity, List metaInfo) {
		super(timestamp);
		this.data = data;
		this.info = info;
		this.meta = meta;
		this.entity = entity;
		this.metaInfo = metaInfo;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy