mirror of
https://github.com/MathiasLui/CSGO-Projects.git
synced 2025-05-06 22:01:18 +00:00

* Make necessary adjustments to have the same working program * AssemblyInfo is not set via the file anymore, but the csproj file or in the project settings under Package->General (AssemblyVersion is the one displayed in the Help window) * Add null-forgiving operators etc. for new language version * Move stuff that is shared between the DamageCalculator and ConfigManagerV2 into its separate project
32 lines
974 B
C#
32 lines
974 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Shared.Models
|
|
{
|
|
internal class BSPLump
|
|
{
|
|
/// <summary>
|
|
/// The offset of the lump block from the beginning of the file.
|
|
/// It's rounded up to the nearest 4-byte boundary, as is the corresponding data lump.
|
|
/// </summary>
|
|
public int LumpBlockOffset { get; set; }
|
|
|
|
/// <summary>
|
|
/// The length of the lump block in bytes.
|
|
/// </summary>
|
|
public int LumpBlockLength { get; set; }
|
|
|
|
/// <summary>
|
|
/// Version of the format of the lump, usually 0.
|
|
/// </summary>
|
|
public int LumpVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// The four CC identifier, that is usually all 0s. For compressed lumps it's the uncompressed lump data size as int.
|
|
/// </summary>
|
|
public char[] FourCC { get; set; } = new char[4];
|
|
}
|
|
}
|