Have we thought about using a bitmask instead of a number for
clientver? Since we're only working with 3 clients (6.2, Titanium, & SoF), it would only use 3 bits (values 0-7), and allow for more flexibility (and fewer ORs in our IF statements):
Code:
0: None
1: 6.2
2: Titanium
3: 6.2 & Titanium
4: SoF
5: 6.2 & SoF
6: Titanium & SoF
7: 6.2, Titanium, & SoF