Projektdateien hinzufügen.

This commit is contained in:
2024-05-05 15:59:49 +02:00
parent 74da0c6962
commit 7c28a6ee17
242 changed files with 23697 additions and 0 deletions

31
SM64Lib/RomSpaceInfo.cs Normal file
View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SM64Lib
{
public class RomSpaceInfo
{
public long MaxAvailableSpace { get; set; }
public long UsedLevelsSpace { get; set; }
public long UsedMusicSpace { get; set; }
public long UsedGlobalBehaviorSpace { get; set; }
public long UsedGlobalModelsSpace { get; set; }
public long TotalUsedSpace
{
get =>
UsedLevelsSpace +
UsedMusicSpace +
UsedGlobalBehaviorSpace +
UsedGlobalModelsSpace;
}
public long FreeSpace
{
get => MaxAvailableSpace - TotalUsedSpace;
}
}
}