Show / Hide Table of Contents

Class SharedDecalSystem

Inheritance
System.Object
SharedDecalSystem
DecalSystem
DecalSystem
Namespace: Content.Shared.Decals
Assembly: Content.Shared.dll
Syntax
public abstract class SharedDecalSystem : EntitySystem

Fields

| Improve this Doc View Source

ChunkSize

Declaration
public const int ChunkSize = null
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MapManager

Declaration
protected readonly IMapManager MapManager
Field Value
Type Description
Robust.Shared.Map.IMapManager
| Improve this Doc View Source

PrototypeManager

Declaration
protected readonly IPrototypeManager PrototypeManager
Field Value
Type Description
Robust.Shared.Prototypes.IPrototypeManager
| Improve this Doc View Source

PvsEnabled

Declaration
protected bool PvsEnabled
Field Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

ChunkCollection(EntityUid, DecalGridComponent)

Declaration
protected Dictionary<Vector2i, DecalGridComponent.DecalChunk>? ChunkCollection(EntityUid gridEuid, DecalGridComponent comp = null)
Parameters
Type Name Description
EntityUid gridEuid
DecalGridComponent comp
Returns
Type Description
System.Nullable<Dictionary<Vector2i, DecalGridComponent.DecalChunk>>
| Improve this Doc View Source

DirtyChunk(EntityUid, Vector2i, DecalGridComponent.DecalChunk)

Declaration
protected virtual void DirtyChunk(EntityUid id, Vector2i chunkIndices, DecalGridComponent.DecalChunk chunk)
Parameters
Type Name Description
EntityUid id
Vector2i chunkIndices
DecalGridComponent.DecalChunk chunk
| Improve this Doc View Source

GetChunkIndices(Vector2)

Declaration
public static Vector2i GetChunkIndices(Vector2 coordinates)
Parameters
Type Name Description
Vector2 coordinates
Returns
Type Description
Vector2i
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

OnDecalRemoved(EntityUid, UInt32, DecalGridComponent, Vector2i, DecalGridComponent.DecalChunk)

Declaration
protected virtual void OnDecalRemoved(EntityUid gridId, uint decalId, DecalGridComponent component, Vector2i indices, DecalGridComponent.DecalChunk chunk)
Parameters
Type Name Description
EntityUid gridId
System.UInt32 decalId
DecalGridComponent component
Vector2i indices
DecalGridComponent.DecalChunk chunk
| Improve this Doc View Source

RemoveDecalInternal(EntityUid, UInt32, out Decal, DecalGridComponent)

Declaration
protected bool RemoveDecalInternal(EntityUid gridId, uint decalId, out Decal removed, DecalGridComponent component = null)
Parameters
Type Name Description
EntityUid gridId
System.UInt32 decalId
Decal removed
DecalGridComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾