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 SourceTryStartStructureConstructionMessage(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 SourceAck
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.
Angle
Declaration
public readonly Angle Angle
Field Value
Type | Description |
---|---|
Angle |
Location
Position to start building.
Declaration
public readonly NetCoordinates Location
Field Value
Type | Description |
---|---|
Robust.Shared.Map.NetCoordinates |
PrototypeName
The construction prototype to start building.
Declaration
public readonly string PrototypeName
Field Value
Type | Description |
---|---|
System.String |