Show / Hide Table of Contents

Class TryStartStructureConstructionMessage

Sent client -> server to to tell the server that we started building a structure-construction.

Inheritance
System.Object
TryStartStructureConstructionMessage
Namespace: Content.Shared.Construction
Assembly: Content.Shared.dll
Syntax
public sealed class TryStartStructureConstructionMessage : EntityEventArgs

Constructors

| Improve this Doc View Source

TryStartStructureConstructionMessage(NetCoordinates, String, Angle, Int32)

Declaration
public TryStartStructureConstructionMessage(NetCoordinates loc, string prototypeName, Angle angle, int ack)
Parameters
Type Name Description
Robust.Shared.Map.NetCoordinates loc
System.String prototypeName
Angle angle
System.Int32 ack

Fields

| Improve this Doc View Source

Ack

Identifier to be sent back in the acknowledgement so that the client can clean up its ghost.

Declaration
public readonly int Ack
Field Value
Type Description
System.Int32
Remarks

So essentially the client is sending its own entity to the server so it knows to delete it when it gets server response back.

| Improve this Doc View Source

Angle

Declaration
public readonly Angle Angle
Field Value
Type Description
Angle
| Improve this Doc View Source

Location

Position to start building.

Declaration
public readonly NetCoordinates Location
Field Value
Type Description
Robust.Shared.Map.NetCoordinates
| Improve this Doc View Source

PrototypeName

The construction prototype to start building.

Declaration
public readonly string PrototypeName
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾