Jimmy Cushnie

Results 54 issues of Jimmy Cushnie

When using the `OnFileReloaded` callback in Unity apps, I pretty much always have to jump back to the main thread, since Unity doesn't let you do much from other threads....

feature/enhancement

I.e. you should be able to save and load IEnumerable, ICollection, IReadOnlyList. Internally the library would just handle it like an array

feature/enhancement

Suppose I have the following class: ```csharp public class Color { public byte R, G, B; public Color(byte r, byte g, byte b) => (R, G, B) = (r, g,...

feature/enhancement

Currently the order members are listed in an [apparently nondeterministic order](https://docs.microsoft.com/en-us/dotnet/api/system.type.getfields?view=net-5.0), however in my experience it is almost always the derived class members and then the base class members, in...

feature/enhancement

Today I had to write `0.5333333333`. It would be much better to write `1/3 + 0.2`.

feature/enhancement

```csharp [Flags] enum Flags { None = 0, UnionJack = 1, USA = 2, Communist = 4, SouthKorea = 8, } // ... var file = new DataFile("example"); var communistBritain...

feature/enhancement

The core of this project was written when I was a much less seasoned programmer, and SUCC as a whole is not up to my current standards of code quality....

SUCC does not support saving or loading interface types. This should be documented and it should throw an exception if you try.

Suppose we have the following file: ``` key : someValue # comment key2 : shortValue # another comment lmao ``` If we edit the value of `key2` to be longer,...

feature/enhancement

Internally, these use [System.Nullable](https://docs.microsoft.com/en-us/dotnet/api/system.nullable-1?view=netframework-4.8). SUCC should save the `Value` property, and load it by using the constructor.

feature/enhancement