public static Hook ( ClientInfo _cInfo, string _message, string _playerName, string _secondaryName, bool _localizeSecondary ) : bool | ||
_cInfo | ClientInfo | |
_message | string | |
_playerName | string | |
_secondaryName | string | |
_localizeSecondary | bool | |
리턴 | bool |
public bool ChatMessage(ClientInfo _cInfo, EChatType _type, int _senderId, string _msg, string _mainName, bool _localizeMain, List <int> _recipientEntityIds) { // ModChallenge fix- if (_msg.StartsWith("/challenge") || _msg.StartsWith("/Challenge")) { return(false); } //- return(ChatHook.Hook(_cInfo, _type, _senderId, _msg, _mainName, _localizeMain, _recipientEntityIds)); }
public bool ChatMessage(ClientInfo _cInfo, EChatType _type, int _senderId, string _msg, string _mainName, bool _localizeMain, List <int> _recipientEntityIds) { return(ChatHook.Hook(_cInfo, _type, _senderId, _msg, _mainName, _localizeMain, _recipientEntityIds)); }
public override bool ChatMessage(ClientInfo _cInfo, EnumGameMessages _type, string _message, string _playerName, bool _localizeMain, string _secondaryName, bool _localizeSecondary) { return(ChatHook.Hook(_cInfo, _message, _playerName, _secondaryName, _localizeSecondary)); }