private String PlaceableObjectData(PlaceableObject po) { StringBuilder text = new StringBuilder(); if (po == null) { return(text.ToString()); } text.Append("\n\n-----PlaceableObject Data-----\n"); text.Append("\nbDezone: ").Append(po.bDezone); text.Append("\nbWriteToMapCache: ").Append(po.bWriteToMapCache); text.Append("\nCanBeDestroyed: ").Append(po.CanBeDestroyed); text.Append("\ncollectionIndex: ").Append(po.collectionIndex); text.Append("\nconstructionDuration: ").Append(po.constructionDuration); text.Append("\nconstructionState: ").Append(po.constructionState); text.Append("\nconstructionType: ").Append(po.constructionType); text.Append("\nCreatePrice: ").Append(po.CreatePrice); text.Append("\nfacingConfig: ").Append(FacingConfigData(po.facingConfig)); text.Append("\nheight: ").Append(po.height); text.Append("\nHidden: ").Append(po.Hidden); text.Append("\nHourlyPrice: ").Append(po.HourlyPrice); text.Append("\niprefab: ").Append(po.iprefab); text.Append("\nIsCrosswalk: ").Append(po.IsCrosswalk); text.Append("\nisDestroyable: ").Append(po.isDestroyable); text.Append("\nisFootprintSet: ").Append(po.isFootprintSet); text.Append("\nisPseudoWall: ").Append(po.isPseudoWall); text.Append("\nMaxAllowed: ").Append(po.MaxAllowed); text.Append("\nMyZeroAllocName: ").Append(po.MyZeroAllocName); text.Append("\nPieceCountTotal: ").Append(po.PieceCountTotal); text.Append("\nPlacementSound: ").Append(po.PlacementSound); text.Append("\nplacementVOffset: ").Append(po.placementVOffset); text.Append("\nprefab: ").Append(po.prefab); text.Append("\nrequiresSectorRebuild: ").Append(po.requiresSectorRebuild); text.Append("\nrequiresSecureArea: ").Append(po.requiresSecureArea); text.Append("\nrotateType: ").Append(po.rotateType); text.Append("\nSector: -----\n").Append(po.Sector).Append("\nEnd Sector-----"); text.Append("\nsnapToGridSize: ").Append(po.snapToGridSize); text.Append("\nVerticalHeight: ").Append(po.VerticalHeight); text.Append("\nwidth: ").Append(po.width); text.Append("\nfacing: ").Append(po.facing); text.Append("\nisBuilt: ").Append(po.isBuilt); text.Append("\nisPlaced: ").Append(po.isPlaced); text.Append("\nMarkers: "); foreach (Marker mo in po.Markers()) { text.Append(MarkerData(mo)); } text.Append("\n:Inspect(): ").Append(po.Inspect()).Append("\nEnd Inspect()-----\n"); text.Append("\nOddRotation: ").Append(po.OddRotation()); text.Append("\neffectEmitter: ").Append(EffectEmitterData(po.effectEmitter)); text.Append("\nmaintainable: ").Append(MaintainableData(po.maintainable)); text.Append("\nfootprint: ").Append(RectData(po.footprint)); text.Append("\nrendererRect: ").Append(RectData(po.rendererRect)); text.Append("\nOriginalPosition: "); text.Append("\n\tx").Append(po.OriginalPosition.x); text.Append("\n\ty").Append(po.OriginalPosition.y); text.Append("\n\tz").Append(po.OriginalPosition.z); return(text.ToString()); }