@@ -66,7 +66,7 @@ public partial class ChatSystem
|
|||||||
{
|
{
|
||||||
if (!_prototypeManager.TryIndex<EmotePrototype>(emoteId, out var proto))
|
if (!_prototypeManager.TryIndex<EmotePrototype>(emoteId, out var proto))
|
||||||
return;
|
return;
|
||||||
TryEmoteWithChat(source, proto, range, hideLog, nameOverride, ignoreActionBlocker);
|
TryEmoteWithChat(source, proto, range, hideLog: hideLog, nameOverride, ignoreActionBlocker: ignoreActionBlocker);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -92,7 +92,7 @@ public partial class ChatSystem
|
|||||||
{
|
{
|
||||||
// not all emotes are loc'd, but for the ones that are we pass in entity
|
// not all emotes are loc'd, but for the ones that are we pass in entity
|
||||||
var action = Loc.GetString(_random.Pick(emote.ChatMessages), ("entity", source));
|
var action = Loc.GetString(_random.Pick(emote.ChatMessages), ("entity", source));
|
||||||
SendEntityEmote(source, action, range, nameOverride, false, hideLog, ignoreActionBlocker);
|
SendEntityEmote(source, action, range, nameOverride, hideLog: hideLog, ignoreActionBlocker: ignoreActionBlocker);
|
||||||
}
|
}
|
||||||
|
|
||||||
// do the rest of emote event logic here
|
// do the rest of emote event logic here
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ public sealed partial class ChatSystem : SharedChatSystem
|
|||||||
SendEntityWhisper(source, message, range, null, nameOverride, hideLog, ignoreActionBlocker);
|
SendEntityWhisper(source, message, range, null, nameOverride, hideLog, ignoreActionBlocker);
|
||||||
break;
|
break;
|
||||||
case InGameICChatType.Emote:
|
case InGameICChatType.Emote:
|
||||||
SendEntityEmote(source, message, range, nameOverride, hideLog, ignoreActionBlocker);
|
SendEntityEmote(source, message, range, nameOverride, hideLog: hideLog, ignoreActionBlocker: ignoreActionBlocker);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user