Closed rdebath closed 2 years ago
Network/ClassicProtocol.cs(85,17): error CS0103: The name 'p' does not exist in the current context 4 Warning(s) 1 Error(s)
fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 82) #if TEN_BIT_BLOCKS fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 83) BlockID ReadBlock(byte[] buffer, int offset) { fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 84) BlockID block; fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 85) if (p.hasExtBlocks) { //<<*************************** fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 86) block = NetUtils.ReadU16(buffer, offset); fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 87) } else { fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 88) block = buffer[offset]; fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 89) } fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 90) fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 91) if (block > Block.MaxRaw) block = Block.MaxRaw; fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 92) return Block.FromRaw(block); fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 93) } fe0f7fc6f2 (UnknownShadow200 2022-01-06 21:29:02 +1100 94) #else
Resolved by a1071758a0c1646dd201da1b4093f100aa20648f, thanks