var position = packet.ReadVector4(); Console.WriteLine($"X: {position.X}, Y: {position.Y}, Z: {position.Z}");
var color = packet.ReadVector4(); Console.WriteLine($"R: {color.X}, G: {color.Y}, B: {color.Z}, A: {color.W}");In this example, we are parsing a packet that contains a RGBA color value. The ReadVector4 method is used to extract the red, green, blue, and alpha components of the color and output them to the console. From these examples, we can determine that the ReadVector4 method belongs to the WowPacketParser.Misc packet library, which is used for parsing different types of packets in the World of Warcraft game.