boolean c# example

Example 1: private bool MinimapAutoSpot bf4

public static Int64 m_pSpottingTargetComponentData = 0x0BF0; //SpottingTargetComponentData   public struct PZ_SpottingTargetComponentData //ClientSpottingTargetComponent        {            public enum SpotType            {                SpotType_None,                SpotType_Active,                SpotType_Passive,                SpotType_Radar,                SpotType_Unspottable            };            //SpotType activeSpotType; //0x50             public static Int64 m_spotType = 0x0050; //0x0010;  // SpottingTargetComponentData        };

Example 2: private bool MinimapAutoSpot bf4

ReadProcessMemory(hProcess, (LPCVOID)(onlinePlayer + 0x14D0), &oClientSoldier, sizeof(DWORD_PTR), NULL);		if (!IsValid(oClientSoldier));		cout << "oClientSoldier = 0x" << hex << oClientSoldier << endl;		// I read shit		ReadProcessMemory(hProcess, (LPCVOID)(oClientSoldier + 0xBF0), &spottingTargetComponentData, sizeof(DWORD_PTR), NULL);		if (!IsValid(spottingTargetComponentData));		cout << "spottingTargetComponentData = 0x" << hex << spottingTargetComponentData << endl;		cout << "spottingTargetComponentData = " << dec << spottingTargetComponentData << endl; 		ReadProcessMemory(hProcess, (LPCVOID)(spottingTargetComponentData + 0x50), &spotType, sizeof(int), NULL);		cout << "spotType = 0x" << hex << spotType << endl << endl;