Show / Hide Table of Contents

Class SharedGodmodeSystem

Inheritance
System.Object
SharedGodmodeSystem
GodmodeSystem
GodmodeSystem
Namespace: Content.Shared.Damage.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedGodmodeSystem : EntitySystem

Methods

| Improve this Doc View Source

DisableGodmode(EntityUid, GodmodeComponent)

Declaration
public virtual void DisableGodmode(EntityUid uid, GodmodeComponent godmode = null)
Parameters
Type Name Description
EntityUid uid
GodmodeComponent godmode
| Improve this Doc View Source

EnableGodmode(EntityUid, GodmodeComponent)

Declaration
public virtual void EnableGodmode(EntityUid uid, GodmodeComponent godmode = null)
Parameters
Type Name Description
EntityUid uid
GodmodeComponent godmode
| Improve this Doc View Source

Initialize()

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

ToggleGodmode(EntityUid)

Toggles godmode for a given entity.

Declaration
public bool ToggleGodmode(EntityUid uid)
Parameters
Type Name Description
EntityUid uid

The entity to toggle godmode for.

Returns
Type Description
System.Boolean

true if enabled, false if disabled.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾