Changes

→‎Data model: change example from float to more common int
Line 73: Line 73:  
{
 
{
 
   public bool ExampleBoolean { get; set; }
 
   public bool ExampleBoolean { get; set; }
   public float ExampleFloat { get; set; }
+
   public int ExampleNumber { get; set; }
 
}
 
}
 
</source>
 
</source>
Line 81: Line 81:  
{
 
{
 
   "ExampleBoolean": false,
 
   "ExampleBoolean": false,
   "ExampleFloat": 0
+
   "ExampleNumber": 0
 
}
 
}
 
</source>
 
</source>
Line 91: Line 91:  
{
 
{
 
   public bool ExampleBoolean { get; set; } = true;
 
   public bool ExampleBoolean { get; set; } = true;
   public float ExampleFloat { get; set; } = 0.5f;
+
   public int ExampleNumber { get; set; } = 5;
 
}
 
}
 
</source>
 
</source>
Line 101: Line 101:  
{
 
{
 
   public bool ExampleBoolean { get; set; }
 
   public bool ExampleBoolean { get; set; }
   public float ExampleFloat { get; set; }
+
   public int ExampleNumber { get; set; }
    
   public ModData()
 
   public ModData()
 
   {
 
   {
 
       this.ExampleBoolean = true;
 
       this.ExampleBoolean = true;
       this.ExampleFloat = 0.5f;
+
       this.ExampleNumber = 5;
 
   }
 
   }
 
}
 
}
translators
8,404

edits