File tree Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Expand file tree Collapse file tree 1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 1- # Source2Framework.ChatService
1+ # Source2Framework.ChatService
2+
3+ ``` csharp
4+ public interface IChatService : ISharedService
5+ {
6+ public delegate HookResult OnPlayerSayEvent (CCSPlayerController player , CommandInfo info , ref string message );
7+
8+ public event OnPlayerSayEvent ? OnPlayerSayPre ;
9+
10+ public event OnPlayerSayEvent ? OnPlayerSay ;
11+
12+ public event OnPlayerSayEvent ? OnPlayerSayPost ;
13+
14+ public delegate HookResult OnPlayerSayTeamEvent (CCSPlayerController player , CommandInfo info , ref string message );
15+
16+ public event OnPlayerSayEvent ? OnPlayerSayTeamPre ;
17+
18+ public event OnPlayerSayEvent ? OnPlayerSayTeam ;
19+
20+ public event OnPlayerSayEvent ? OnPlayerSayTeamPost ;
21+
22+ public string GetPrefix ();
23+
24+ public void PrintToChat (CCSPlayerController player , string message );
25+
26+ public void PrintToChatAll (string message , Func <CCSPlayerController , bool >? predicate = null );
27+
28+ public void PrintToTeam (string message , CsTeam team );
29+ }
30+ ```
You can’t perform that action at this time.
0 commit comments