#include <src/Commands/DumpTypes.h>
List of all members.
Constructor & Destructor Documentation
virtual DumperTypesCommandClass::~DumperTypesCommandClass |
( |
| ) |
[inline, virtual] |
DumperTypesCommandClass::DumperTypesCommandClass |
( |
| ) |
[inline] |
Member Function Documentation
virtual void DumperTypesCommandClass::Execute |
( |
DWORD |
dwUnk | ) |
[inline, virtual] |
{
Debug::Log("Dumping all Types\n\n");
Debug::Log("Dumping Rules Types\n\n");
LOGTYPE(Anim, Animations);
LOGTYPE(Weapon, WeaponTypes);
LOGTYPE(Warhead, Warheads);
LOGTYPE(Bullet, Projectiles);
LOGTYPE(House, Countries);
LOGTYPE(Infantry, InfantryTypes);
LOGTYPE(Unit, VehicleTypes);
LOGTYPE(Aircraft, AircraftTypes);
LOGTYPE(Building, BuildingTypes);
LOGTYPE(SuperWeapon, SuperWeaponTypes);
LOGTYPE(Smudge, SmudgeTypes);
LOGTYPE(Overlay, OverlayTypes);
LOGTYPE(Particle, Particles);
LOGTYPE(ParticleSystem, ParticleSystems);
Debug::Log("Dumping AI Types\n\n");
LOGTYPE(Script, ScriptTypes);
LOGTYPE(Team, TeamTypes);
Debug::Log("[TaskForces]\n");
for(int i = 0; i < TaskForceClass::Array->Count; ++i) {
TaskForceClass *X = TaskForceClass::Array->GetItem(i);
Debug::Log("%d = %s\n", i, X->get_ID());
}
Debug::Log("[AITriggerTypes]\n");
for(int i = 0; i < AITriggerTypeClass::Array->Count; ++i) {
char Buffer[1024];
memset(Buffer, 0, 1024);
AITriggerTypeClass::Array->GetItem(i)->FormatForSaving(Buffer);
Debug::Log("%s\n", Buffer);
}
Debug::Log("[AITriggerTypesEnable]\n");
for(int i = 0; i < AITriggerTypeClass::Array->Count; ++i) {
AITriggerTypeClass *X = AITriggerTypeClass::Array->GetItem(i);
Debug::Log("%X = %s\n", X->get_ID(), X->IsEnabled ? "yes" : "no");
}
MessageListClass::Instance->PrintMessage(L"Type data dumped");
}
virtual const char* DumperTypesCommandClass::GetName |
( |
| ) |
[inline, virtual] |
{ return "Dump Data Types"; }
virtual const wchar_t* DumperTypesCommandClass::GetUICategory |
( |
| ) |
[inline, virtual] |
{ return L"Development"; }
virtual const wchar_t* DumperTypesCommandClass::GetUIDescription |
( |
| ) |
[inline, virtual] |
{ return L"Dumps the current type list to the log"; }
virtual const wchar_t* DumperTypesCommandClass::GetUIName |
( |
| ) |
[inline, virtual] |
{ return L"Dump Types"; }
The documentation for this class was generated from the following file: