16 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			642 B
		
	
	
	
		
			Java
		
	
	
	
	
	
| package com.mojang.realmsclient.dto;
 | |
| 
 | |
| import com.google.gson.annotations.SerializedName;
 | |
| import java.util.List;
 | |
| import net.fabricmc.api.EnvType;
 | |
| import net.fabricmc.api.Environment;
 | |
| import org.jetbrains.annotations.Nullable;
 | |
| 
 | |
| @Environment(EnvType.CLIENT)
 | |
| public record RealmsConfigurationDto(
 | |
| 	@SerializedName("options") RealmsSlotUpdateDto options,
 | |
| 	@SerializedName("settings") List<RealmsSetting> settings,
 | |
| 	@Nullable @SerializedName("regionSelectionPreference") RegionSelectionPreferenceDto regionSelectionPreference,
 | |
| 	@Nullable @SerializedName("description") RealmsDescriptionDto description
 | |
| ) implements ReflectionBasedSerialization {
 | |
| }
 |