#nullable enable
using System;
using CounterStrikeSharp.API.Modules.Events;
using CounterStrikeSharp.API.Modules.Entities;
using CounterStrikeSharp.API.Core.Attributes;

namespace CounterStrikeSharp.API.Core;

[EventName("bomb_begindefuse")]
public class EventBombBegindefuse : GameEvent
{
    public EventBombBegindefuse(IntPtr pointer) : base(pointer){}
    public EventBombBegindefuse(bool force) : base("bomb_begindefuse", force){}
    
    public bool Haskit
    {
        get => Get<bool>("haskit");
        set => Set<bool>("haskit", value);
    }
// player who is defusing
    public CCSPlayerController? Userid
    {
        get => GetPlayer("userid");
        set => SetPlayer("userid", value);
    }
}
#nullable restore
