Show / Hide Table of Contents

Class TileSystem

Handles server-side tile manipulation like prying/deconstructing tiles.

Inheritance
System.Object
TileSystem
Namespace: Content.Server.Maps
Assembly: Content.Server.dll
Syntax
public sealed class TileSystem : EntitySystem

Methods

| Improve this Doc View Source

CutTile(TileRef)

Declaration
public bool CutTile(TileRef tileRef)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tileRef
Returns
Type Description
System.Boolean
| Improve this Doc View Source

PryTile(TileRef)

Declaration
public bool PryTile(TileRef tileRef)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tileRef
Returns
Type Description
System.Boolean
| Improve this Doc View Source

PryTile(TileRef, Boolean)

Declaration
public bool PryTile(TileRef tileRef, bool pryPlating)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tileRef
System.Boolean pryPlating
Returns
Type Description
System.Boolean
| Improve this Doc View Source

PryTile(Vector2i, EntityUid)

Declaration
public bool PryTile(Vector2i indices, EntityUid gridId)
Parameters
Type Name Description
Vector2i indices
EntityUid gridId
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ReplaceTile(TileRef, ContentTileDefinition)

Declaration
public bool ReplaceTile(TileRef tileref, ContentTileDefinition replacementTile)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tileref
ContentTileDefinition replacementTile
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ReplaceTile(TileRef, ContentTileDefinition, EntityUid, MapGridComponent)

Declaration
public bool ReplaceTile(TileRef tileref, ContentTileDefinition replacementTile, EntityUid grid, MapGridComponent component = null)
Parameters
Type Name Description
Robust.Shared.Map.TileRef tileref
ContentTileDefinition replacementTile
EntityUid grid
Robust.Shared.Map.Components.MapGridComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾