Skip to content

Commit

Permalink
chore: update schema (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
roflmuffin committed Jul 26, 2024
1 parent b7ea025 commit b79fd19
Show file tree
Hide file tree
Showing 11 changed files with 4,720 additions and 2,529 deletions.
2,007 changes: 0 additions & 2,007 deletions configs/addons/counterstrikesharp/gamedata/schema_classes.txt

This file was deleted.

320 changes: 0 additions & 320 deletions configs/addons/counterstrikesharp/gamedata/schema_enums.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ public string NetworkIDString
[SchemaMember("CBasePlayerController", "m_bGamePaused")]
public ref bool GamePaused => ref Schema.GetRef<bool>(this.Handle, "CBasePlayerController", "m_bGamePaused");

// m_nLastRealCommandNumberExecuted
[SchemaMember("CBasePlayerController", "m_nLastRealCommandNumberExecuted")]
public ref Int32 LastRealCommandNumberExecuted => ref Schema.GetRef<Int32>(this.Handle, "CBasePlayerController", "m_nLastRealCommandNumberExecuted");

// m_nLastLateCommandExecuted
[SchemaMember("CBasePlayerController", "m_nLastLateCommandExecuted")]
public ref Int32 LastLateCommandExecuted => ref Schema.GetRef<Int32>(this.Handle, "CBasePlayerController", "m_nLastLateCommandExecuted");

// m_iIgnoreGlobalChat
[SchemaMember("CBasePlayerController", "m_iIgnoreGlobalChat")]
public ref ChatIgnoreType_t IgnoreGlobalChat => ref Schema.GetRef<ChatIgnoreType_t>(this.Handle, "CBasePlayerController", "m_iIgnoreGlobalChat");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,6 @@ public string RagdollDamageWeaponName
[SchemaMember("CCSPlayerPawn", "m_ignoreLadderJumpTime")]
public ref float IgnoreLadderJumpTime => ref Schema.GetRef<float>(this.Handle, "CCSPlayerPawn", "m_ignoreLadderJumpTime");

// m_NumEnemiesKilledThisRound
[SchemaMember("CCSPlayerPawn", "m_NumEnemiesKilledThisRound")]
public ref Int32 NumEnemiesKilledThisRound => ref Schema.GetRef<Int32>(this.Handle, "CCSPlayerPawn", "m_NumEnemiesKilledThisRound");

// m_bKilledByHeadshot
[SchemaMember("CCSPlayerPawn", "m_bKilledByHeadshot")]
public ref bool KilledByHeadshot => ref Schema.GetRef<bool>(this.Handle, "CCSPlayerPawn", "m_bKilledByHeadshot");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ public CCSPlayerPawnBase (IntPtr pointer) : base(pointer) {}
[SchemaMember("CCSPlayerPawnBase", "m_angEyeAngles")]
public QAngle EyeAngles => Schema.GetDeclaredClass<QAngle>(this.Handle, "CCSPlayerPawnBase", "m_angEyeAngles");

// m_NumEnemiesAtRoundStart
[SchemaMember("CCSPlayerPawnBase", "m_NumEnemiesAtRoundStart")]
public ref Int32 NumEnemiesAtRoundStart => ref Schema.GetRef<Int32>(this.Handle, "CCSPlayerPawnBase", "m_NumEnemiesAtRoundStart");

// m_wasNotKilledNaturally
[SchemaMember("CCSPlayerPawnBase", "m_wasNotKilledNaturally")]
public ref bool WasNotKilledNaturally => ref Schema.GetRef<bool>(this.Handle, "CCSPlayerPawnBase", "m_wasNotKilledNaturally");
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,8 @@ public CSmokeGrenadeProjectile (IntPtr pointer) : base(pointer) {}
[SchemaMember("CSmokeGrenadeProjectile", "m_fllastSimulationTime")]
public ref float FllastSimulationTime => ref Schema.GetRef<float>(this.Handle, "CSmokeGrenadeProjectile", "m_fllastSimulationTime");

// m_bExplodeFromInferno
[SchemaMember("CSmokeGrenadeProjectile", "m_bExplodeFromInferno")]
public ref bool ExplodeFromInferno => ref Schema.GetRef<bool>(this.Handle, "CSmokeGrenadeProjectile", "m_bExplodeFromInferno");

}
Loading

0 comments on commit b79fd19

Please sign in to comment.