using Robust.Shared.Prototypes; using Robust.Shared.Serialization; namespace Content.Shared.Tips; /// /// Networked event that makes a client show a message on their screen using tippy or another protoype. /// [Serializable, NetSerializable] public sealed class TippyEvent(string msg, EntProtoId? proto, float speakTime, float slideTime, float waddleInterval) : EntityEventArgs { /// /// The text to show in the speech bubble. /// public string Msg = msg; /// /// The entity to show. Defaults to tippy. /// public EntProtoId? Proto = proto; /// /// The time the speech bubble is shown, in seconds. /// public float SpeakTime = speakTime; /// /// The time the entity takes to walk onto the screen, in seconds. /// public float SlideTime = slideTime; /// /// The time between waddle animation steps, in seconds. /// public float WaddleInterval = waddleInterval; }