Ignore:
Timestamp:
Aug 7, 2022, 1:11:51 AM (2 years ago)
Author:
alloc
Message:

Finished up REST API base
Made API handler look for APIs in all loaded mods

Location:
binary-improvements2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2

    • Property svn:ignore
      •  

        old new  
         1.idea
        12bin
        2 .idea
         3server-fixes.sln.DotSettings.user
  • binary-improvements2/7dtd-server-fixes

    • Property svn:ignore
      •  

        old new  
         1bin
        12obj
  • binary-improvements2/7dtd-server-fixes/src/JSON/JSONBoolean.cs

    r351 r389  
    3434                        throw new MalformedJSONException ("No valid boolean found");
    3535                }
     36
     37                public override string AsString => value ? "true" : "false";
     38                public override int AsInt => value ? 1 : 0;
     39                public override double AsDouble => AsInt;
    3640        }
    3741}
Note: See TracChangeset for help on using the changeset viewer.