コード例 #1
0
        private static bool OnPacketSend(ref byte[] data, ref int length)
        {
            bool filter = false;

            if (CommandsManager.IsSpeechPacket(data[0]))
            {
                filter = CommandsManager.CheckCommand(data, length);
            }

            if (_outgoingPacketFilter.MatchFilterAll(data, out PacketFilterInfo[] pfis) > 0)