01-17-2015, 10:04 PM
Some basic info to help get people going, who might also be interested in going down this path.
Some of the building types are missing - particularly TH9+, as I don't have anyone in my clan above TH8 (lame I know!). I've only started building up these types in the last few days, so it's on my to-do list to circle back and find a couple of TH9's/TH10's while raiding, to fill in the gaps.
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
ElixirStorage = 1000003,
GoldCollector = 1000004,
GoldStorage = 1000005,
Barracks = 1000006,
Laboratory = 1000007,
Cannon = 1000008,
ArcherTower = 1000009,
Wall = 1000010,
WizardTower = 1000011,
AirDefense = 1000012,
Mortar = 1000013,
ClanCastle = 1000014,
BuilderHut = 1000015,
HiddenTesla = 1000019,
SpellFactory = 1000020,
BarbarianKing = 1000022,
DarkElixirDrill = 1000023,
DarkElixirStorage = 1000024,
DarkBarracks = 1000026
}
public enum ClashTroopType
{
Barbarian = 4000000,
Archer = 4000001,
Goblin = 4000002,
Giant = 4000003,
Wallbreaker = 4000004,
Balloon = 4000005,
Wizard = 4000006,
Healer = 4000007,
Dragon = 4000008,
Pekka = 4000009
}
Some of the building types are missing - particularly TH9+, as I don't have anyone in my clan above TH8 (lame I know!). I've only started building up these types in the last few days, so it's on my to-do list to circle back and find a couple of TH9's/TH10's while raiding, to fill in the gaps.
public enum ClashBuildingType
{
ArmyCamp = 1000000,
TownHall = 1000001,
ElixirCollector = 1000002,
ElixirStorage = 1000003,
GoldCollector = 1000004,
GoldStorage = 1000005,
Barracks = 1000006,
Laboratory = 1000007,
Cannon = 1000008,
ArcherTower = 1000009,
Wall = 1000010,
WizardTower = 1000011,
AirDefense = 1000012,
Mortar = 1000013,
ClanCastle = 1000014,
BuilderHut = 1000015,
HiddenTesla = 1000019,
SpellFactory = 1000020,
BarbarianKing = 1000022,
DarkElixirDrill = 1000023,
DarkElixirStorage = 1000024,
DarkBarracks = 1000026
}
public enum ClashTroopType
{
Barbarian = 4000000,
Archer = 4000001,
Goblin = 4000002,
Giant = 4000003,
Wallbreaker = 4000004,
Balloon = 4000005,
Wizard = 4000006,
Healer = 4000007,
Dragon = 4000008,
Pekka = 4000009
}