public PlayerInfo(byte[] playerInfoData) { BitStream bitStream = new BitStream(playerInfoData); this.Version = bitStream.ReadBigEndianInt64(); this.XUID = bitStream.ReadBigEndianInt64(); this.Name = bitStream.ReadString(128); this.UserID = bitStream.ReadBigEndianInt32(); this.GUID = bitStream.ReadString(33); this.FriendsID = bitStream.ReadBigEndianInt32(); this.FriendsName = bitStream.ReadString(128); this.IsFakePlayer = bitStream.ReadBool(); this.IsHLTV = bitStream.ReadBool(); this.CustomFileCRCs = new int[4]; for (int i = 0; i < CustomFileCRCs.Length; i++) { this.CustomFileCRCs[i] = bitStream.ReadInt32(); } this.FilesDownloaded = bitStream.ReadChar(); }