// <auto-generated />
#nullable enable
#pragma warning disable CS1591

using System;
using System.Diagnostics;
using System.Drawing;
using CounterStrikeSharp;
using CounterStrikeSharp.API.Modules.Events;
using CounterStrikeSharp.API.Modules.Entities;
using CounterStrikeSharp.API.Modules.Memory;
using CounterStrikeSharp.API.Modules.Utils;
using CounterStrikeSharp.API.Core.Attributes;

namespace CounterStrikeSharp.API.Core;

public partial class CEnvGlobal : CLogicalEntity
{
    public CEnvGlobal (IntPtr pointer) : base(pointer) {}

	// m_globalstate
	[SchemaMember("CEnvGlobal", "m_globalstate")]
	public string Globalstate
	{
		get { return Schema.GetUtf8String(this.Handle, "CEnvGlobal", "m_globalstate"); }
		set { Schema.SetString(this.Handle, "CEnvGlobal", "m_globalstate", value); }
	}

	// m_triggermode
	[SchemaMember("CEnvGlobal", "m_triggermode")]
	public ref Int32 Triggermode => ref Schema.GetRef<Int32>(this.Handle, "CEnvGlobal", "m_triggermode");

	// m_initialstate
	[SchemaMember("CEnvGlobal", "m_initialstate")]
	public ref Int32 Initialstate => ref Schema.GetRef<Int32>(this.Handle, "CEnvGlobal", "m_initialstate");

	// m_counter
	[SchemaMember("CEnvGlobal", "m_counter")]
	public ref Int32 Counter => ref Schema.GetRef<Int32>(this.Handle, "CEnvGlobal", "m_counter");

}
