void IProtocolToken.Read(UdpPacket packet) { this.Parent = packet.ReadBoltEntity(); this.Architects = new CoopConstructionExToken.ArchitectData[packet.ReadInt()]; for (int i = 0; i < this.Architects.Length; i++) { this.Architects[i].PointsCount = packet.ReadInt(); this.Architects[i].PointsPositions = new Vector3[packet.ReadInt()]; this.Architects[i].CustomToken = packet.ReadToken(); this.Architects[i].AboveGround = packet.ReadBool(); this.Architects[i].Support = packet.ReadBoltEntity(); for (int j = 0; j < this.Architects[i].PointsPositions.Length; j++) { this.Architects[i].PointsPositions[j] = packet.ReadVector3(); } } }