@@ -7,13 +7,13 @@ namespace Content.Shared.Chat.TypingIndicator;
|
|||||||
/// Show typing indicator icon when player typing text in chat box.
|
/// Show typing indicator icon when player typing text in chat box.
|
||||||
/// Added automatically when player poses entity.
|
/// Added automatically when player poses entity.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[RegisterComponent, NetworkedComponent]
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||||
[Access(typeof(SharedTypingIndicatorSystem))]
|
[Access(typeof(SharedTypingIndicatorSystem))]
|
||||||
public sealed partial class TypingIndicatorComponent : Component
|
public sealed partial class TypingIndicatorComponent : Component
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype id that store all visual info about typing indicator.
|
/// Prototype id that store all visual info about typing indicator.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("proto")]
|
[DataField("proto"), AutoNetworkedField]
|
||||||
public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
|
public ProtoId<TypingIndicatorPrototype> TypingIndicatorPrototype = "default";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,6 +81,7 @@
|
|||||||
horizontalRotation: 90
|
horizontalRotation: 90
|
||||||
- type: HumanoidAppearance
|
- type: HumanoidAppearance
|
||||||
species: Human
|
species: Human
|
||||||
|
- type: TypingIndicator
|
||||||
- type: SlowOnDamage
|
- type: SlowOnDamage
|
||||||
speedModifierThresholds:
|
speedModifierThresholds:
|
||||||
60: 0.7
|
60: 0.7
|
||||||
|
|||||||
Reference in New Issue
Block a user