Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add client chat sink #11

Open
F1F88 opened this issue Nov 17, 2024 · 2 comments
Open

[Feature Request] Add client chat sink #11

F1F88 opened this issue Nov 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@F1F88
Copy link
Owner

F1F88 commented Nov 17, 2024

如题,增加输出到玩家聊天框的 Sink。

实现方案参考: ClientConsoleSink

@F1F88 F1F88 self-assigned this Nov 17, 2024
@F1F88 F1F88 added the enhancement New feature or request label Nov 17, 2024
@F1F88 F1F88 unassigned F1F88 Nov 18, 2024
@F1F88
Copy link
Owner Author

F1F88 commented Nov 18, 2024

经过调研,SourceMod 没有像 ClientConsole 一样提供了一个简单的方法直接调用就可以输出到 Client 端,所以增加此功能可能需要引入 Metamod、SDK。
经过考虑后,认为此需求工作量不小,可能还会带来很多 BUG,所以搁置此需求,如果需求强烈的话再重新打开

@F1F88 F1F88 closed this as completed Nov 18, 2024
@F1F88 F1F88 self-assigned this Nov 20, 2024
@F1F88 F1F88 reopened this Nov 20, 2024
@F1F88
Copy link
Owner Author

F1F88 commented Nov 20, 2024

SMEXT_ENABLE_GAMEHELPERS 貌似有可用的接口实现输出消息到客户端聊天框。

也许还能借此改造 client_console_sink

@F1F88 F1F88 changed the title [Feat] Add client chat sink [Feature Request] Add client chat sink Nov 20, 2024
F1F88 added a commit that referenced this issue Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant