Hook() 공개 정적인 메소드

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
예제 #1
0
        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));
        }
예제 #2
0
 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));
 }
예제 #3
0
 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));
 }