private void processAnimAssetTag(visualModelAnimAssetTag tag, VisContainer container, string filename) { switch (tag.type) { case visualModelAnimAssetTag.TagType.Light: container.addLight(tag.name, filename); break; case visualModelAnimAssetTag.TagType.Particle: container.addParticle(tag.name, filename); break; case visualModelAnimAssetTag.TagType.TerrainEffect: container.addTerrainEffect(tag.name, filename); break; case visualModelAnimAssetTag.TagType.BuildingDecal: container.addDecalTexture(tag.name, filename); break; } }
private void processComponentOrAnimAttach(visualModelComponentOrAnimAttach attach, VisContainer container, string filename) { switch (attach.type) { case visualModelComponentOrAnimAttach.AttachType.LightFile: container.addLight(attach.name, filename); break; case visualModelComponentOrAnimAttach.AttachType.ModelFile: container.addModel(attach.name, filename); break; case visualModelComponentOrAnimAttach.AttachType.ModelRef: break; case visualModelComponentOrAnimAttach.AttachType.ParticleFile: container.addParticle(attach.name, filename); break; case visualModelComponentOrAnimAttach.AttachType.TerrainEffect: container.addTerrainEffect(attach.name, filename); break; } }