Go to file
2024-01-16 00:55:01 +01:00
CS2GSI Change Event Args for OnDamageTaken, OnHealthChange, OnMonkeyChange, OnArmorChange to reflect changes, not new values 2024-01-16 00:55:01 +01:00
TestApp Add EventArgs 2024-01-15 23:52:30 +01:00
.gitignore Initial Commit 2024-01-15 23:06:34 +01:00
CS2GSI.sln Created Testapp 2024-01-15 23:06:38 +01:00
LICENSE Initial Commit 2024-01-15 23:06:34 +01:00
README.md Update Readme 2024-01-16 00:48:11 +01:00

CS2GSI

Example Usage

public static void Main(string[] args)
    {
        CS2GSI.CS2GSI gsi = new ();
        gsi.AnyMessage += eventArgs => Console.WriteLine("Message");
        gsi.OnKill += eventArgs => Console.WriteLine($"Kill number {eventArgs.ValueAsOrDefault<int>()}");
        while(gsi.IsRunning)
            Thread.Sleep(10);
    }

Events

  • OnKill
  • OnHeadshot
  • OnDeath
  • OnFlashed
  • OnBurning
  • OnSmoked
  • OnRoundStart
  • OnRoundOver
  • OnRoundWin
  • OnRoundLoss
  • OnDamageTaken
  • OnMatchStart
  • OnMatchOver
  • OnMoneyChange
  • OnHealthChange
  • OnArmorChange
  • OnHelmetChange
  • OnEquipmentValueChange
  • OnTeamChange
  • OnPlayerChange
  • OnHalfTime
  • OnFreezeTime
  • OnBombPlanted
  • OnBombDefused
  • OnBombExploded
  • AnyEvent
  • AnyMessage