Class DragonSystem
Inheritance
System.Object
DragonSystem
Namespace: Content.Server.Dragon
Assembly: Content.Server.dll
Syntax
public sealed class DragonSystem : EntitySystem
Methods
| Improve this Doc View SourceDeleteRifts(EntityUid, Boolean, DragonComponent)
Delete all rifts this dragon made.
Declaration
public void DeleteRifts(EntityUid uid, bool resetRole, DragonComponent comp = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | Entity id of the dragon |
System.Boolean | resetRole | If true, the role's rift count will be reset too |
DragonComponent | comp | The dragon component |
Initialize()
Declaration
public override void Initialize()
RiftCharged(EntityUid, DragonComponent)
Increment the dragon role's charged rift count.
Declaration
public void RiftCharged(EntityUid uid, DragonComponent comp = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
DragonComponent | comp |
RiftDestroyed(EntityUid, DragonComponent)
Do everything that needs to happen when a rift gets destroyed by the crew.
Declaration
public void RiftDestroyed(EntityUid uid, DragonComponent comp = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
DragonComponent | comp |
Update(Single)
Declaration
public override void Update(float frameTime)
Parameters
Type | Name | Description |
---|---|---|
System.Single | frameTime |