protected void EarthView_World_Graphic_CParticleEmitterFactory_destroyEmitter_void_CParticleEmitter_Function(IntPtr e)
                {
                    EarthView.World.Graphic.ParticleEmitter csobj_e = new EarthView.World.Graphic.ParticleEmitter(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_e.BindNativeObject(e, "CParticleEmitter");
                    csobj_e.Delegate = true;
                    IClassFactory csobj_eClassFactory = GlobalClassFactoryMap.Get(csobj_e.GetCppInstanceTypeName());

                    if (csobj_eClassFactory != null)
                    {
                        csobj_e.Delegate = true;
                        csobj_e          = csobj_eClassFactory.Create() as EarthView.World.Graphic.ParticleEmitter;
                        csobj_e.BindNativeObject(e, "CParticleEmitter");
                        csobj_e.Delegate = true;
                    }

                    DestroyEmitter(csobj_e);
                }
                    public override EarthView.World.Graphic.ParticleEmitter CreateEmitter(EarthView.World.Graphic.ParticleSystem psys)
                    {
                        IntPtr __ptr = EarthView_World_Plugin_ParticleFX_CPointEmitterFactory_createEmitter_CParticleEmitter_CParticleSystem(this.NativeObject, object.Equals(psys, null) ? IntPtr.Zero : psys.NativeObject);

                        if (__ptr == IntPtr.Zero)
                        {
                            return(null);
                        }
                        EarthView.World.Graphic.ParticleEmitter csObj = new EarthView.World.Graphic.ParticleEmitter(CreatedWhenConstruct.CWC_NotToCreate);
                        csObj.BindNativeObject(__ptr, "CParticleEmitter");
                        csObj.Delegate = true;
                        IClassFactory csObjClassFactory = GlobalClassFactoryMap.Get(csObj.GetCppInstanceTypeName());

                        if (csObjClassFactory != null)
                        {
                            csObj.Delegate = true;
                            csObj          = csObjClassFactory.Create() as EarthView.World.Graphic.ParticleEmitter;
                            csObj.BindNativeObject(__ptr, "CParticleEmitter");
                            csObj.Delegate = true;
                        }
                        return(csObj);
                    }