ConstructionGL2 Part 2: Better guided steps and recipes. (#5103)
This commit is contained in:
committed by
GitHub
parent
5be8271907
commit
5a5006e4cf
@@ -60,7 +60,7 @@ namespace Content.Shared.Construction
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Send server -> client to tell the client that a ghost has started to be constructed.
|
||||
/// Sent server -> client to tell the client that a ghost has started to be constructed.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class AckStructureConstructionMessage : EntityEventArgs
|
||||
@@ -72,5 +72,35 @@ namespace Content.Shared.Construction
|
||||
GhostId = ghostId;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sent client -> server to request a specific construction guide.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class RequestConstructionGuide : EntityEventArgs
|
||||
{
|
||||
public readonly string ConstructionId;
|
||||
|
||||
public RequestConstructionGuide(string constructionId)
|
||||
{
|
||||
ConstructionId = constructionId;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sent server -> client as a response to a <see cref="RequestConstructionGuide"/> net message.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public class ResponseConstructionGuide : EntityEventArgs
|
||||
{
|
||||
public readonly string ConstructionId;
|
||||
public readonly ConstructionGuide Guide;
|
||||
|
||||
public ResponseConstructionGuide(string constructionId, ConstructionGuide guide)
|
||||
{
|
||||
ConstructionId = constructionId;
|
||||
Guide = guide;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user