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
| [Flags] | |
| public enum MovementFlags : uint | |
| { | |
| None = 0x00000000, | |
| Forward = 0x00000001, | |
| Backward = 0x00000002, | |
| StrafeLeft = 0x00000004, | |
| StrafeRight = 0x00000008, | |
| TurnLeft = 0x00000010, | |
| TurnRight = 0x00000020, |
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 (var reader = new StreamReader("rfc.txt")) | |
| using (var writer = new StreamWriter("rfc.parsed")) | |
| { | |
| string pad = " "; | |
| string line; | |
| var builder = new StringBuilder(10240); | |
| string cmd = string.Empty; | |
| while ((line = reader.ReadLine()) != null) | |
| { | |
| if (line.Length > 0 && line[0] != ' ') |
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
| static readonly DateTime s_unixEpochReference = new DateTime(1970, 1, 1, 0, 0, 0, 0); | |
| /// <summary> | |
| /// Represents the beginning of the Unix Epoch in local time. | |
| /// </summary> | |
| public static readonly DateTime UnixEpoch = (0L).AsUnixTime(); | |
| /// <summary> | |
| /// Converts the number of seconds passed since UTC Unix Epoch to local time. | |
| /// </summary> |
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.Text; | |
| namespace Kamilla.WorldOfWarcraft.Latest.OpcodeDatas | |
| { | |
| public sealed class SetPhaseShift : PackedData | |
| { | |
| public readonly byte[][] Data = new byte[4][]; | |
| public WowGuid Guid; | |
| public uint Unk; |
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
| static Dictionary<string, string> s_opcodeAnalogues = new Dictionary<string, string> | |
| { | |
| { "MSG_MOVE_SET_RAW_POSITION_ACK", "CMSG_MOVE_CHARM_PORT_CHEAT" }, | |
| { "OBSOLETE_DROP_ITEM", "CMSG_UNCLAIM_LICENSE" }, | |
| { "SMSG_INSPECT", "SMSG_INSPECT_RESULTS_UPDATE" }, | |
| { "SMSG_EQUIPMENT_SET_SAVED", "SMSG_EQUIPMENT_SET_ID" }, | |
| { "CMSG_EQUIPMENT_SET_DELETE", "CMSG_DELETEEQUIPMENT_SET" }, | |
| { "CMSG_INSTANCE_LOCK_WARNING_RESPONSE", "CMSG_INSTANCE_LOCK_RESPONSE" }, | |
| { "CMSG_UNUSED2", "CMSG_DEBUG_PASSIVE_AURA" }, | |
| { "SMSG_INSTANCE_LOCK_WARNING_QUERY", "SMSG_PENDING_RAID_LOCK" }, |
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.Linq; | |
| namespace Kamilla.WorldOfWarcraft.Latest.OpcodeDatas | |
| { | |
| public abstract class PackedData : OpcodeData | |
| { | |
| protected virtual bool IsMaskSequenceSwapped { get { return true; } } | |
| protected abstract int[] MaskSequence { get; } |
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; | |
| namespace Kamilla.WorldOfWarcraft.Latest.OpcodeDatas | |
| { | |
| public abstract class LazyOpcodeData : OpcodeData | |
| { | |
| protected Action[] m_readers; | |
| protected StreamHandler Reader; | |
| private byte m_readLevel = 0; |
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.IO; | |
| using System.Linq; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using Microsoft.Xna.Framework; | |
| namespace Kamilla | |
| { |
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 Kamilla.WorldOfWarcraft.Latest.OpcodeDatas; | |
| using Microsoft.Xna.Framework; | |
| namespace Kamilla.WorldOfWarcraft.Latest.Parsers.Lobby | |
| { | |
| [WowPacketParser(WowOpcodes.SMSG_ENUM_CHARACTERS_RESULT)] | |
| internal sealed class CharEnumParser : WowPacketParser | |
| { | |
| protected unsafe override void Parse() |
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
| Created Objects: 9 | |
| ________________________________________ | |
| (DynamicObject, Counter: 198306) Type: DynamicObject | |
| Movement: Flags: None | |
| Position: {X:3856,047 Y:929,2022 Z:55,88532} | |
| OBJECT_FIELD_GUID = (DynamicObject, Counter: 198306) | |
| OBJECT_FIELD_TYPE = 65 0 | |
| OBJECT_FIELD_ENTRY = 43265 | |
| OBJECT_FIELD_SCALE_X = 1.0000 |