// Token: 0x06003DB1 RID: 15793 RVA: 0x000DDB58 File Offset: 0x000DBD58 public global::StructureComponent GetType(global::StructureComponent.StructureComponentType type) { switch (type) { case global::StructureComponent.StructureComponentType.Pillar: return(this._pillar); case global::StructureComponent.StructureComponentType.Wall: case global::StructureComponent.StructureComponentType.Doorway: case global::StructureComponent.StructureComponentType.WindowWall: return(this._wall); case global::StructureComponent.StructureComponentType.Ceiling: return(this._ceiling); case global::StructureComponent.StructureComponentType.Stairs: return(this._stairs); case global::StructureComponent.StructureComponentType.Foundation: return(this._foundation); default: return(null); } }
// Token: 0x06003D99 RID: 15769 RVA: 0x000DD220 File Offset: 0x000DB420 public global::StructureComponent CompByLocal(Vector3 localPos, global::StructureComponent.StructureComponentType type) { global::StructureComponentKey key = new global::StructureComponentKey(localPos); global::StructureMaster.CompPosNode compPosNode; if (this._structureComponentsByPosition.TryGetValue(key, out compPosNode)) { return(compPosNode.GetType(type)); } return(null); }
// Token: 0x06003D5E RID: 15710 RVA: 0x000DB9B4 File Offset: 0x000D9BB4 public bool IsType(global::StructureComponent.StructureComponentType checkType) { return(this.type == checkType); }