You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
700 B

package app.entities.server.request;
import app.entities.server.players.RCONPlayer;
import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
@Data
public class PlayerOnServer extends RCONPlayer {
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
float pos_x = 0.0F;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
float pos_y = 0.0F;
@JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
float pos_z = 0.0F;
//int duration_seconds = 0;
@JsonGetter
public float[] getPos() {
return new float[]{pos_x, pos_y, pos_z};
}
public int clz = 0;
public int team = 0;
}