This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WowGuid guid; | |
| this.HaveAttackingTarget = Reader.UnalignedReadBit(); | |
| guid.Bytes[2] = Reader.UnalignedReadTinyInt(1); | |
| this.HaveVehicleData = Reader.UnalignedReadBit(); | |
| guid.Bytes[1] = Reader.UnalignedReadTinyInt(1); | |
| guid.Bytes[4] = Reader.UnalignedReadTinyInt(1); | |
| guid.Bytes[3] = Reader.UnalignedReadTinyInt(1); | |
| this.HaveTransportExtra = Reader.UnalignedReadBit(); | |
| this.HaveGameObjectPosition = Reader.UnalignedReadBit(); | |
| bool field_1C8 = Reader.UnalignedReadBit(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Windows.Threading; | |
| namespace Kamilla.WPF | |
| { | |
| /// <summary> | |
| /// Contains extension methods to the classes of the Windows Presentation Framework (WPF). | |
| /// </summary> | |
| public static class WpfExtensions | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Kamilla.Network.Protocols.Wow.Game; | |
| namespace Kamilla.Network.Protocols.Wow | |
| { | |
| public sealed class WowGuidSortedDictionary<T> : IDictionary<WowGuid, T> | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/framework/Utilities/UnorderedMapSet.h b/src/framework/Utilities/UnorderedMapSet.h | |
| index a50d7ec..d7adae2 100644 | |
| --- a/src/framework/Utilities/UnorderedMapSet.h | |
| +++ b/src/framework/Utilities/UnorderedMapSet.h | |
| @@ -31,6 +31,9 @@ | |
| #elif COMPILER == COMPILER_GNU && __GNUC__ >= 3 | |
| # include <ext/hash_map> | |
| # include <ext/hash_set> | |
| +#elif COMPILER == COMPILER_MICROSOFT && _MSC_VER >= 1700 // VC11.0 and later | |
| +# include <unordered_map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DELIMITER $$ | |
| DROP FUNCTION IF EXISTS int2le$$ | |
| CREATE FUNCTION int2le(src INT) | |
| RETURNS BINARY(4) | |
| BEGIN | |
| RETURN REVERSE(UNHEX(LPAD(HEX(src), 8, '0'))); | |
| END$$ | |
| DROP FUNCTION IF EXISTS convertField$$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void UpdateCheckedCategories() | |
| { | |
| this.ThreadSafeBegin(_ => | |
| { | |
| var checkedInfos = _.m_categories | |
| .Where(info => info.CheckBox.Visibility == Visibility.Visible) | |
| .Where(info => info.CheckBox.IsChecked == true); | |
| _.CategoriesExpanderHeader.Text = string.Join(", ", checkedInfos | |
| .Select(info => info.Privilege.ToString()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using DBFilesClient.NET; | |
| using System.IO; | |
| namespace EmoteFixGen | |
| { | |
| public class EmoteEntry |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
| <CodeSnippet Format="1.0.0"> | |
| <Header> | |
| <Title>INotifyPropertyChanged Property</Title> | |
| <Shortcut>propn</Shortcut> | |
| </Header> | |
| <Snippet> | |
| <Code Language="CSharp"> | |
| <![CDATA[#region $PropertyName$ property |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.ComponentModel; | |
| using System.Diagnostics.Contracts; | |
| using System.Runtime.InteropServices; | |
| using System.Windows; | |
| using System.Windows.Controls; | |
| using System.Windows.Input; | |
| using System.Windows.Interop; | |
| using System.Windows.Media; | |
| using LordJZ.WinAPI; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #pragma once | |
| #ifndef _a553_services_services_h | |
| #define _a553_services_services_h | |
| #include <a553/internals.h> | |
| #include <a553/compiler.h> | |
| #pragma region private details |