This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.config/starship.toml | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "🔌" | |
discharging_symbol = "⚡" | |
[[battery.display]] | |
threshold = 30 | |
style = "bold red" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int CrossID;//this variable stores the current CrosshairID | |
//add the current base and offsets here, ReadAddress is my custom ReadProcessMemory function. You have to find your own online or create it yourself to RPM! | |
CrossID = ReadAddress(process, base+offsets); | |
if (CrossID != 0 ) //if there is something in the Crosshair | |
{ | |
this.BackColor = Color.Green;//just to see if it works |